summaryrefslogtreecommitdiff
path: root/data/scripts/maps/RusturfTunnel.inc
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-05-19 23:34:30 -0500
committerGitHub <noreply@github.com>2018-05-19 23:34:30 -0500
commitde60bdf2febff1879d7a1985a009dc439a546497 (patch)
tree3d62086af4f8fdd4d30154839be6e403f555ab9b /data/scripts/maps/RusturfTunnel.inc
parentecfe49ec6147fec75969b769605ec09b4a87c66a (diff)
parent0978cc60a11ba97061bf997b322eaf5a3d6a18f8 (diff)
Merge pull request #256 from DizzyEggg/decompile_field_tasks
Decompile field tasks
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