summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SkyPillar_Top.inc
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-12-02 14:38:49 -0800
committerMarcus Huderle <huderlem@gmail.com>2017-12-02 14:38:49 -0800
commit79e3d29c29335d7e1fb8478b16d100b1844f2da4 (patch)
tree8bc428f307b41dfe69284b54bb072a98761b98c3 /data/scripts/maps/SkyPillar_Top.inc
parent765526b99f50bf6b8c41c69bd6b1dc82471cda2d (diff)
Use constants for all SYS flags
Diffstat (limited to 'data/scripts/maps/SkyPillar_Top.inc')
-rw-r--r--data/scripts/maps/SkyPillar_Top.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/scripts/maps/SkyPillar_Top.inc b/data/scripts/maps/SkyPillar_Top.inc
index 1dee6e9c4..f22055bc4 100644
--- a/data/scripts/maps/SkyPillar_Top.inc
+++ b/data/scripts/maps/SkyPillar_Top.inc
@@ -3,7 +3,7 @@ SkyPillar_Top_MapScripts:: @ 815F302
.byte 0
SkyPillar_Top_MapScript1_15F308:: @ 815F308
- checkflag 2145
+ checkflag SYS_CTRL_OBJ_DELETE
call_if 1, SkyPillar_Top_EventScript_15F312
end
@@ -20,9 +20,9 @@ SkyPillar_Top_EventScript_15F316:: @ 815F316
delay 40
waitpokecry
setflag 773
- setflag 2145
+ setflag SYS_CTRL_OBJ_DELETE
special ScrSpecial_StartRayquazaBattle
waitstate
- clearflag 2145
+ clearflag SYS_CTRL_OBJ_DELETE
release
end