summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SafariZone_Southeast.inc
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-12-22 12:36:12 -0600
committerMarcus Huderle <huderlem@gmail.com>2017-12-24 10:13:52 -0600
commit4b5ad9de049a63b101b2bf5f2f2cb92beb26e5fb (patch)
treeb885eb0ae66ea9d9af219bd588b8ccd96fe77f29 /data/scripts/maps/SafariZone_Southeast.inc
parent30c77aa4ca5502b07a9ccdf2012a7da265e8bffa (diff)
Name and use temp var constants
Diffstat (limited to 'data/scripts/maps/SafariZone_Southeast.inc')
-rw-r--r--data/scripts/maps/SafariZone_Southeast.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/scripts/maps/SafariZone_Southeast.inc b/data/scripts/maps/SafariZone_Southeast.inc
index 6d31cf981..d11fc16d3 100644
--- a/data/scripts/maps/SafariZone_Southeast.inc
+++ b/data/scripts/maps/SafariZone_Southeast.inc
@@ -9,7 +9,7 @@ SafariZone_Southeast_MapScript2_160041:: @ 8160041
SafariZone_Southeast_EventScript_16004B:: @ 816004B
lockall
- setvar 0x4001, 0
+ setvar VAR_TEMP_1, 0
applymovement 255, SafariZone_Southeast_Movement_160087
waitmovement 0
applymovement 1, SafariZone_Southeast_Movement_160089
@@ -52,7 +52,7 @@ SafariZone_Southeast_EventScript_16009E:: @ 816009E
SafariZone_Southeast_EventScript_1600A7:: @ 81600A7
lock
faceplayer
- compare 0x4001, 0
+ compare VAR_TEMP_1, 0
goto_if_eq SafariZone_Southeast_EventScript_1600D1
msgbox SafariZone_Southeast_Text_1C3A56, 5
compare RESULT, 1
@@ -62,7 +62,7 @@ SafariZone_Southeast_EventScript_1600A7:: @ 81600A7
end
SafariZone_Southeast_EventScript_1600D1:: @ 81600D1
- setvar 0x4001, 1
+ setvar VAR_TEMP_1, 1
msgbox SafariZone_Southeast_Text_1C3B2D, 4
release
end