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
@@ -5,16 +5,16 @@ CeladonCity_Condominiums_1F_EventScript_16C321:: @ 816C321
lock
faceplayer
checkflag FLAG_0x2F8
goto_if 1, EventScript_16C36A
goto_if_eq EventScript_16C36A
checkflag FLAG_0x82C
goto_if 1, EventScript_16C374
goto_if_eq EventScript_16C374
checkflag FLAG_0x2A6
goto_if 1, EventScript_16C36A
goto_if_eq EventScript_16C36A
msgbox gUnknown_81960C9
setflag FLAG_0x2A6
giveitem ITEM_TEA
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_1A6BF9
goto_if_eq EventScript_1A6BF9
msgbox gUnknown_8196109
release
end