mirror of
https://github.com/pret/pokecrystal.git
synced 2026-05-31 21:13:01 -05:00
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
362 lines
7.5 KiB
NASM
362 lines
7.5 KiB
NASM
Route41_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
TrainerSwimmerfKaylee:
|
|
trainer EVENT_BEAT_SWIMMERF_KAYLEE, SWIMMERF, KAYLEE, SwimmerfKayleeSeenText, SwimmerfKayleeBeatenText, $0000, SwimmerfKayleeScript
|
|
|
|
SwimmerfKayleeScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a6c7f
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmerfSusie:
|
|
trainer EVENT_BEAT_SWIMMERF_SUSIE, SWIMMERF, SUSIE, SwimmerfSusieSeenText, SwimmerfSusieBeatenText, $0000, SwimmerfSusieScript
|
|
|
|
SwimmerfSusieScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a6d11
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmerfDenise:
|
|
trainer EVENT_BEAT_SWIMMERF_DENISE, SWIMMERF, DENISE, SwimmerfDeniseSeenText, SwimmerfDeniseBeatenText, $0000, SwimmerfDeniseScript
|
|
|
|
SwimmerfDeniseScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a6d79
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmerfKara:
|
|
trainer EVENT_BEAT_SWIMMERF_KARA, SWIMMERF, KARA, SwimmerfKaraSeenText, SwimmerfKaraBeatenText, $0000, SwimmerfKaraScript
|
|
|
|
SwimmerfKaraScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a6e58
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmerfWendy:
|
|
trainer EVENT_BEAT_SWIMMERF_WENDY, SWIMMERF, WENDY, SwimmerfWendySeenText, SwimmerfWendyBeatenText, $0000, SwimmerfWendyScript
|
|
|
|
SwimmerfWendyScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a6ec2
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmermCharlie:
|
|
trainer EVENT_BEAT_SWIMMERM_CHARLIE, SWIMMERM, CHARLIE, SwimmermCharlieSeenText, SwimmermCharlieBeatenText, $0000, SwimmermCharlieScript
|
|
|
|
SwimmermCharlieScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a696e
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmermGeorge:
|
|
trainer EVENT_BEAT_SWIMMERM_GEORGE, SWIMMERM, GEORGE, SwimmermGeorgeSeenText, SwimmermGeorgeBeatenText, $0000, SwimmermGeorgeScript
|
|
|
|
SwimmermGeorgeScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a69d4
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmermBerke:
|
|
trainer EVENT_BEAT_SWIMMERM_BERKE, SWIMMERM, BERKE, SwimmermBerkeSeenText, SwimmermBerkeBeatenText, $0000, SwimmermBerkeScript
|
|
|
|
SwimmermBerkeScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a6aa4
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmermKirk:
|
|
trainer EVENT_BEAT_SWIMMERM_KIRK, SWIMMERM, KIRK, SwimmermKirkSeenText, SwimmermKirkBeatenText, $0000, SwimmermKirkScript
|
|
|
|
SwimmermKirkScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a6b6c
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
TrainerSwimmermMathew:
|
|
trainer EVENT_BEAT_SWIMMERM_MATHEW, SWIMMERM, MATHEW, SwimmermMathewSeenText, SwimmermMathewBeatenText, $0000, SwimmermMathewScript
|
|
|
|
SwimmermMathewScript:
|
|
talkaftercancel
|
|
loadfont
|
|
writetext UnknownText_0x1a6bed
|
|
closetext
|
|
loadmovesprites
|
|
end
|
|
|
|
Route41Rock:
|
|
; unused
|
|
jumpstd smashrock
|
|
|
|
MapRoute41SignpostItem0:
|
|
dwb EVENT_ROUTE_41_HIDDEN_MAX_ETHER, MAX_ETHER
|
|
|
|
SwimmermCharlieSeenText:
|
|
text "The water's warm"
|
|
line "here. I'm loose"
|
|
cont "and limber."
|
|
|
|
para "Sure, I'll take"
|
|
line "you on!"
|
|
done
|
|
|
|
SwimmermCharlieBeatenText:
|
|
text "Yikes! I've got"
|
|
line "prune skin!"
|
|
done
|
|
|
|
UnknownText_0x1a696e:
|
|
text "Isn't it relaxing"
|
|
line "just floating like"
|
|
cont "this?"
|
|
done
|
|
|
|
SwimmermGeorgeSeenText:
|
|
text "I'm a bit tired."
|
|
line "If I win, lend me"
|
|
cont "your #MON."
|
|
done
|
|
|
|
SwimmermGeorgeBeatenText:
|
|
text "Pant, pant…"
|
|
done
|
|
|
|
UnknownText_0x1a69d4:
|
|
text "It's so far to"
|
|
line "CIANWOOD."
|
|
|
|
para "But it's no easy"
|
|
line "return trip to"
|
|
cont "OLIVINE either."
|
|
|
|
para "What should I do?"
|
|
done
|
|
|
|
SwimmermBerkeSeenText:
|
|
text "See those islands"
|
|
line "that are blocked"
|
|
cont "by whirlpools?"
|
|
|
|
para "There just has to"
|
|
line "be a secret!"
|
|
done
|
|
|
|
SwimmermBerkeBeatenText:
|
|
text "What's the secret"
|
|
line "to your strength?"
|
|
done
|
|
|
|
UnknownText_0x1a6aa4:
|
|
text "It was a dark and"
|
|
line "stormy night…"
|
|
|
|
para "I saw this giant"
|
|
line "#MON flying"
|
|
cont "from the islands."
|
|
|
|
para "It was scattering"
|
|
line "feathers from its"
|
|
cont "silver wings."
|
|
done
|
|
|
|
SwimmermKirkSeenText:
|
|
text "The waves are wild"
|
|
line "here."
|
|
|
|
para "They tire you out"
|
|
line "while you swim."
|
|
done
|
|
|
|
SwimmermKirkBeatenText:
|
|
text "I'm beat!"
|
|
done
|
|
|
|
UnknownText_0x1a6b6c:
|
|
text "The currents keep"
|
|
line "me from reaching"
|
|
cont "that island."
|
|
done
|
|
|
|
SwimmermMathewSeenText:
|
|
text "Are you seeking"
|
|
line "the secrets of"
|
|
cont "WHIRL ISLANDS?"
|
|
done
|
|
|
|
SwimmermMathewBeatenText:
|
|
text "Ooh, you've got"
|
|
line "great endurance!"
|
|
done
|
|
|
|
UnknownText_0x1a6bed:
|
|
text "A secret about"
|
|
line "WHIRL ISLANDS…"
|
|
|
|
para "It's pitch-black"
|
|
line "inside!"
|
|
done
|
|
|
|
SwimmerfKayleeSeenText:
|
|
text "I'm on my way to"
|
|
line "WHIRL ISLANDS."
|
|
|
|
para "I'm going explor-"
|
|
line "ing with friends."
|
|
done
|
|
|
|
SwimmerfKayleeBeatenText:
|
|
text "Is that how you do"
|
|
line "it?"
|
|
done
|
|
|
|
UnknownText_0x1a6c7f:
|
|
text "There's supposed"
|
|
line "to be a big #-"
|
|
cont "MON deep beneath"
|
|
cont "WHIRL ISLANDS."
|
|
|
|
para "I wonder what it"
|
|
line "could be?"
|
|
done
|
|
|
|
SwimmerfSusieSeenText:
|
|
text "You look so ele-"
|
|
line "gant, riding your"
|
|
cont "#MON."
|
|
done
|
|
|
|
SwimmerfSusieBeatenText:
|
|
text "I'm crushed…"
|
|
done
|
|
|
|
UnknownText_0x1a6d11:
|
|
text "Wasn't there a hit"
|
|
line "song about a boy"
|
|
cont "riding a LAPRAS?"
|
|
done
|
|
|
|
SwimmerfDeniseSeenText:
|
|
text "The weather is so"
|
|
line "beautiful, I'm in"
|
|
cont "a daze!"
|
|
done
|
|
|
|
SwimmerfDeniseBeatenText:
|
|
text "Ohhh!"
|
|
done
|
|
|
|
UnknownText_0x1a6d79:
|
|
text "A sunburn is the"
|
|
line "worst for skin."
|
|
|
|
para "But I don't use a"
|
|
line "sunblock."
|
|
|
|
para "I won't pollute"
|
|
line "the water."
|
|
done
|
|
|
|
SwimmerfKaraSeenText:
|
|
text "If you need to"
|
|
line "rest, just tread"
|
|
cont "water."
|
|
|
|
para "You'll get your"
|
|
line "wind back, so you"
|
|
|
|
para "can keep on going"
|
|
line "strong."
|
|
done
|
|
|
|
SwimmerfKaraBeatenText:
|
|
text "Oh! You have more"
|
|
line "energy than I do."
|
|
done
|
|
|
|
UnknownText_0x1a6e58:
|
|
text "I heard roars from"
|
|
line "deep inside the"
|
|
cont "ISLANDS."
|
|
done
|
|
|
|
SwimmerfWendySeenText:
|
|
text "At night, STARYU"
|
|
line "gather near the"
|
|
cont "water's surface."
|
|
done
|
|
|
|
SwimmerfWendyBeatenText:
|
|
text "Oh, dear…"
|
|
done
|
|
|
|
UnknownText_0x1a6ec2:
|
|
text "The clusters of"
|
|
line "STARYU light up"
|
|
cont "at the same time."
|
|
|
|
para "It's so beautiful,"
|
|
line "it's scary."
|
|
done
|
|
|
|
Route41_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 4
|
|
warp_def $11, $c, 1, WHIRL_ISLAND_NW
|
|
warp_def $13, $24, 1, WHIRL_ISLAND_NE
|
|
warp_def $25, $c, 1, WHIRL_ISLAND_SW
|
|
warp_def $2d, $24, 1, WHIRL_ISLAND_SE
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 1
|
|
signpost 35, 9, SIGNPOST_ITEM, MapRoute41SignpostItem0
|
|
|
|
.PersonEvents:
|
|
db 10
|
|
person_event SPRITE_OLIVINE_RIVAL, 10, 36, OW_LEFT | $2, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerSwimmermCharlie, -1
|
|
person_event SPRITE_OLIVINE_RIVAL, 12, 50, OW_LEFT | $2, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerSwimmermGeorge, -1
|
|
person_event SPRITE_OLIVINE_RIVAL, 30, 24, OW_RIGHT | $12, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerSwimmermBerke, -1
|
|
person_event SPRITE_OLIVINE_RIVAL, 34, 36, OW_RIGHT | $13, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerSwimmermKirk, -1
|
|
person_event SPRITE_OLIVINE_RIVAL, 50, 23, OW_RIGHT | $12, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerSwimmermMathew, -1
|
|
person_event SPRITE_SWIMMER_GIRL, 8, 21, OW_LEFT | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 3, TrainerSwimmerfKaylee, -1
|
|
person_event SPRITE_SWIMMER_GIRL, 23, 27, OW_UP | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 3, TrainerSwimmerfSusie, -1
|
|
person_event SPRITE_SWIMMER_GIRL, 38, 31, OW_LEFT | $0, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 3, TrainerSwimmerfDenise, -1
|
|
person_event SPRITE_SWIMMER_GIRL, 32, 48, OW_LEFT | $1, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 4, TrainerSwimmerfKara, -1
|
|
person_event SPRITE_SWIMMER_GIRL, 54, 13, OW_LEFT | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 2, TrainerSwimmerfWendy, -1
|