Use 'goto_if_eq VAR, value, Script' syntax

This commit is contained in:
GriffinR
2022-08-09 20:40:03 -04:00
parent 60fc8c5e22
commit f113da30ad
171 changed files with 1992 additions and 3453 deletions
+2 -4
View File
@@ -21,8 +21,7 @@ EventScript_TransferredToPC::
EventScript_TransferredSomeonesPC::
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
compare VAR_RESULT, TRUE
goto_if_eq EventScript_TransferredSomeonesPCBoxFull
goto_if_eq VAR_RESULT, TRUE, EventScript_TransferredSomeonesPCBoxFull
msgbox Text_MonSentToBoxInSomeonesPC
return
@@ -34,8 +33,7 @@ EventScript_TransferredSomeonesPCBoxFull::
EventScript_TransferredBillsPC::
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
compare VAR_RESULT, TRUE
goto_if_eq EventScript_TransferredBillsPCBoxFull
goto_if_eq VAR_RESULT, TRUE, EventScript_TransferredBillsPCBoxFull
msgbox Text_MonSentToBoxInBillsPC
return