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

@@ -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::