summaryrefslogtreecommitdiff
path: root/maps/FastShipB1F.asm
blob: 5840a2252e67de9cd3a5c5cd0ee23f89ffcfacaf (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
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
FastShipB1F_MapScriptHeader: ; 0x76730
	; trigger count
	db 2

	; triggers
	dw UnknownScript_0x7673a, $0000
	dw UnknownScript_0x7673b, $0000

	; callback count
	db 0
; 0x7673a

UnknownScript_0x7673a: ; 0x7673a
	end
; 0x7673b

UnknownScript_0x7673b: ; 0x7673b
	end
; 0x7673c

UnknownScript_0x7673c: ; 0x7673c
	checkevent $072f
	iftrue UnknownScript_0x76766
	applymovement $3, MovementData_0x76876
	moveperson $2, $1e, $6
	appear $2
	pause 5
	disappear $3
	end
; 0x76751

UnknownScript_0x76751: ; 0x76751
	checkevent $072e
	iftrue UnknownScript_0x76766
	applymovement $2, MovementData_0x76871
	moveperson $3, $1f, $6
	appear $3
	pause 5
	disappear $2
	end
; 0x76766

UnknownScript_0x76766: ; 0x76766
	end
; 0x76767

SailorScript_0x76767: ; 0x76767
	faceplayer
	loadfont
	checkevent $0030
	iftrue UnknownScript_0x767a0
	checkevent $0033
	iftrue UnknownScript_0x7678d
	checkevent $0034
	iftrue UnknownScript_0x76787
	2writetext UnknownText_0x7687b
	closetext
	loadmovesprites
	setevent $0034
	clearevent $072d
	end
; 0x76787

UnknownScript_0x76787: ; 0x76787
	2writetext UnknownText_0x76907
	closetext
	loadmovesprites
	end
; 0x7678d

UnknownScript_0x7678d: ; 0x7678d
	2writetext UnknownText_0x7692e
	checkevent $0032
	iffalse UnknownScript_0x76799
	closetext
	loadmovesprites
	end
; 0x76799

UnknownScript_0x76799: ; 0x76799
	keeptextopen
	2writetext UnknownText_0x7696d
	closetext
	loadmovesprites
	end
; 0x767a0

UnknownScript_0x767a0: ; 0x767a0
	2writetext UnknownText_0x7699d
	closetext
	loadmovesprites
	end
; 0x767a6

TrainerSailorJeff: ; 0x767a6
	; bit/flag number
	dw $57a

	; trainer group && trainer id
	db SAILOR, JEFF

	; text when seen
	dw SailorJeffSeenText

	; text when trainer beaten
	dw SailorJeffBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SailorJeffScript
; 0x767b2

SailorJeffScript: ; 0x767b2
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76a38
	closetext
	loadmovesprites
	end
; 0x767ba

TrainerPicnickerDebra: ; 0x767ba
	; bit/flag number
	dw $485

	; trainer group && trainer id
	db PICNICKER, DEBRA

	; text when seen
	dw PicnickerDebraSeenText

	; text when trainer beaten
	dw PicnickerDebraBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw PicnickerDebraScript
; 0x767c6

PicnickerDebraScript: ; 0x767c6
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76a99
	closetext
	loadmovesprites
	end
; 0x767ce

TrainerJugglerFritz: ; 0x767ce
	; bit/flag number
	dw $496

	; trainer group && trainer id
	db JUGGLER, FRITZ

	; text when seen
	dw JugglerFritzSeenText

	; text when trainer beaten
	dw JugglerFritzBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw JugglerFritzScript
; 0x767da

JugglerFritzScript: ; 0x767da
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76b02
	closetext
	loadmovesprites
	end
; 0x767e2

TrainerSailorGarrett: ; 0x767e2
	; bit/flag number
	dw $57b

	; trainer group && trainer id
	db SAILOR, GARRETT

	; text when seen
	dw SailorGarrettSeenText

	; text when trainer beaten
	dw SailorGarrettBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SailorGarrettScript
; 0x767ee

SailorGarrettScript: ; 0x767ee
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76b7a
	closetext
	loadmovesprites
	end
; 0x767f6

TrainerFisherJonah: ; 0x767f6
	; bit/flag number
	dw $459

	; trainer group && trainer id
	db FISHER, JONAH

	; text when seen
	dw FisherJonahSeenText

	; text when trainer beaten
	dw FisherJonahBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw FisherJonahScript
; 0x76802

FisherJonahScript: ; 0x76802
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76c22
	closetext
	loadmovesprites
	end
; 0x7680a

TrainerBlackbeltWai: ; 0x7680a
	; bit/flag number
	dw $4ac

	; trainer group && trainer id
	db BLACKBELT_T, WAI

	; text when seen
	dw BlackbeltWaiSeenText

	; text when trainer beaten
	dw BlackbeltWaiBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw BlackbeltWaiScript
; 0x76816

BlackbeltWaiScript: ; 0x76816
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76c9e
	closetext
	loadmovesprites
	end
; 0x7681e

TrainerSailorKenneth: ; 0x7681e
	; bit/flag number
	dw $57c

	; trainer group && trainer id
	db SAILOR, KENNETH

	; text when seen
	dw SailorKennethSeenText

	; text when trainer beaten
	dw SailorKennethBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SailorKennethScript
; 0x7682a

SailorKennethScript: ; 0x7682a
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76d5f
	closetext
	loadmovesprites
	end
; 0x76832

TrainerTeacherShirley: ; 0x76832
	; bit/flag number
	dw $5b7

	; trainer group && trainer id
	db TEACHER, SHIRLEY

	; text when seen
	dw TeacherShirleySeenText

	; text when trainer beaten
	dw TeacherShirleyBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw TeacherShirleyScript
; 0x7683e

TeacherShirleyScript: ; 0x7683e
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76de1
	closetext
	loadmovesprites
	end
; 0x76846

TrainerSchoolboyNate: ; 0x76846
	; bit/flag number
	dw $476

	; trainer group && trainer id
	db SCHOOLBOY, NATE

	; text when seen
	dw SchoolboyNateSeenText

	; text when trainer beaten
	dw SchoolboyNateBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SchoolboyNateScript
; 0x76852

SchoolboyNateScript: ; 0x76852
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76e3d
	closetext
	loadmovesprites
	end
; 0x7685a

TrainerSchoolboyRicky: ; 0x7685a
	; bit/flag number
	dw $477

	; trainer group && trainer id
	db SCHOOLBOY, RICKY

	; text when seen
	dw SchoolboyRickySeenText

	; text when trainer beaten
	dw SchoolboyRickyBeatenText

	; script when lost
	dw $0000

	; script when talk again
	dw SchoolboyRickyScript
; 0x76866

SchoolboyRickyScript: ; 0x76866
	talkaftercancel
	loadfont
	2writetext UnknownText_0x76eb6
	closetext
	loadmovesprites
	end
; 0x7686e

MapFastShipB1FSignpost0Script: ; 0x7686e
	jumpstd $000d
; 0x76871

MovementData_0x76871: ; 0x76871
	fix_facing
	big_step_right
	remove_fixed_facing
	turn_head_down
	step_end
; 0x76876

MovementData_0x76876: ; 0x76876
	fix_facing
	big_step_left
	remove_fixed_facing
	turn_head_down
	step_end
; 0x7687b

UnknownText_0x7687b: ; 0x7687b
	text "Hey, kid. Could I"
	line "get you to look"
	cont "for my buddy?"

	para "He's goofing off"
	line "somewhere, that"
	cont "lazy bum!"

	para "I want to go find"
	line "him, but I'm on"
	cont "duty right now."
	done
; 0x76907

UnknownText_0x76907: ; 0x76907
	text "Oh, gee…"

	para "The CAPTAIN will"
	line "be furious…"
	done
; 0x7692e

UnknownText_0x7692e: ; 0x7692e
	text "Thanks, kid!"
	line "I chewed him out"

	para "good so he'll quit"
	line "slacking off!"
	done
; 0x7696d

UnknownText_0x7696d: ; 0x7696d
	text "A little girl?"

	para "I may have seen"
	line "her go by here."
	done
; 0x7699d

UnknownText_0x7699d: ; 0x7699d
	text "The dining room is"
	line "up ahead."

	para "The stairs at the"
	line "end lead to the"
	cont "CAPTAIN's cabin."
	done
; 0x769ed

SailorJeffSeenText: ; 0x769ed
	text "Nothing beats a"
	line "battle when I'm"
	cont "on my break."
	done
; 0x76a1a

SailorJeffBeatenText: ; 0x76a1a
	text "Win or lose, my"
	line "break's over!"
	done
; 0x76a38

UnknownText_0x76a38: ; 0x76a38
	text "I guess I can't"
	line "win if I don't get"
	cont "serious."
	done
; 0x76a63

PicnickerDebraSeenText: ; 0x76a63
	text "I'm so bored."
	line "Want to battle?"
	done
; 0x76a81

PicnickerDebraBeatenText: ; 0x76a81
	text "Yow! You're too"
	line "strong!"
	done
; 0x76a99

UnknownText_0x76a99: ; 0x76a99
	text "SAFFRON, CELADON…"
	line "I hear there are"

	para "many big cities"
	line "in KANTO."
	done
; 0x76ad7

JugglerFritzSeenText: ; 0x76ad7
	text "Urrf…"
	line "I'm seasick!"
	done
; 0x76aea

JugglerFritzBeatenText: ; 0x76aea
	text "I can't move any-"
	line "more…"
	done
; 0x76b02

UnknownText_0x76b02: ; 0x76b02
	text "No more ships for"
	line "me. Next time,"

	para "I'm taking the"
	line "MAGNET TRAIN."
	done
; 0x76b40

SailorGarrettSeenText: ; 0x76b40
	text "This is where we"
	line "sailors work!"
	done
; 0x76b60

SailorGarrettBeatenText: ; 0x76b60
	text "I lost on my home"
	line "field…"
	done
; 0x76b7a

UnknownText_0x76b7a: ; 0x76b7a
	text "We get different"
	line "passengers from"

	para "VERMILION CITY to"
	line "OLIVINE CITY."
	done
; 0x76bbc

FisherJonahSeenText: ; 0x76bbc
	text "Even though we're"
	line "out on the sea, I"
	cont "can't fish!"

	para "This is boring!"
	line "Let's battle!"
	done
; 0x76c08

FisherJonahBeatenText: ; 0x76c08
	text "I… I'm not bored"
	line "anymore…"
	done
; 0x76c22

UnknownText_0x76c22: ; 0x76c22
	text "I plan to fish off"
	line "VERMILION's pier."
	done
; 0x76c47

BlackbeltWaiSeenText: ; 0x76c47
	text "I'm building up my"
	line "legs by bracing"

	para "against the ship's"
	line "rocking!"
	done
; 0x76c85

BlackbeltWaiBeatenText: ; 0x76c85
	text "Rocked and rolled"
	line "over!"
	done
; 0x76c9e

UnknownText_0x76c9e: ; 0x76c9e
	text "I couldn't find"
	line "the KARATE KING in"
	cont "JOHTO."

	para "He's supposed to"
	line "be training in a"
	cont "cave somewhere."
	done
; 0x76cf9

SailorKennethSeenText: ; 0x76cf9
	text "I'm a sailor man!"

	para "But I'm training"
	line "#MON, so I can"
	cont "become the CHAMP!"
	done
; 0x76d3c

SailorKennethBeatenText: ; 0x76d3c
	text "My lack of train-"
	line "ing is obvious…"
	done
; 0x76d5f

UnknownText_0x76d5f: ; 0x76d5f
	text "Eight BADGES!"
	line "They must prove"

	para "that you've beaten"
	line "GYM LEADERS."

	para "No wonder you're"
	line "so good!"
	done
; 0x76db6

TeacherShirleySeenText: ; 0x76db6
	text "Don't lay a finger"
	line "on my students!"
	done
; 0x76dd9

TeacherShirleyBeatenText: ; 0x76dd9
	text "Aaack!"
	done
; 0x76de1

UnknownText_0x76de1: ; 0x76de1
	text "We're on a field"
	line "trip to the RUINS"
	cont "outside VIOLET."
	done
; 0x76e14

SchoolboyNateSeenText: ; 0x76e14
	text "Do you know the"
	line "RUINS OF ALPH?"
	done
; 0x76e34

SchoolboyNateBeatenText: ; 0x76e34
	text "Yaargh!"
	done
; 0x76e3d

UnknownText_0x76e3d: ; 0x76e3d
	text "Radios pick up"
	line "strange signals"
	cont "inside the RUINS."
	done
; 0x76e6f

SchoolboyRickySeenText: ; 0x76e6f
	text "There are some odd"
	line "stone panels in"
	cont "the RUINS OF ALPH."
	done
; 0x76ea6

SchoolboyRickyBeatenText: ; 0x76ea6
	text "I was done in!"
	done
; 0x76eb6

UnknownText_0x76eb6: ; 0x76eb6
	text "I read that there"
	line "are four of those"
	cont "stone panels."
	done
; 0x76ee9

FastShipB1F_MapEventHeader: ; 0x76ee9
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $b, $5, 11, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F
	warp_def $d, $1f, 12, GROUP_FAST_SHIP_1F, MAP_FAST_SHIP_1F

	; xy triggers
	db 2
	xy_trigger 0, $7, $1e, $0, UnknownScript_0x7673c, $0, $0
	xy_trigger 0, $7, $1f, $0, UnknownScript_0x76751, $0, $0

	; signposts
	db 1
	signpost 9, 27, $0, MapFastShipB1FSignpost0Script

	; people-events
	db 12
	person_event SPRITE_SAILOR, 10, 34, $6, $0, 255, 255, $90, 0, SailorScript_0x76767, $072e
	person_event SPRITE_SAILOR, 10, 35, $6, $0, 255, 255, $90, 0, SailorScript_0x76767, $072f
	person_event SPRITE_SAILOR, 15, 13, $7, $0, 255, 255, $92, 3, TrainerSailorJeff, $0739
	person_event SPRITE_LASS, 8, 10, $7, $0, 255, 255, $a2, 1, TrainerPicnickerDebra, $0739
	person_event SPRITE_SUPER_NERD, 13, 30, $9, $0, 255, 255, $92, 1, TrainerJugglerFritz, $0739
	person_event SPRITE_SAILOR, 8, 21, $9, $0, 255, 255, $92, 4, TrainerSailorGarrett, $073a
	person_event SPRITE_FISHER, 12, 29, $7, $0, 255, 255, $a2, 3, TrainerFisherJonah, $073a
	person_event SPRITE_BLACK_BELT, 15, 19, $1f, $0, 255, 255, $b2, 3, TrainerBlackbeltWai, $073a
	person_event SPRITE_SAILOR, 8, 27, $9, $0, 255, 255, $92, 4, TrainerSailorKenneth, $073b
	person_event SPRITE_TEACHER, 15, 13, $7, $0, 255, 255, $82, 3, TrainerTeacherShirley, $073b
	person_event SPRITE_YOUNGSTER, 13, 18, $3, $0, 255, 255, $92, 1, TrainerSchoolboyNate, $073b
	person_event SPRITE_YOUNGSTER, 15, 18, $a, $0, 255, 255, $92, 1, TrainerSchoolboyRicky, $073b
; 0x76faa