summaryrefslogtreecommitdiff
path: root/data/scripts/maps/RusturfTunnel.inc
diff options
context:
space:
mode:
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 25913300c..cefb978fe 100644
--- a/data/scripts/maps/RusturfTunnel.inc
+++ b/data/scripts/maps/RusturfTunnel.inc
@@ -9,7 +9,7 @@ RusturfTunnel_MapScript2_22CE32: @ 822CE32
.2byte 0
RusturfTunnel_MapScript1_22CE44: @ 822CE44
- compare_var_to_value VAR_0x409A, 2
+ compare VAR_0x409A, 2
call_if 1, RusturfTunnel_EventScript_22CE50
end
@@ -51,35 +51,35 @@ RusturfTunnel_EventScript_22CE99:: @ 822CE99
RusturfTunnel_EventScript_22CEAE:: @ 822CEAE
lockall
- compare_var_to_value VAR_0x4001, 1
+ compare VAR_0x4001, 1
call_if 1, RusturfTunnel_EventScript_22CFA7
- compare_var_to_value VAR_0x4001, 2
+ compare VAR_0x4001, 2
call_if 1, RusturfTunnel_EventScript_22CFBC
- compare_var_to_value VAR_0x4001, 3
+ compare VAR_0x4001, 3
call_if 1, RusturfTunnel_EventScript_22CFC7
call RusturfTunnel_EventScript_22CFFF
msgbox RusturfTunnel_Text_22D65C, 4
- compare_var_to_value VAR_0x4001, 2
+ compare VAR_0x4001, 2
call_if 1, RusturfTunnel_EventScript_22CFC8
- compare_var_to_value VAR_0x4001, 3
+ compare VAR_0x4001, 3
call_if 1, RusturfTunnel_EventScript_22CFC8
giveitem_std ITEM_HM04
setflag FLAG_0x06A
msgbox RusturfTunnel_Text_22D6D2, 4
closemessage
- compare_var_to_value VAR_0x4001, 1
+ compare VAR_0x4001, 1
call_if 1, RusturfTunnel_EventScript_22CF5D
- compare_var_to_value VAR_0x4001, 2
+ compare VAR_0x4001, 2
call_if 1, RusturfTunnel_EventScript_22CF6F
- compare_var_to_value VAR_0x4001, 3
+ compare VAR_0x4001, 3
call_if 1, RusturfTunnel_EventScript_22CF8B
msgbox RusturfTunnel_Text_22D745, 4
closemessage
- compare_var_to_value VAR_0x4001, 1
+ compare VAR_0x4001, 1
call_if 1, RusturfTunnel_EventScript_22CFD4
- compare_var_to_value VAR_0x4001, 2
+ compare VAR_0x4001, 2
call_if 1, RusturfTunnel_EventScript_22CFE6
- compare_var_to_value VAR_0x4001, 3
+ compare VAR_0x4001, 3
call_if 1, RusturfTunnel_EventScript_22CFE6
call RusturfTunnel_EventScript_272216
releaseall