pokecrystal/maps/Route19.asm

256 lines
5.1 KiB
NASM
Raw Normal View History

2015-07-10 08:20:21 +00:00
Route19_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
2015-07-10 12:08:03 +00:00
dbw 1, .ClearRocks
2015-07-10 12:08:03 +00:00
.ClearRocks
checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue .Done
changeblock $6, $6, $7a
changeblock $8, $6, $7a
changeblock $a, $6, $7a
changeblock $c, $8, $7a
changeblock $4, $8, $7a
changeblock $a, $a, $7a
2015-07-10 12:08:03 +00:00
.Done
return
2015-07-10 08:20:21 +00:00
TrainerSwimmerfDawn:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SWIMMERF_DAWN, SWIMMERF, DAWN, SwimmerfDawnSeenText, SwimmerfDawnBeatenText, 0, SwimmerfDawnScript
2015-07-10 08:20:21 +00:00
SwimmerfDawnScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19ebad
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSwimmermHarold:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SWIMMERM_HAROLD, SWIMMERM, HAROLD, SwimmermHaroldSeenText, SwimmermHaroldBeatenText, 0, SwimmermHaroldScript
2015-07-10 08:20:21 +00:00
SwimmermHaroldScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19eab4
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSwimmermJerome:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SWIMMERM_JEROME, SWIMMERM, JEROME, SwimmermJeromeSeenText, SwimmermJeromeBeatenText, 0, SwimmermJeromeScript
2015-07-10 08:20:21 +00:00
SwimmermJeromeScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19ec7e
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSwimmermTucker:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SWIMMERM_TUCKER, SWIMMERM, TUCKER, SwimmermTuckerSeenText, SwimmermTuckerBeatenText, 0, SwimmermTuckerScript
2015-07-10 08:20:21 +00:00
SwimmermTuckerScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19eb3b
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
FisherScript_0x19ea4d:
faceplayer
loadfont
2015-07-10 12:08:03 +00:00
checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue UnknownScript_0x19ea5b
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19ecaf
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x19ea5b:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19ed24
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
FisherScript_0x19ea61:
faceplayer
loadfont
2015-07-10 12:08:03 +00:00
checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue UnknownScript_0x19ea6f
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19ed45
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x19ea6f:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19ed7d
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
MapRoute19Signpost0Script:
jumptext UnknownText_0x19edbc
2015-07-10 08:20:21 +00:00
MapRoute19Signpost1Script:
jumptext UnknownText_0x19ede5
2015-07-10 08:20:21 +00:00
SwimmermHaroldSeenText:
text "Have you ever gone"
line "swimming in the"
cont "sea at night?"
done
2015-07-10 08:20:21 +00:00
SwimmermHaroldBeatenText:
text "Glub…"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x19eab4:
text "At night, the sea"
line "turns black. It"
para "feels like it will"
line "swallow you up."
done
2015-07-10 08:20:21 +00:00
SwimmermTuckerSeenText:
text "Pant, pant…"
line "Just… a little…"
para "farther… to…"
line "FUCHSIA…"
done
2015-07-10 08:20:21 +00:00
SwimmermTuckerBeatenText:
text "I'm drowning!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x19eb3b:
text "I… asked my girl-"
line "friend to swim to"
cont "FUCHSIA… Gasp…"
done
2015-07-10 08:20:21 +00:00
SwimmerfDawnSeenText:
text "I'm disgusted by"
line "wimpy people!"
done
2015-07-10 08:20:21 +00:00
SwimmerfDawnBeatenText:
text "I could beat you"
line "at swimming…"
done
2015-07-10 08:20:21 +00:00
UnknownText_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
2015-07-10 08:20:21 +00:00
SwimmermJeromeSeenText:
text "Swimming?"
line "I'm lousy at it."
para "I'm just splashing"
line "around in these"
cont "shallow waters."
done
2015-07-10 08:20:21 +00:00
SwimmermJeromeBeatenText:
text "I thought I could"
line "win."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x19ec7e:
text "I might be bad at"
line "swimming, but I"
cont "love the sea."
done
2015-07-10 08:20:21 +00:00
UnknownText_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
2015-07-10 08:20:21 +00:00
UnknownText_0x19ed24:
text "I'm all sweaty."
line "Time for a swim!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x19ed45:
text "Who knows how long"
line "it would take to"
cont "move this boulder…"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x19ed7d:
text "The roadwork is"
line "finally finished."
para "Now I can go"
line "fishing again."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x19edbc:
text "ROUTE 19"
para "FUCHSIA CITY -"
line "SEAFOAM ISLANDS"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x19ede5:
text "Please be careful"
line "if you are swim-"
cont "ming to SEAFOAM"
cont "ISLANDS."
para "FUCHSIA POLICE"
done
2015-07-10 08:20:21 +00:00
Route19_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $3, $7, 3, ROUTE_19___FUCHSIA_GATE
.XYTriggers:
db 0
.Signposts:
db 2
signpost 13, 11, SIGNPOST_READ, MapRoute19Signpost0Script
signpost 1, 11, SIGNPOST_READ, MapRoute19Signpost1Script
.PersonEvents:
db 6
person_event SPRITE_SWIMMER_GIRL, 23, 9, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 0, TrainerSwimmerfDawn, -1
person_event SPRITE_SWIMMER_GUY, 28, 13, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 3, TrainerSwimmermHarold, -1
person_event SPRITE_SWIMMER_GUY, 17, 11, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 3, TrainerSwimmermJerome, -1
person_event SPRITE_SWIMMER_GUY, 23, 8, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 0, TrainerSwimmermTucker, -1
person_event SPRITE_FISHER, 5, 9, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 1, FisherScript_0x19ea4d, -1
person_event SPRITE_FISHER, 5, 11, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 1, FisherScript_0x19ea61, -1