pokecrystal-board/maps/TrainerHouse1F.asm
2018-02-01 22:22:07 -05:00

159 lines
3.7 KiB
NASM

const_def 2 ; object constants
const TRAINERHOUSE1F_RECEPTIONIST
const TRAINERHOUSE1F_COOLTRAINER_M
const TRAINERHOUSE1F_COOLTRAINER_F
const TRAINERHOUSE1F_YOUNGSTER
const TRAINERHOUSE1F_GENTLEMAN
TrainerHouse1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerHouse1FReceptionistScript:
jumptextfaceplayer TrainerHouse1FReceptionistText
TrainerHouse1FCooltrainerMScript:
jumptextfaceplayer TrainerHouse1FCooltrainerMText
TrainerHouse1FCooltrainerFScript:
jumptextfaceplayer TrainerHouse1FCooltrainerFText
TrainerHouse1FYoungsterScript:
jumptextfaceplayer TrainerHouse1FYoungsterText
TrainerHouse1FGentlemanScript:
jumptextfaceplayer TrainerHouse1FGentlemanText
MapTrainerHouse1FSignpost0Script:
jumptext UnknownText_0x9b1f4
MapTrainerHouse1FSignpost1Script:
jumptext UnknownText_0x9b25d
MapTrainerHouse1FSignpost2Script:
jumptext UnknownText_0x9b2c1
TrainerHouse1FReceptionistText:
text "Welcome to TRAINER"
line "HOUSE, the newest"
para "and most happening"
line "place in VIRIDIAN."
para "We're open to"
line "trainers only."
para "You can battle"
line "against the best"
para "of the best right"
line "downstairs."
done
TrainerHouse1FCooltrainerMText:
text "VIRIDIAN is the"
line "town closest to"
cont "INDIGO PLATEAU."
para "They built this"
line "place because so"
para "many trainers pass"
line "through on their"
para "way up to INDIGO"
line "PLATEAU."
done
TrainerHouse1FCooltrainerFText:
text "They hold practice"
line "battles downstairs"
cont "here."
para "I would love to"
line "see how well a"
para "trainer from JOHTO"
line "battles."
done
TrainerHouse1FYoungsterText:
text "I guess you can't"
line "become the CHAMP"
para "unless you go all"
line "over the place and"
para "battle all kinds"
line "of people."
para "The CHAMPION from"
line "PALLET traveled to"
para "all the cities and"
line "towns in KANTO."
done
TrainerHouse1FGentlemanText:
text "Whew… I'm taking a"
line "rest from #MON"
cont "battles."
done
UnknownText_0x9b1f4:
text "Practice battles"
line "are held in the"
para "TRAINING HALL"
line "downstairs."
para "Skilled trainers"
line "are invited to"
cont "participate."
done
UnknownText_0x9b25d:
text "There are no rules"
line "or regulations for"
para "practice matches."
line "Just like in field"
para "battles, anything"
line "goes!"
done
UnknownText_0x9b2c1:
text "…What's this?"
line "A strategy memo?"
para "This writing looks"
line "like ONIX tracks…"
para "It's completely"
line "illegible…"
done
TrainerHouse1F_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
warp_event 2, 13, VIRIDIAN_CITY, 3
warp_event 3, 13, VIRIDIAN_CITY, 3
warp_event 8, 2, TRAINER_HOUSE_B1F, 1
db 0 ; coord events
db 3 ; bg events
bg_event 5, 0, BGEVENT_READ, MapTrainerHouse1FSignpost0Script
bg_event 7, 0, BGEVENT_READ, MapTrainerHouse1FSignpost1Script
bg_event 7, 10, BGEVENT_READ, MapTrainerHouse1FSignpost2Script
db 5 ; object events
object_event 0, 11, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FReceptionistScript, -1
object_event 7, 11, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FCooltrainerMScript, -1
object_event 6, 2, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_DOWN, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FCooltrainerFScript, -1
object_event 4, 8, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FYoungsterScript, -1
object_event 2, 4, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FGentlemanScript, -1