Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user