Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Pokémon hacking.
Acmlm's Board - I2 Archive - Pokémon hacking - Flags? | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
VS90'

Micro-Goomba
Level: 8

Posts: 15/17
EXP: 1506
For next: 681

Since: 07-28-04
From: palllino

Since last post: 102 days
Last activity: 6 days
Posted on 07-18-05 06:33 PM Link | Quote
Anybody explain me all the existing flags?
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

Posts: 1844/2481
EXP: 3008456
For next: 7355

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 07-18-05 10:06 PM Link | Quote
No can do. Most flags are plot-specific and there's a lot of those. Good luck identifying and documenting them.

A small number, however, are system-specific and can, for example, enable Safari Mode and determine pause-menu content. The latter have been #defined for you.
Thomas

Buzz Blob
Level: 26

Posts: 162/298
EXP: 98852
For next: 3423

Since: 10-29-04
From: United States

Since last post: 88 days
Last activity: 83 days
Posted on 07-19-05 03:36 AM Link | Quote
What are flags?
Totakeke

Red Tektite
Level: 13

Posts: 29/73
EXP: 10241
For next: 26

Since: 02-05-05
From: California

Since last post: 6 days
Last activity: 2 hours
Posted on 07-19-05 03:43 AM Link | Quote
"A variable or memory location that stores true-or-false, yes-or-no information"
Thomas

Buzz Blob
Level: 26

Posts: 164/298
EXP: 98852
For next: 3423

Since: 10-29-04
From: United States

Since last post: 88 days
Last activity: 83 days
Posted on 07-19-05 03:48 AM Link | Quote
What kind of things can you edit with flags?
Totakeke

Red Tektite
Level: 13

Posts: 30/73
EXP: 10241
For next: 26

Since: 02-05-05
From: California

Since last post: 6 days
Last activity: 2 hours
Posted on 07-19-05 04:15 AM Link | Quote
You use flags like a variable, except flags are always either 1 or 0 (Yes, or No).

Let's say that you want to check if the player has a specific badge (Yes, badges are checked through flags).

checkflag 0x800D 'Check the value of that badge (1 = set, 0 = not set)
compare LASTRESULT 0x1 'See if it's set.
if 0x1 goto 0x[random offset] 'if it IS set, go here.


(edited by Totakeke on 07-18-05 07:16 PM)
(edited by Totakeke on 07-18-05 07:16 PM)
(edited by Totakeke on 07-18-05 07:55 PM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Pokémon hacking - Flags? | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.006 seconds.