summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route110_SeasideCyclingRoadSouthEntrance.inc
blob: 2f54753ab5e45cd187c46a1df1a18cb27ae127b0 (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
Route110_SeasideCyclingRoadSouthEntrance_MapScripts:: @ 816347E
	.byte 0

Route110_SeasideCyclingRoadSouthEntrance_EventScript_16347F:: @ 816347F
	lock
	faceplayer
	msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_19E326, 4
	release
	end

Route110_SeasideCyclingRoadSouthEntrance_EventScript_16348B:: @ 816348B
	lockall
	specialvar RESULT, GetPlayerAvatarBike
	compare RESULT, 0
	goto_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_1634A6
	setflag FLAG_SYS_CYCLING_ROAD
	setvar VAR_TEMP_1, 1
	releaseall
	end

Route110_SeasideCyclingRoadSouthEntrance_EventScript_1634A6:: @ 81634A6
	msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_19E3AD, 4
	closemessage
	applymovement 255, Route110_SeasideCyclingRoadSouthEntrance_Movement_1634BB
	waitmovement 0
	releaseall
	end

Route110_SeasideCyclingRoadSouthEntrance_Movement_1634BB:: @ 81634BB
	step_left
	step_end

Route110_SeasideCyclingRoadSouthEntrance_EventScript_1634BD:: @ 81634BD
	lockall
	clearflag FLAG_SYS_CYCLING_ROAD
	setvar VAR_TEMP_1, 0
	releaseall
	end