Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -20,8 +20,7 @@ SootopolisCity_PokemonCenter_1F_EventScript_Nurse::
|
||||
SootopolisCity_PokemonCenter_1F_EventScript_Gentleman::
|
||||
lock
|
||||
faceplayer
|
||||
compare VAR_SKY_PILLAR_STATE, 2
|
||||
goto_if_ge SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries
|
||||
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries
|
||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries
|
||||
msgbox SootopolisCity_PokemonCenter_1F_Text_EveryoneTakenRefuge, MSGBOX_DEFAULT
|
||||
release
|
||||
@@ -35,8 +34,7 @@ SootopolisCity_PokemonCenter_1F_EventScript_GentlemanNoLegendaries::
|
||||
SootopolisCity_PokemonCenter_1F_EventScript_Woman::
|
||||
lock
|
||||
faceplayer
|
||||
compare VAR_SKY_PILLAR_STATE, 2
|
||||
goto_if_ge SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries
|
||||
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries
|
||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_PokemonCenter_1F_EventScript_WomanNoLegendaries
|
||||
msgbox SootopolisCity_PokemonCenter_1F_Text_ArentPokemonOurFriends, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
Reference in New Issue
Block a user