Reformat compare + goto_if/call_if to single statements

This commit is contained in:
GriffinR committed 2021-11-18 23:06:51 -05:00
1 parent c57efdba5d
commit e66ea0cb99
293 files changed
+2990 -5978

No files matched your search

@@ -10,10 +10,8 @@ Route111_OldLadysRestStop_EventScript_OldLady::
lock
faceplayer
msgbox Route111_OldLadysRestStop_Text_RestUpHere, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route111_OldLadysRestStop_EventScript_Rest
compare VAR_RESULT, NO
goto_if_eq Route111_OldLadysRestStop_EventScript_DeclineRest
goto_if_eq VAR_RESULT, YES, Route111_OldLadysRestStop_EventScript_Rest
goto_if_eq VAR_RESULT, NO, Route111_OldLadysRestStop_EventScript_DeclineRest
end
Route111_OldLadysRestStop_EventScript_Rest::
@@ -21,10 +19,8 @@ Route111_OldLadysRestStop_EventScript_Rest::
closemessage
call Common_EventScript_OutOfCenterPartyHeal
msgbox Route111_OldLadysRestStop_Text_StillTiredTakeAnotherRest, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route111_OldLadysRestStop_EventScript_Rest
compare VAR_RESULT, NO
goto_if_eq Route111_OldLadysRestStop_EventScript_DeclineRest
goto_if_eq VAR_RESULT, YES, Route111_OldLadysRestStop_EventScript_Rest
goto_if_eq VAR_RESULT, NO, Route111_OldLadysRestStop_EventScript_DeclineRest
end
Route111_OldLadysRestStop_EventScript_DeclineRest::