summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SouthernIsland_Exterior.s
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/SouthernIsland_Exterior.s')
-rw-r--r--data/scripts/maps/SouthernIsland_Exterior.s54
1 files changed, 54 insertions, 0 deletions
diff --git a/data/scripts/maps/SouthernIsland_Exterior.s b/data/scripts/maps/SouthernIsland_Exterior.s
new file mode 100644
index 000000000..9723647cd
--- /dev/null
+++ b/data/scripts/maps/SouthernIsland_Exterior.s
@@ -0,0 +1,54 @@
+SouthernIsland_Exterior_MapScripts:: @ 8160AD6
+ map_script 3, SouthernIsland_Exterior_MapScript1_160ADC
+ .byte 0
+
+SouthernIsland_Exterior_MapScript1_160ADC:: @ 8160ADC
+ setflag 2121
+ end
+
+SouthernIsland_Exterior_EventScript_160AE0:: @ 8160AE0
+ lock
+ faceplayer
+ msgbox SouthernIsland_Exterior_Text_1C5215, 5
+ compare RESULT, 0
+ jumpeq SouthernIsland_Exterior_EventScript_160B25
+ msgbox SouthernIsland_Exterior_Text_1C5281, 4
+ closebutton
+ move LAST_TALKED, SouthernIsland_Exterior_Movement_1A0845
+ waitmove 0
+ pause 30
+ spriteinvisible 1, 26, 9
+ setvar 0x8004, 2
+ call SouthernIsland_Exterior_EventScript_1A047C
+ warp LilycoveCity_Harbor, 255, 8, 11
+ waitstate
+ release
+ end
+
+SouthernIsland_Exterior_EventScript_160B25:: @ 8160B25
+ msgbox SouthernIsland_Exterior_Text_1C52A6, 4
+ release
+ end
+
+BattleTower_Outside_EventScript_160B2F:: @ 8160B2F
+ move 255, BattleTower_Outside_Movement_160B45
+ waitmove 0
+ return
+
+BattleTower_Outside_EventScript_160B3A:: @ 8160B3A
+ move 255, BattleTower_Outside_Movement_160B47
+ waitmove 0
+ return
+
+BattleTower_Outside_Movement_160B45:: @ 8160B45
+ step_down
+ step_end
+
+BattleTower_Outside_Movement_160B47:: @ 8160B47
+ step_left
+ step_25
+ step_end
+
+SouthernIsland_Exterior_EventScript_160B4A:: @ 8160B4A
+ msgbox SouthernIsland_Exterior_Text_1C52FB, 3
+ end