Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -29,8 +29,7 @@ SootopolisCity_Mart_Pokemart:
|
||||
SootopolisCity_Mart_EventScript_FatMan::
|
||||
lock
|
||||
faceplayer
|
||||
compare VAR_SKY_PILLAR_STATE, 2
|
||||
goto_if_ge SootopolisCity_Mart_EventScript_FatManNoLegendaries
|
||||
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_Mart_EventScript_FatManNoLegendaries
|
||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_FatManNoLegendaries
|
||||
msgbox SootopolisCity_Mart_Text_TooScaryOutside, MSGBOX_DEFAULT
|
||||
release
|
||||
@@ -44,8 +43,7 @@ SootopolisCity_Mart_EventScript_FatManNoLegendaries::
|
||||
SootopolisCity_Mart_EventScript_Gentleman::
|
||||
lock
|
||||
faceplayer
|
||||
compare VAR_SKY_PILLAR_STATE, 2
|
||||
goto_if_ge SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
|
||||
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
|
||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
|
||||
msgbox SootopolisCity_Mart_Text_DidSomethingAwaken, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
Reference in New Issue
Block a user