summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route113.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/Route113.inc')
-rw-r--r--data/scripts/maps/Route113.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/scripts/maps/Route113.inc b/data/scripts/maps/Route113.inc
index 67d28e6df..ae08ff5bb 100644
--- a/data/scripts/maps/Route113.inc
+++ b/data/scripts/maps/Route113.inc
@@ -14,9 +14,9 @@ Route113_MapScript1_1505DA:: @ 81505DA
Route113_EventScript_1505E5:: @ 81505E5
getplayerxy 0x4000, 0x4001
- compare 0x4000, 19
+ compare_var_to_imm 0x4000, 19
goto_if 0, Route113_EventScript_150604
- compare 0x4000, 84
+ compare_var_to_imm 0x4000, 84
goto_if 2, Route113_EventScript_150604
setweather 7
return
@@ -61,7 +61,7 @@ Route113_EventScript_150652:: @ 8150652
Route113_EventScript_150669:: @ 8150669
trainerbattle 0, OPPONENT_MADELINE_1, 0, Route113_Text_1BBB27, Route113_Text_1BBB7A
specialval RESULT, sub_8082C68
- compare RESULT, 1
+ compare_var_to_imm RESULT, 1
goto_if_eq Route113_EventScript_150690
msgbox Route113_Text_1BBB9A, 6
end
@@ -74,7 +74,7 @@ Route113_EventScript_150690:: @ 8150690
Route113_EventScript_1506A7:: @ 81506A7
trainerbattle 0, OPPONENT_LAO_1, 0, Route113_Text_1BBC59, Route113_Text_1BBC90
specialval RESULT, sub_8082C68
- compare RESULT, 1
+ compare_var_to_imm RESULT, 1
goto_if_eq Route113_EventScript_1506CE
msgbox Route113_Text_1BBCAB, 6
end