script switch/case; name script conditionals

This commit is contained in:
PikalaxALT
2019-10-20 20:38:23 -04:00
parent 2aeefdc5de
commit 6b503e306d
132 changed files with 1559 additions and 1789 deletions
@@ -31,7 +31,7 @@ Route16_NorthEntrance_2F_EventScript_1702E3:: @ 81702E3
getnumberstring 2, VAR_0x8006
call EventScript_17036F
compare_var_to_value VAR_0x8006, 40
goto_if 0, EventScript_1A7ABD
goto_if lt, EventScript_1A7ABD
msgbox gUnknown_819FC15
checkitemspace ITEM_AMULET_COIN, 1
compare_var_to_value VAR_RESULT, 0