pokecrystal-board/maps/Route14.asm
Remy Oukaour 31cce83e9b Move lots of data tables into individual data/ files
(This is not expected to be their final location, but it makes them easier to relocate when necessary, and easier for users to edit until the whole project's file structure is finalized.)
2017-12-11 14:23:18 -05:00

137 lines
2.7 KiB
NASM

const_value set 2
const ROUTE14_POKEFAN_M1
const ROUTE14_YOUNGSTER
const ROUTE14_POKEFAN_M2
const ROUTE14_KIM
Route14_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
Kim:
faceplayer
opentext
trade NPCTRADE_KIM
waitbutton
closetext
end
TrainerPokefanmCarter:
trainer EVENT_BEAT_POKEFANM_CARTER, POKEFANM, CARTER, PokefanmCarterSeenText, PokefanmCarterBeatenText, 0, PokefanmCarterScript
PokefanmCarterScript:
end_if_just_battled
opentext
writetext PokefanmCarterAfterBattleText
waitbutton
closetext
end
TrainerBird_keeperRoy:
trainer EVENT_BEAT_BIRD_KEEPER_ROY, BIRD_KEEPER, ROY, Bird_keeperRoySeenText, Bird_keeperRoyBeatenText, 0, Bird_keeperRoyScript
Bird_keeperRoyScript:
end_if_just_battled
opentext
writetext Bird_keeperRoyAfterBattleText
waitbutton
closetext
end
TrainerPokefanmTrevor:
trainer EVENT_BEAT_POKEFANM_TREVOR, POKEFANM, TREVOR, PokefanmTrevorSeenText, PokefanmTrevorBeatenText, 0, PokefanmTrevorScript
PokefanmTrevorScript:
end_if_just_battled
opentext
writetext PokefanmTrevorAfterBattleText
waitbutton
closetext
end
PokefanmCarterSeenText:
text "Let me tell you,"
line "I had a hard time"
para "catching my prized"
line "#MON."
done
PokefanmCarterBeatenText:
text "Awaaah!"
done
PokefanmCarterAfterBattleText:
text "SQUIRTLE, CHARMAN-"
line "DER and BULBASAUR…"
para "I think that's a"
line "well-balanced mix."
done
Bird_keeperRoySeenText:
text "My dream is to fly"
line "with my beloved"
cont "bird #MON."
done
Bird_keeperRoyBeatenText:
text "I can dream, but I"
line "can't ever fly…"
done
Bird_keeperRoyAfterBattleText:
text "You have #MON"
line "that know the HM"
para "move FLY, don't"
line "you? I envy you."
done
PokefanmTrevorSeenText:
text "Hi. Did you know…?"
para "#MON get more"
line "friendly if you"
para "train them in a"
line "place that they"
cont "remember."
done
PokefanmTrevorBeatenText:
text "Where did I meet"
line "this PSYDUCK?"
done
PokefanmTrevorAfterBattleText:
text "If only there were"
line "an easy way to"
para "identify where I"
line "got my #MON…"
done
Route14_MapEventHeader:
; filler
db 0, 0
.Warps:
db 0
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 4
person_event SPRITE_POKEFAN_M, 15, 11, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_TRAINER, 3, TrainerPokefanmCarter, -1
person_event SPRITE_YOUNGSTER, 27, 11, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_TRAINER, 3, TrainerBird_keeperRoy, -1
person_event SPRITE_POKEFAN_M, 11, 6, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_TRAINER, 3, TrainerPokefanmTrevor, -1
person_event SPRITE_TEACHER, 5, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 4, Kim, -1