Use 'goto_if_eq VAR, value, Script' syntax

This commit is contained in:
GriffinR committed 2022-08-09 20:41:54 -04:00
1 parent 60fc8c5e22
commit f113da30ad
171 files changed
+1992 -3453

No files matched your search

+1 -2
View File
@@ -14,8 +14,7 @@ SafariZone_EventScript_Exit::
SafariZone_EventScript_RetirePrompt::
lockall
msgbox SafariZone_Text_WouldYouLikeToExit, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq SafariZone_EventScript_Retire
goto_if_eq VAR_RESULT, YES, SafariZone_EventScript_Retire
releaseall
end