diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2019-10-20 20:38:23 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2019-10-20 20:38:23 -0400 |
commit | 6b503e306d73c749794cf7b61126287e3941f12f (patch) | |
tree | 9b171c8dec365e1805216aba593091039a248036 /data/maps/Route12/scripts.inc | |
parent | 2aeefdc5de73c630a79b183e7bc2a66ad48ed424 (diff) |
script switch/case; name script conditionals
Diffstat (limited to 'data/maps/Route12/scripts.inc')
-rw-r--r-- | data/maps/Route12/scripts.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/maps/Route12/scripts.inc b/data/maps/Route12/scripts.inc index d1640fd70..2ba49dc11 100644 --- a/data/maps/Route12/scripts.inc +++ b/data/maps/Route12/scripts.inc @@ -4,7 +4,7 @@ Route12_MapScripts:: @ 8168000 Route12_MapScript1_168006:: @ 8168006 checkflag FLAG_0x807 - call_if 1, EventScript_168010 + call_if eq, EventScript_168010 end EventScript_168010:: @ 8168010 @@ -15,7 +15,7 @@ Route12_EventScript_168014:: @ 8168014 lock faceplayer checkflag FLAG_GOT_POKE_FLUTE - goto_if 0, EventScript_168099 + goto_if lt, EventScript_168099 special sub_8110AB4 compare_var_to_value VAR_RESULT, 2 goto_if_eq EventScript_1A7AE0 |