summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SkyPillar_Top.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/SkyPillar_Top.inc')
-rw-r--r--data/scripts/maps/SkyPillar_Top.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/scripts/maps/SkyPillar_Top.inc b/data/scripts/maps/SkyPillar_Top.inc
index 1dee6e9c4..07a78d2c4 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 FLAG_SYS_CTRL_OBJ_DELETE
call_if 1, SkyPillar_Top_EventScript_15F312
end
@@ -16,13 +16,13 @@ SkyPillar_Top_EventScript_15F316:: @ 815F316
faceplayer
setwildbattle SPECIES_RAYQUAZA, 70, ITEM_NONE
waitse
- playpokecry SPECIES_RAYQUAZA, 2
+ playmoncry SPECIES_RAYQUAZA, 2
delay 40
- waitpokecry
- setflag 773
- setflag 2145
+ waitmoncry
+ setflag FLAG_HIDE_RAYQUAZA
+ setflag FLAG_SYS_CTRL_OBJ_DELETE
special ScrSpecial_StartRayquazaBattle
waitstate
- clearflag 2145
+ clearflag FLAG_SYS_CTRL_OBJ_DELETE
release
end