summaryrefslogtreecommitdiff
path: root/data/scripts/maps/RusturfTunnel.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/RusturfTunnel.inc
parent86e7bf1fd61b151011038cdb281db3de0a1d9e6a (diff)
more script command renaming
Diffstat (limited to 'data/scripts/maps/RusturfTunnel.inc')
-rw-r--r--data/scripts/maps/RusturfTunnel.inc24
1 files changed, 12 insertions, 12 deletions
diff --git a/data/scripts/maps/RusturfTunnel.inc b/data/scripts/maps/RusturfTunnel.inc
index bcc612511..b4546e27a 100644
--- a/data/scripts/maps/RusturfTunnel.inc
+++ b/data/scripts/maps/RusturfTunnel.inc
@@ -10,7 +10,7 @@ RusturfTunnel_MapScript2_15C750:: @ 815C750
RusturfTunnel_MapScript1_15C762:: @ 815C762
call RusturfTunnel_EventScript_1A0196
- compare 0x409a, 2
+ compare_var_to_imm 0x409a, 2
call_if 1, RusturfTunnel_EventScript_15C773
end
@@ -52,35 +52,35 @@ RusturfTunnel_EventScript_15C7BC:: @ 815C7BC
RusturfTunnel_EventScript_15C7D1:: @ 815C7D1
lockall
- compare 0x4001, 1
+ compare_var_to_imm 0x4001, 1
call_if 1, RusturfTunnel_EventScript_15C8CA
- compare 0x4001, 2
+ compare_var_to_imm 0x4001, 2
call_if 1, RusturfTunnel_EventScript_15C8DF
- compare 0x4001, 3
+ compare_var_to_imm 0x4001, 3
call_if 1, RusturfTunnel_EventScript_15C8EA
call RusturfTunnel_EventScript_15C92D
msgbox RusturfTunnel_Text_19461D, 4
- compare 0x4001, 2
+ compare_var_to_imm 0x4001, 2
call_if 1, RusturfTunnel_EventScript_15C8EB
- compare 0x4001, 3
+ compare_var_to_imm 0x4001, 3
call_if 1, RusturfTunnel_EventScript_15C8EB
giveitem ITEM_HM04
setflag 106
msgbox RusturfTunnel_Text_194693, 4
closebutton
- compare 0x4001, 1
+ compare_var_to_imm 0x4001, 1
call_if 1, RusturfTunnel_EventScript_15C880
- compare 0x4001, 2
+ compare_var_to_imm 0x4001, 2
call_if 1, RusturfTunnel_EventScript_15C892
- compare 0x4001, 3
+ compare_var_to_imm 0x4001, 3
call_if 1, RusturfTunnel_EventScript_15C8AE
msgbox RusturfTunnel_Text_194706, 4
closebutton
- compare 0x4001, 1
+ compare_var_to_imm 0x4001, 1
call_if 1, RusturfTunnel_EventScript_15C8F7
- compare 0x4001, 2
+ compare_var_to_imm 0x4001, 2
call_if 1, RusturfTunnel_EventScript_15C909
- compare 0x4001, 3
+ compare_var_to_imm 0x4001, 3
call_if 1, RusturfTunnel_EventScript_15C91B
call RusturfTunnel_EventScript_1A0442
releaseall