summaryrefslogtreecommitdiff
path: root/data/maps/scripts/SkyPillar_Top.s
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/scripts/SkyPillar_Top.s')
-rw-r--r--data/maps/scripts/SkyPillar_Top.s29
1 files changed, 29 insertions, 0 deletions
diff --git a/data/maps/scripts/SkyPillar_Top.s b/data/maps/scripts/SkyPillar_Top.s
new file mode 100644
index 000000000..970725bf8
--- /dev/null
+++ b/data/maps/scripts/SkyPillar_Top.s
@@ -0,0 +1,29 @@
+SkyPillar_Top_MapScripts:: @ 815F302
+ map_script 5, SkyPillar_Top_MapScript1_15F308
+ .byte 0
+
+SkyPillar_Top_MapScript1_15F308:: @ 815F308
+ checkflag 2145
+ callif 1, SkyPillar_Top_EventScript_15F312
+ end
+
+SkyPillar_Top_EventScript_15F312:: @ 815F312
+ disappear LAST_TALKED
+ return
+
+SkyPillar_Top_EventScript_15F316:: @ 815F316
+ lock
+ faceplayer
+ setwildbattle SPECIES_RAYQUAZA, 70, ITEM_NONE
+ checksound
+ pokecry SPECIES_RAYQUAZA, 2
+ pause 40
+ waitpokecry
+ setflag 773
+ setflag 2145
+ special 312
+ waitstate
+ clearflag 2145
+ release
+ end
+