summaryrefslogtreecommitdiff
path: root/data/maps/Route12/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route12/scripts.inc')
-rw-r--r--data/maps/Route12/scripts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/Route12/scripts.inc b/data/maps/Route12/scripts.inc
index 64fb7b75f..81be7952e 100644
--- a/data/maps/Route12/scripts.inc
+++ b/data/maps/Route12/scripts.inc
@@ -18,11 +18,11 @@ Route12_EventScript_168014:: @ 8168014
goto_if 0, EventScript_168099
special sub_8110AB4
compare_var_to_value VAR_RESULT, 2
- goto_if 1, EventScript_1A7AE0
+ goto_if_eq EventScript_1A7AE0
special sub_8112364
msgbox gUnknown_81853CC, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 0
- goto_if 1, EventScript_16808D
+ goto_if_eq EventScript_16808D
call EventScript_1A924B
setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
waitse
@@ -36,11 +36,11 @@ Route12_EventScript_168014:: @ 8168014
clearflag FLAG_0x807
specialvar VAR_RESULT, sub_80CA74C
compare_var_to_value VAR_RESULT, 1
- goto_if 1, EventScript_16808F
+ goto_if_eq EventScript_16808F
compare_var_to_value VAR_RESULT, 4
- goto_if 1, EventScript_16808F
+ goto_if_eq EventScript_16808F
compare_var_to_value VAR_RESULT, 5
- goto_if 1, EventScript_16808F
+ goto_if_eq EventScript_16808F
release
end