User | Post |
Totakeke
Posts: 30/73 |
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. |
Thomas
Posts: 164/298 |
What kind of things can you edit with flags? |
Totakeke
Posts: 29/73 |
"A variable or memory location that stores true-or-false, yes-or-no information" |
Thomas
Posts: 162/298 |
What are flags? |
Kyoufu Kawa
Posts: 1844/2481 |
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. |
VS90'
Posts: 15/17 |
Anybody explain me all the existing flags? |