pokecrystal-board/maps/TrainerHouse1F.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

166 lines
3.7 KiB
NASM

const_value set 2
const TRAINERHOUSE1F_RECEPTIONIST
const TRAINERHOUSE1F_COOLTRAINER_M
const TRAINERHOUSE1F_COOLTRAINER_F
const TRAINERHOUSE1F_YOUNGSTER
const TRAINERHOUSE1F_GENTLEMAN
TrainerHouse1F_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
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_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $d, $2, 3, VIRIDIAN_CITY
warp_def $d, $3, 3, VIRIDIAN_CITY
warp_def $2, $8, 1, TRAINER_HOUSE_B1F
.CoordEvents:
db 0
.BGEvents:
db 3
bg_event 0, 5, BGEVENT_READ, MapTrainerHouse1FSignpost0Script
bg_event 0, 7, BGEVENT_READ, MapTrainerHouse1FSignpost1Script
bg_event 10, 7, BGEVENT_READ, MapTrainerHouse1FSignpost2Script
.ObjectEvents:
db 5
object_event SPRITE_RECEPTIONIST, 11, 0, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FReceptionistScript, -1
object_event SPRITE_COOLTRAINER_M, 11, 7, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FCooltrainerMScript, -1
object_event SPRITE_COOLTRAINER_F, 2, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FCooltrainerFScript, -1
object_event SPRITE_YOUNGSTER, 8, 4, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FYoungsterScript, -1
object_event SPRITE_GENTLEMAN, 4, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TrainerHouse1FGentlemanScript, -1