goto_if_eq and switch/case in scripts

This commit is contained in:
PikalaxALT
2019-05-16 13:30:03 -04:00
parent 006881415d
commit a2d1b854d6
150 changed files with 999 additions and 1231 deletions
+2 -2
View File
@@ -1033,7 +1033,7 @@ PewterCity_EventScript_16607E:: @ 816607E
faceplayer
msgbox gUnknown_817E53E, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 1
goto_if 1, EventScript_166136
goto_if_eq EventScript_166136
msgbox gUnknown_817E589
closemessage
delay 10
@@ -1354,7 +1354,7 @@ PewterCity_EventScript_166244:: @ 8166244
faceplayer
msgbox gUnknown_817E602, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 1
goto_if 1, EventScript_166263
goto_if_eq EventScript_166263
msgbox gUnknown_817E644
release
end