summaryrefslogtreecommitdiff
path: root/maps/Route19.asm
blob: 6500df84b00eceff6a8d0382dd9aeff383f3debd (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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
Route19_MapScriptHeader: ; 0x19e9d9
	; trigger count
	db 0

	; callback count
	db 1

	; callbacks

	dbw 1, UnknownScript_0x19e9de
; 0x19e9de

UnknownScript_0x19e9de: ; 0x19e9de
	checkevent $00d7
	iftrue UnknownScript_0x19e9fc
	changeblock $6, $6, $7a
	changeblock $8, $6, $7a
	changeblock $a, $6, $7a
	changeblock $c, $8, $7a
	changeblock $4, $8, $7a
	changeblock $a, $a, $7a
UnknownScript_0x19e9fc: ; 0x19e9fc
	return
; 0x19e9fd

TrainerSwimmerfDawn: ; 0x19e9fd
	; bit/flag number
	dw $3f3

	; trainer group && trainer id
	db SWIMMERF, DAWN

	; text when seen
	dw SwimmerfDawnSeenText

	; text when trainer beaten
	dw SwimmerfDawnBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SwimmerfDawnScript
; 0x19ea09

SwimmerfDawnScript: ; 0x19ea09
	talkaftercancel
	loadfont
	2writetext UnknownText_0x19ebad
	closetext
	loadmovesprites
	end
; 0x19ea11

TrainerSwimmermHarold: ; 0x19ea11
	; bit/flag number
	dw $594

	; trainer group && trainer id
	db SWIMMERM, HAROLD

	; text when seen
	dw SwimmermHaroldSeenText

	; text when trainer beaten
	dw SwimmermHaroldBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SwimmermHaroldScript
; 0x19ea1d

SwimmermHaroldScript: ; 0x19ea1d
	talkaftercancel
	loadfont
	2writetext UnknownText_0x19eab4
	closetext
	loadmovesprites
	end
; 0x19ea25

TrainerSwimmermJerome: ; 0x19ea25
	; bit/flag number
	dw $5a1

	; trainer group && trainer id
	db SWIMMERM, JEROME

	; text when seen
	dw SwimmermJeromeSeenText

	; text when trainer beaten
	dw SwimmermJeromeBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SwimmermJeromeScript
; 0x19ea31

SwimmermJeromeScript: ; 0x19ea31
	talkaftercancel
	loadfont
	2writetext UnknownText_0x19ec7e
	closetext
	loadmovesprites
	end
; 0x19ea39

TrainerSwimmermTucker: ; 0x19ea39
	; bit/flag number
	dw $5a2

	; trainer group && trainer id
	db SWIMMERM, TUCKER

	; text when seen
	dw SwimmermTuckerSeenText

	; text when trainer beaten
	dw SwimmermTuckerBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SwimmermTuckerScript
; 0x19ea45

SwimmermTuckerScript: ; 0x19ea45
	talkaftercancel
	loadfont
	2writetext UnknownText_0x19eb3b
	closetext
	loadmovesprites
	end
; 0x19ea4d

FisherScript_0x19ea4d: ; 0x19ea4d
	faceplayer
	loadfont
	checkevent $00d7
	iftrue UnknownScript_0x19ea5b
	2writetext UnknownText_0x19ecaf
	closetext
	loadmovesprites
	end
; 0x19ea5b

UnknownScript_0x19ea5b: ; 0x19ea5b
	2writetext UnknownText_0x19ed24
	closetext
	loadmovesprites
	end
; 0x19ea61

FisherScript_0x19ea61: ; 0x19ea61
	faceplayer
	loadfont
	checkevent $00d7
	iftrue UnknownScript_0x19ea6f
	2writetext UnknownText_0x19ed45
	closetext
	loadmovesprites
	end
; 0x19ea6f

UnknownScript_0x19ea6f: ; 0x19ea6f
	2writetext UnknownText_0x19ed7d
	closetext
	loadmovesprites
	end
; 0x19ea75

MapRoute19Signpost0Script: ; 0x19ea75
	jumptext UnknownText_0x19edbc
; 0x19ea78

MapRoute19Signpost1Script: ; 0x19ea78
	jumptext UnknownText_0x19ede5
; 0x19ea7b

SwimmermHaroldSeenText: ; 0x19ea7b
	text "Have you ever gone"
	line "swimming in the"
	cont "sea at night?"
	done
; 0x19eaad

SwimmermHaroldBeatenText: ; 0x19eaad
	text "Glub…"
	done
; 0x19eab4

UnknownText_0x19eab4: ; 0x19eab4
	text "At night, the sea"
	line "turns black. It"

	para "feels like it will"
	line "swallow you up."
	done
; 0x19eafa

SwimmermTuckerSeenText: ; 0x19eafa
	text "Pant, pant…"
	line "Just… a little…"

	para "farther… to…"
	line "FUCHSIA…"
	done
; 0x19eb2d

SwimmermTuckerBeatenText: ; 0x19eb2d
	text "I'm drowning!"
	done
; 0x19eb3b

UnknownText_0x19eb3b: ; 0x19eb3b
	text "I… asked my girl-"
	line "friend to swim to"
	cont "FUCHSIA… Gasp…"
	done
; 0x19eb6f

SwimmerfDawnSeenText: ; 0x19eb6f
	text "I'm disgusted by"
	line "wimpy people!"
	done
; 0x19eb8e

SwimmerfDawnBeatenText: ; 0x19eb8e
	text "I could beat you"
	line "at swimming…"
	done
; 0x19ebad

UnknownText_0x19ebad: ; 0x19ebad
	text "It's a quick swim"
	line "between FUCHSIA"

	para "and SEAFOAM IS-"
	line "LANDS…"

	para "Sheesh, some big"
	line "man my boyfriend"

	para "is! What a wimp!"
	done
; 0x19ec19

SwimmermJeromeSeenText: ; 0x19ec19
	text "Swimming?"
	line "I'm lousy at it."

	para "I'm just splashing"
	line "around in these"
	cont "shallow waters."
	done
; 0x19ec66

SwimmermJeromeBeatenText: ; 0x19ec66
	text "I thought I could"
	line "win."
	done
; 0x19ec7e

UnknownText_0x19ec7e: ; 0x19ec7e
	text "I might be bad at"
	line "swimming, but I"
	cont "love the sea."
	done
; 0x19ecaf

UnknownText_0x19ecaf: ; 0x19ecaf
	text "Sorry. This road"
	line "is closed for"
	cont "construction."

	para "If you want to get"
	line "to CINNABAR, you'd"

	para "better go south"
	line "from PALLET TOWN."
	done
; 0x19ed24

UnknownText_0x19ed24: ; 0x19ed24
	text "I'm all sweaty."
	line "Time for a swim!"
	done
; 0x19ed45

UnknownText_0x19ed45: ; 0x19ed45
	text "Who knows how long"
	line "it would take to"
	cont "move this boulder…"
	done
; 0x19ed7d

UnknownText_0x19ed7d: ; 0x19ed7d
	text "The roadwork is"
	line "finally finished."

	para "Now I can go"
	line "fishing again."
	done
; 0x19edbc

UnknownText_0x19edbc: ; 0x19edbc
	text "ROUTE 19"

	para "FUCHSIA CITY -"
	line "SEAFOAM ISLANDS"
	done
; 0x19ede5

UnknownText_0x19ede5: ; 0x19ede5
	text "Please be careful"
	line "if you are swim-"
	cont "ming to SEAFOAM"
	cont "ISLANDS."

	para "FUCHSIA POLICE"
	done
; 0x19ee31

Route19_MapEventHeader: ; 0x19ee31
	; filler
	db 0, 0

	; warps
	db 1
	warp_def $3, $7, 3, GROUP_ROUTE_19___FUCHSIA_GATE, MAP_ROUTE_19___FUCHSIA_GATE

	; xy triggers
	db 0

	; signposts
	db 2
	signpost 13, 11, $0, MapRoute19Signpost0Script
	signpost 1, 11, $0, MapRoute19Signpost1Script

	; people-events
	db 6
	person_event SPRITE_SWIMMER_GIRL, 27, 13, $8, $0, 255, 255, $a2, 0, TrainerSwimmerfDawn, $ffff
	person_event SPRITE_SWIMMER_GUY, 32, 17, $a, $0, 255, 255, $82, 3, TrainerSwimmermHarold, $ffff
	person_event SPRITE_SWIMMER_GUY, 21, 15, $a, $0, 255, 255, $82, 3, TrainerSwimmermJerome, $ffff
	person_event SPRITE_SWIMMER_GUY, 27, 12, $7, $0, 255, 255, $82, 0, TrainerSwimmermTucker, $ffff
	person_event SPRITE_FISHER, 9, 13, $6, $0, 255, 255, $80, 1, FisherScript_0x19ea4d, $ffff
	person_event SPRITE_FISHER, 9, 15, $5, $1, 255, 255, $90, 1, FisherScript_0x19ea61, $ffff
; 0x19ee94