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
+1 -2
View File
@@ -27,8 +27,7 @@ SixIsland_RuinValley_EventScript_DottedHoleDoor::
lockall
goto_if_set FLAG_USED_CUT_ON_RUIN_VALLEY_BRAILLE, SixIsland_RuinValley_EventScript_DottedHoleDoorOpen
msgbox SixIsland_RuinValley_Text_CheckDoorMoreThoroughly, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq SixIsland_RuinValley_EventScript_IgnoreDottedHoleDoor
goto_if_eq VAR_RESULT, NO, SixIsland_RuinValley_EventScript_IgnoreDottedHoleDoor
msgbox SixIsland_RuinValley_Text_SeveralDotsOnTheDoor
braillemessage Braille_Text_Cut
waitbuttonpress