summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SouthernIsland_Exterior.inc
blob: ab2a734604f56974660f58ed4a8a0512d0048ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
SouthernIsland_Exterior_MapScripts:: @ 8160AD6
	map_script 3, SouthernIsland_Exterior_MapScript1_160ADC
	.byte 0

SouthernIsland_Exterior_MapScript1_160ADC:: @ 8160ADC
	setflag FLAG_LANDMARK_SOUTHERN_ISLAND
	end

SouthernIsland_Exterior_EventScript_160AE0:: @ 8160AE0
	lock
	faceplayer
	msgbox SouthernIsland_Exterior_Text_1C5215, 5
	compare RESULT, 0
	goto_if_eq SouthernIsland_Exterior_EventScript_160B25
	msgbox SouthernIsland_Exterior_Text_1C5281, 4
	closemessage
	applymovement LAST_TALKED, SouthernIsland_Exterior_Movement_1A0845
	waitmovement 0
	delay 30
	hideobjectat 1, MAP_SOUTHERN_ISLAND_EXTERIOR
	setvar VAR_SPECIAL_4, 2
	call SouthernIsland_Exterior_EventScript_1A047C
	warp MAP_LILYCOVE_CITY_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
	applymovement 255, BattleTower_Outside_Movement_160B45
	waitmovement 0
	return

BattleTower_Outside_EventScript_160B3A:: @ 8160B3A
	applymovement 255, BattleTower_Outside_Movement_160B47
	waitmovement 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