diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-05-16 13:30:03 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-05-16 13:30:03 -0400 |
commit | a2d1b854d678204929580b8d82e507f908261fc1 (patch) | |
tree | 36166505adf0b81d79f787c32250e0e3a1514944 /data/maps/Route24/scripts.inc | |
parent | 006881415d315e34876f4d4f3060aca4dcf8e98d (diff) |
goto_if_eq and switch/case in scripts
Diffstat (limited to 'data/maps/Route24/scripts.inc')
-rw-r--r-- | data/maps/Route24/scripts.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/Route24/scripts.inc b/data/maps/Route24/scripts.inc index 50497540d..91dfc90f0 100644 --- a/data/maps/Route24/scripts.inc +++ b/data/maps/Route24/scripts.inc @@ -5,11 +5,11 @@ Route24_EventScript_168620:: @ 8168620 lock faceplayer compare_var_to_value VAR_0x406B, 1 - goto_if 1, EventScript_168656 + goto_if_eq EventScript_168656 msgbox gUnknown_8188C3C checkitemspace ITEM_NUGGET, 1 compare_var_to_value VAR_RESULT, 0 - goto_if 1, EventScript_16864C + goto_if_eq EventScript_16864C call EventScript_1686B9 release end @@ -47,7 +47,7 @@ EventScript_168678:: @ 8168678 msgbox gUnknown_8188C3C checkitemspace ITEM_NUGGET, 1 compare_var_to_value VAR_RESULT, 0 - goto_if 1, EventScript_168713 + goto_if_eq EventScript_168713 call EventScript_1686B9 releaseall end |