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/Route1/scripts.inc | |
parent | 006881415d315e34876f4d4f3060aca4dcf8e98d (diff) |
goto_if_eq and switch/case in scripts
Diffstat (limited to 'data/maps/Route1/scripts.inc')
-rw-r--r-- | data/maps/Route1/scripts.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/Route1/scripts.inc b/data/maps/Route1/scripts.inc index 7c1e41e8c..16bd02597 100644 --- a/data/maps/Route1/scripts.inc +++ b/data/maps/Route1/scripts.inc @@ -5,12 +5,12 @@ Route1_EventScript_167EFE:: @ 8167EFE lock faceplayer checkflag FLAG_0x230 - goto_if 1, EventScript_167F48 + goto_if_eq EventScript_167F48 msgbox gUnknown_818329D textcolor 3 checkitemspace ITEM_POTION, 1 compare_var_to_value VAR_RESULT, 0 - goto_if 1, EventScript_1A6BF9 + goto_if_eq EventScript_1A6BF9 getitemname 1, ITEM_POTION playfanfare MUS_FANFA1 message Text_1A51F6 |