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.inc28
1 files changed, 14 insertions, 14 deletions
diff --git a/data/scripts/maps/RusturfTunnel.inc b/data/scripts/maps/RusturfTunnel.inc
index e4e362234..52dca4c95 100644
--- a/data/scripts/maps/RusturfTunnel.inc
+++ b/data/scripts/maps/RusturfTunnel.inc
@@ -51,35 +51,35 @@ RusturfTunnel_EventScript_22CE99:: @ 822CE99
RusturfTunnel_EventScript_22CEAE:: @ 822CEAE
lockall
- compare VAR_0x4001, 1
+ compare VAR_TEMP_1, 1
call_if 1, RusturfTunnel_EventScript_22CFA7
- compare VAR_0x4001, 2
+ compare VAR_TEMP_1, 2
call_if 1, RusturfTunnel_EventScript_22CFBC
- compare VAR_0x4001, 3
+ compare VAR_TEMP_1, 3
call_if 1, RusturfTunnel_EventScript_22CFC7
call RusturfTunnel_EventScript_22CFFF
msgbox RusturfTunnel_Text_22D65C, 4
- compare VAR_0x4001, 2
+ compare VAR_TEMP_1, 2
call_if 1, RusturfTunnel_EventScript_22CFC8
- compare VAR_0x4001, 3
+ compare VAR_TEMP_1, 3
call_if 1, RusturfTunnel_EventScript_22CFC8
giveitem_std ITEM_HM04
setflag FLAG_0x06A
msgbox RusturfTunnel_Text_22D6D2, 4
closemessage
- compare VAR_0x4001, 1
+ compare VAR_TEMP_1, 1
call_if 1, RusturfTunnel_EventScript_22CF5D
- compare VAR_0x4001, 2
+ compare VAR_TEMP_1, 2
call_if 1, RusturfTunnel_EventScript_22CF6F
- compare VAR_0x4001, 3
+ compare VAR_TEMP_1, 3
call_if 1, RusturfTunnel_EventScript_22CF8B
msgbox RusturfTunnel_Text_22D745, 4
closemessage
- compare VAR_0x4001, 1
+ compare VAR_TEMP_1, 1
call_if 1, RusturfTunnel_EventScript_22CFD4
- compare VAR_0x4001, 2
+ compare VAR_TEMP_1, 2
call_if 1, RusturfTunnel_EventScript_22CFE6
- compare VAR_0x4001, 3
+ compare VAR_TEMP_1, 3
call_if 1, RusturfTunnel_EventScript_22CFE6
call RusturfTunnel_EventScript_272216
releaseall
@@ -268,15 +268,15 @@ RusturfTunnel_Movement_22D06C: @ 822D06C
step_end
RusturfTunnel_EventScript_22D071:: @ 822D071
- setvar VAR_0x4001, 1
+ setvar VAR_TEMP_1, 1
end
RusturfTunnel_EventScript_22D077:: @ 822D077
- setvar VAR_0x4001, 2
+ setvar VAR_TEMP_1, 2
end
RusturfTunnel_EventScript_22D07D:: @ 822D07D
- setvar VAR_0x4001, 3
+ setvar VAR_TEMP_1, 3
end
RusturfTunnel_EventScript_22D083:: @ 822D083