diff options
| author | PikalaxALT <PikalaxALT@gmail.com> | 2019-10-20 21:24:16 -0400 |
|---|---|---|
| committer | PikalaxALT <PikalaxALT@gmail.com> | 2019-10-20 21:24:16 -0400 |
| commit | 9aa5709329f4cbd497d0f21af10218f8a7547151 (patch) | |
| tree | cfab322854a597cbbe794ed6260303d29d167f87 /data/maps/PokemonLeague_ChampionsRoom/scripts.inc | |
| parent | 6b503e306d73c749794cf7b61126287e3941f12f (diff) | |
use TRUE and FALSE for flag conditionals; more story flags
Diffstat (limited to 'data/maps/PokemonLeague_ChampionsRoom/scripts.inc')
| -rw-r--r-- | data/maps/PokemonLeague_ChampionsRoom/scripts.inc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/data/maps/PokemonLeague_ChampionsRoom/scripts.inc b/data/maps/PokemonLeague_ChampionsRoom/scripts.inc index 61e86d7c7..11d9cefb9 100644 --- a/data/maps/PokemonLeague_ChampionsRoom/scripts.inc +++ b/data/maps/PokemonLeague_ChampionsRoom/scripts.inc @@ -17,23 +17,23 @@ PokemonLeague_ChampionsRoom_MapScript2_162AF2:: @ 8162AF2 EventScript_162B1E:: @ 8162B1E checktrainerflag TRAINER_CHAMPION_TERRY - goto_if_eq EventScript_162B57 + goto_if eq, EventScript_162B57 checktrainerflag TRAINER_CHAMPION_TERRY_4 - goto_if_eq EventScript_162B57 + goto_if eq, EventScript_162B57 return EventScript_162B31:: @ 8162B31 checktrainerflag TRAINER_CHAMPION_TERRY_2 - goto_if_eq EventScript_162B57 + goto_if eq, EventScript_162B57 checktrainerflag TRAINER_CHAMPION_TERRY_5 - goto_if_eq EventScript_162B57 + goto_if eq, EventScript_162B57 return EventScript_162B44:: @ 8162B44 checktrainerflag TRAINER_CHAMPION_TERRY_3 - goto_if_eq EventScript_162B57 + goto_if eq, EventScript_162B57 checktrainerflag TRAINER_CHAMPION_TERRY_6 - goto_if_eq EventScript_162B57 + goto_if eq, EventScript_162B57 return EventScript_162B57:: @ 8162B57 @@ -60,19 +60,19 @@ EventScript_162B76:: @ 8162B76 waitmovement 0 delay 20 checkflag FLAG_SYS_GAME_CLEAR - call_if lt, EventScript_162CB3 + call_if FALSE, EventScript_162CB3 checkflag FLAG_SYS_GAME_CLEAR - call_if eq, EventScript_162CBC + call_if TRUE, EventScript_162CBC special sub_8110AB4 compare_var_to_value VAR_RESULT, 2 - goto_if_eq EventScript_162C68 + goto_if eq, EventScript_162C68 setflag FLAG_TEMP_3 setflag FLAG_TEMP_5 savebgm MUS_WIN_GYM checkflag FLAG_0x844 - call_if lt, EventScript_162C6F + call_if FALSE, EventScript_162C6F checkflag FLAG_0x844 - call_if eq, EventScript_162C91 + call_if TRUE, EventScript_162C91 setflag FLAG_TEMP_4 clearflag FLAG_TEMP_5 setflag FLAG_DEFEATED_CHAMP |
