summaryrefslogtreecommitdiff
path: root/data/scripts/maps/FortreeCity.inc
blob: 7f9d5ae122db172d2cdf71f17001c525b3cce279 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
FortreeCity_MapScripts:: @ 814C943
	map_script 3, FortreeCity_MapScript1_14C94E
	map_script 5, FortreeCity_MapScript1_14C952
	.byte 0

FortreeCity_MapScript1_14C94E:: @ 814C94E
	setflag 2074
	end

FortreeCity_MapScript1_14C952:: @ 814C952
	tileeffect 2
	end

FortreeCity_EventScript_14C955:: @ 814C955
	msgbox FortreeCity_Text_167577, 2
	end

FortreeCity_EventScript_14C95E:: @ 814C95E
	lock
	faceplayer
	checkflag 295
	jumpeq FortreeCity_EventScript_14C973
	msgbox FortreeCity_Text_1675C2, 4
	release
	end

FortreeCity_EventScript_14C973:: @ 814C973
	msgbox FortreeCity_Text_167642, 4
	release
	end

FortreeCity_EventScript_14C97D:: @ 814C97D
	msgbox FortreeCity_Text_16768A, 2
	end

FortreeCity_EventScript_14C986:: @ 814C986
	msgbox FortreeCity_Text_16770E, 2
	end

FortreeCity_EventScript_14C98F:: @ 814C98F
	msgbox FortreeCity_Text_1677BD, 2
	end

FortreeCity_EventScript_14C998:: @ 814C998
	msgbox FortreeCity_Text_16782C, 2
	end

FortreeCity_EventScript_14C9A1:: @ 814C9A1
	msgbox FortreeCity_Text_16792F, 3
	end

FortreeCity_EventScript_14C9AA:: @ 814C9AA
	msgbox FortreeCity_Text_167969, 3
	end

FortreeCity_EventScript_14C9B3:: @ 814C9B3
	lock
	faceplayer
	checkitem ITEM_DEVON_SCOPE, 1
	compare RESULT, 1
	jumpeq FortreeCity_EventScript_14C9CF
	msgbox FortreeCity_Text_167868, 4
	release
	end

FortreeCity_EventScript_14C9CF:: @ 814C9CF
	msgbox FortreeCity_Text_16788B, 5
	compare RESULT, 1
	jumpeq FortreeCity_EventScript_14C9E4
	release
	end

FortreeCity_EventScript_14C9E4:: @ 814C9E4
	msgbox FortreeCity_Text_1678CB, 4
	closebutton
	move LAST_TALKED, FortreeCity_Movement_1A0662
	waitmove 0
	checksound
	pokecry SPECIES_KECLEON, 2
	pause 40
	waitpokecry
	move LAST_TALKED, FortreeCity_Movement_14CA13
	waitmove 0
	disappear LAST_TALKED
	setflag 295
	release
	end

FortreeCity_Movement_14CA13:: @ 814CA13
	step_right
	step_end