summaryrefslogtreecommitdiff
path: root/maps/EcruteakItemfinderHouse.asm
blob: 79054bd758fb42b3b59acf9f9faa79b3538cbe87 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
EcruteakItemfinderHouse_MapScriptHeader: ; 0x9a5f9
	; trigger count
	db 0

	; callback count
	db 0
; 0x9a5fb

CooltrainerMScript_0x9a5fb: ; 0x9a5fb
	faceplayer
	loadfont
	checkevent EVENT_GOT_ITEMFINDER
	iftrue UnknownScript_0x9a614
	2writetext UnknownText_0x9a63c
	yesorno
	iffalse UnknownScript_0x9a61a
	2writetext UnknownText_0x9a6b5
	keeptextopen
	verbosegiveitem ITEMFINDER, 1
	setevent EVENT_GOT_ITEMFINDER
UnknownScript_0x9a614: ; 0x9a614
	2writetext UnknownText_0x9a70e
	closetext
	loadmovesprites
	end
; 0x9a61a

UnknownScript_0x9a61a: ; 0x9a61a
	2writetext UnknownText_0x9a805
	closetext
	loadmovesprites
	end
; 0x9a620

PokedexScript_0x9a620: ; 0x9a620
	loadfont
	2writetext UnknownText_0x9a826
	yesorno
	iftrue UnknownScript_0x9a62a
	loadmovesprites
	end
; 0x9a62a

UnknownScript_0x9a62a: ; 0x9a62a
	2writetext UnknownText_0x9a84c
	yesorno
	iftrue UnknownScript_0x9a633
	loadmovesprites
	end
; 0x9a633

UnknownScript_0x9a633: ; 0x9a633
	2writetext UnknownText_0x9a902
	closetext
	loadmovesprites
	end
; 0x9a639

MapEcruteakItemfinderHouseSignpost0Script: ; 0x9a639
	jumpstd $000c
; 0x9a63c

UnknownText_0x9a63c: ; 0x9a63c
	text "Ah. You're on an"
	line "adventure with"
	cont "your #MON?"

	para "Well, what's an"
	line "adventure without"
	cont "treasure hunting?"

	para "Am I right, or am"
	line "I right?"
	done
; 0x9a6b5

UnknownText_0x9a6b5: ; 0x9a6b5
	text "Good! You under-"
	line "stand the true"

	para "spirit of adven-"
	line "ture."

	para "I like that! Take"
	line "this with you."
	done
; 0x9a70e

UnknownText_0x9a70e: ; 0x9a70e
	text "There are many"
	line "items lying about"

	para "that aren't ob-"
	line "vious."

	para "Use ITEMFINDER to"
	line "check if there is"

	para "an item on the"
	line "ground near you."

	para "It doesn't show"
	line "the exact spot,"

	para "so you'll have to"
	line "look yourself."

	para "Oh yeah--I heard"
	line "there are items"

	para "in ECRUTEAK's"
	line "BURNED TOWER."
	done
; 0x9a805

UnknownText_0x9a805: ; 0x9a805
	text "Oh… To each his"
	line "own, I suppose…"
	done
; 0x9a826

UnknownText_0x9a826: ; 0x9a826
	text "HISTORY OF"
	line "ECRUTEAK"

	para "Want to read it?"
	done
; 0x9a84c

UnknownText_0x9a84c: ; 0x9a84c
	text "In ECRUTEAK, there"
	line "were two towers."

	para "Each tower was the"
	line "roost of powerful"
	cont "flying #MON."

	para "But one of the"
	line "towers burned to"
	cont "the ground."

	para "The two #MON"
	line "haven't been seen"
	cont "since…"

	para "Keep reading?"
	done
; 0x9a902

UnknownText_0x9a902: ; 0x9a902
	text "ECRUTEAK was also"
	line "home to three"

	para "#MON that raced"
	line "around the town."

	para "They were said to"
	line "have been born of"

	para "water, lightning"
	line "and fire."

	para "But they could not"
	line "contain their"
	cont "excessive power."

	para "So they say the"
	line "three ran like the"

	para "wind off into the"
	line "grassland."
	done
; 0x9a9f5

EcruteakItemfinderHouse_MapEventHeader: ; 0x9a9f5
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $7, $3, 11, GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY
	warp_def $7, $4, 11, GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY

	; xy triggers
	db 0

	; signposts
	db 1
	signpost 1, 2, $0, MapEcruteakItemfinderHouseSignpost0Script

	; people-events
	db 2
	person_event SPRITE_COOLTRAINER_M, 7, 6, $6, $0, 255, 255, $80, 0, CooltrainerMScript_0x9a5fb, $ffff
	person_event SPRITE_POKEDEX, 7, 7, $1, $0, 255, 255, $0, 0, PokedexScript_0x9a620, $ffff
; 0x9aa24