summaryrefslogtreecommitdiff
path: root/data/maps/OneIsland_Harbor/scripts.inc
blob: 75e74dad72f8f363462b4998c323eefaff661765 (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
OneIsland_Harbor_MapScripts:: @ 8171378
	map_script 4, OneIsland_Harbor_MapScript1_171383
	map_script 2, OneIsland_Harbor_MapScript2_171392
	.byte 0

OneIsland_Harbor_MapScript1_171383:: @ 8171383
	map_script_2 VAR_MAP_SCENE_ONE_ISLAND_HARBOR, 1, EventScript_17138D
	.2byte 0

EventScript_17138D:: @ 817138D
	turnobject 255, 2
	end

OneIsland_Harbor_MapScript2_171392:: @ 8171392
	map_script_2 VAR_MAP_SCENE_ONE_ISLAND_HARBOR, 1, EventScript_17139C
	.2byte 0

EventScript_17139C:: @ 817139C
	lockall
	textcolor 0
	applymovement 255, Movement_1713B9
	waitmovement 0
	setvar VAR_MAP_SCENE_ONE_ISLAND_HARBOR, 2
	warp MAP_ONE_ISLAND, 255, 12, 18
	waitstate
	releaseall
	end

Movement_1713B9:: @ 81713B9
	step_11
	step_11
	step_11
	step_end

OneIsland_Harbor_EventScript_1713BD:: @ 81713BD
	lock
	faceplayer
	message Text_181726
	waitmessage
	setvar VAR_0x8004, SEAGALLOP_ONE_ISLAND
	goto EventScript_1A8EC5
	end