improve call_if macros

This commit is contained in:
Melody
2018-12-21 21:32:45 -05:00
parent ac2e4adf2d
commit 55005f1588
175 changed files with 1245 additions and 1400 deletions
@@ -6,8 +6,7 @@ EverGrandeCity_PokemonLeague_1F_MapScripts:: @ 82295D2
EverGrandeCity_PokemonLeague_1F_MapScript1_2295DD: @ 82295DD
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_2
setflag FLAG_LANDMARK_POKEMON_LEAGUE
checkflag FLAG_0x107
call_if 0, EverGrandeCity_PokemonLeague_1F_EventScript_2295ED
call_if_unset FLAG_0x107, EverGrandeCity_PokemonLeague_1F_EventScript_2295ED
end
EverGrandeCity_PokemonLeague_1F_EventScript_2295ED:: @ 82295ED
@@ -51,9 +50,9 @@ EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
goto_if_set FLAG_0x107, EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_0, 11
call_if 4, EverGrandeCity_PokemonLeague_1F_EventScript_229698
call_if_ge EverGrandeCity_PokemonLeague_1F_EventScript_229698
compare VAR_TEMP_0, 8
call_if 3, EverGrandeCity_PokemonLeague_1F_EventScript_2296A3
call_if_le EverGrandeCity_PokemonLeague_1F_EventScript_2296A3
message EverGrandeCity_PokemonLeague_1F_Text_2296E8
waitmessage
delay 120