summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route123.inc
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2017-09-24 17:10:51 -0500
committercamthesaxman <cameronghall@cox.net>2017-09-24 17:10:51 -0500
commit1e2601a0287fdacfb8f0d680fbe82a274414ea65 (patch)
tree75243530e4250a4ff2caf75368cd53d34f4e0a99 /data/scripts/maps/Route123.inc
parent86e7bf1fd61b151011038cdb281db3de0a1d9e6a (diff)
more script command renaming
Diffstat (limited to 'data/scripts/maps/Route123.inc')
-rw-r--r--data/scripts/maps/Route123.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/scripts/maps/Route123.inc b/data/scripts/maps/Route123.inc
index 395eaa7c3..f4ba11b0d 100644
--- a/data/scripts/maps/Route123.inc
+++ b/data/scripts/maps/Route123.inc
@@ -13,11 +13,11 @@ Route123_EventScript_151C5D:: @ 8151C5D
goto_if_eq Route123_EventScript_151CAC
msgbox Route123_Text_171D83, 4
special IsGrassTypeInParty
- compare RESULT, 0
+ compare_var_to_imm RESULT, 0
goto_if_eq Route123_EventScript_151CAA
msgbox Route123_Text_171DC2, 4
giveitem ITEM_TM19
- compare RESULT, 0
+ compare_var_to_imm RESULT, 0
goto_if_eq Route123_EventScript_1A029B
setflag 232
msgbox Route123_Text_171E34, 4
@@ -63,7 +63,7 @@ Route123_EventScript_151CFF:: @ 8151CFF
Route123_EventScript_151D16:: @ 8151D16
trainerbattle 0, OPPONENT_CAMERON_1, 0, Route123_Text_1C013F, Route123_Text_1C01A3
specialval RESULT, sub_8082C68
- compare RESULT, 1
+ compare_var_to_imm RESULT, 1
goto_if_eq Route123_EventScript_151D3D
msgbox Route123_Text_1C01B1, 6
end
@@ -76,7 +76,7 @@ Route123_EventScript_151D3D:: @ 8151D3D
Route123_EventScript_151D54:: @ 8151D54
trainerbattle 0, OPPONENT_JACKI_1, 0, Route123_Text_1C028C, Route123_Text_1C0303
specialval RESULT, sub_8082C68
- compare RESULT, 1
+ compare_var_to_imm RESULT, 1
goto_if_eq Route123_EventScript_151D7B
msgbox Route123_Text_1C030F, 6
end