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
@@ -5,11 +5,11 @@ SaffronCity_House3_EventScript_16F05F:: @ 816F05F
lock
faceplayer
checkflag FLAG_0x245
goto_if 1, EventScript_16F0B5
goto_if_eq EventScript_16F0B5
msgbox gUnknown_819C142
checkitemspace ITEM_TM29, 1
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_16F0AB
goto_if_eq EventScript_16F0AB
additem ITEM_TM29, 1
giveitemfanfaremsg gUnknown_819C16C, ITEM_TM29
msgbox gUnknown_819C18F