use TRUE and FALSE for flag conditionals; more story flags

This commit is contained in:
PikalaxALT
2019-10-20 21:24:16 -04:00
parent 6b503e306d
commit 9aa5709329
166 changed files with 1167 additions and 1165 deletions
@@ -14,7 +14,7 @@ PokemonLeague_LancesRoom_MapScript2_16294D:: @ 816294D
compare_var_to_value VAR_MAP_SCENE_POKEMON_LEAGUE, 4
call_if eq, EventScript_162962
checkflag FLAG_DEFEATED_LANCE
call_if eq, EventScript_162968
call_if TRUE, EventScript_162968
end
EventScript_162962:: @ 8162962
@@ -103,19 +103,19 @@ PokemonLeague_LancesRoom_EventScript_162A14:: @ 8162A14
faceplayer
famechecker FAMECHECKER_LANCE, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
checkflag FLAG_DEFEATED_LANCE
goto_if_eq EventScript_162AA1
goto_if TRUE, EventScript_162AA1
famechecker FAMECHECKER_LANCE, 0
famechecker FAMECHECKER_LANCE, 1
checkflag FLAG_SYS_GAME_CLEAR
call_if lt, EventScript_162A79
call_if FALSE, EventScript_162A79
checkflag FLAG_SYS_GAME_CLEAR
call_if eq, EventScript_162A82
call_if TRUE, EventScript_162A82
setflag FLAG_TEMP_3
setflag FLAG_TEMP_5
checkflag FLAG_0x844
call_if lt, EventScript_162A8B
call_if FALSE, EventScript_162A8B
checkflag FLAG_0x844
call_if eq, EventScript_162A96
call_if TRUE, EventScript_162A96
clearflag FLAG_TEMP_5
goto EventScript_162AAB