Reformat compare + goto_if/call_if to single statements

This commit is contained in:
GriffinR
2021-11-18 23:06:30 -05:00
parent c57efdba5d
commit e66ea0cb99
293 changed files with 2990 additions and 5978 deletions

View File

@@ -6,8 +6,7 @@ MossdeepCity_House3_EventScript_SuperRodFisherman::
faceplayer
goto_if_set FLAG_RECEIVED_SUPER_ROD, MossdeepCity_House3_EventScript_ReceivedSuperRod
msgbox MossdeepCity_House3_Text_YouWantSuperRod, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq MossdeepCity_House3_EventScript_DeclineSuperRod
goto_if_eq VAR_RESULT, NO, MossdeepCity_House3_EventScript_DeclineSuperRod
msgbox MossdeepCity_House3_Text_SuperRodIsSuper, MSGBOX_DEFAULT
giveitem ITEM_SUPER_ROD
setflag FLAG_RECEIVED_SUPER_ROD