mirror of https://github.com/pret/pokecrystal.git
136 lines
3.0 KiB
NASM
136 lines
3.0 KiB
NASM
LavenderTown_MapScriptHeader:
|
|
; trigger count
|
|
db 0
|
|
|
|
; callback count
|
|
db 1
|
|
|
|
; callbacks
|
|
dbw 5, .FlyPoint
|
|
|
|
.FlyPoint
|
|
setflag ENGINE_FLYPOINT_LAVENDER
|
|
return
|
|
|
|
PokefanMScript_0x1ad6e4:
|
|
jumptextfaceplayer UnknownText_0x1ad702
|
|
|
|
TeacherScript_0x1ad6e7:
|
|
jumptextfaceplayer UnknownText_0x1ad73a
|
|
|
|
GrampsScript_0x1ad6ea:
|
|
jumptextfaceplayer UnknownText_0x1ad75c
|
|
|
|
YoungsterScript_0x1ad6ed:
|
|
jumptextfaceplayer UnknownText_0x1ad7ac
|
|
|
|
LavenderTownSign:
|
|
jumptext LavenderTownSignText
|
|
|
|
KantoRadioStationSign:
|
|
jumptext KantoRadioStationSignText
|
|
|
|
VolunteerPokemonHouseSign:
|
|
jumptext VolunteerPokemonHouseSignText
|
|
|
|
SoulHouseSign:
|
|
jumptext SoulHouseSignText
|
|
|
|
LavenderPokeCenterSignText:
|
|
jumpstd pokecentersign
|
|
|
|
LavenderMartSignText:
|
|
jumpstd martsign
|
|
|
|
UnknownText_0x1ad702:
|
|
text "That's quite some"
|
|
line "building, eh?"
|
|
|
|
para "It's KANTO's RADIO"
|
|
line "TOWER."
|
|
done
|
|
|
|
UnknownText_0x1ad73a:
|
|
text "KANTO has many"
|
|
line "good radio shows."
|
|
done
|
|
|
|
UnknownText_0x1ad75c:
|
|
text "People come from"
|
|
line "all over to pay"
|
|
|
|
para "their respects to"
|
|
line "the departed souls"
|
|
cont "of #MON."
|
|
done
|
|
|
|
UnknownText_0x1ad7ac:
|
|
text "You need a #"
|
|
line "FLUTE to wake"
|
|
cont "sleeping #MON."
|
|
|
|
para "Every trainer has"
|
|
line "to know that!"
|
|
done
|
|
|
|
LavenderTownSignText:
|
|
text "LAVENDER TOWN"
|
|
|
|
para "The Noble Purple"
|
|
line "Town"
|
|
done
|
|
|
|
KantoRadioStationSignText:
|
|
text "KANTO RADIO"
|
|
line "STATION"
|
|
|
|
para "Your Favorite"
|
|
line "Programs On-Air"
|
|
cont "Around the Clock!"
|
|
done
|
|
|
|
VolunteerPokemonHouseSignText:
|
|
text "LAVENDER VOLUNTEER"
|
|
line "#MON HOUSE"
|
|
done
|
|
|
|
SoulHouseSignText:
|
|
text "SOUL HOUSE"
|
|
|
|
para "May the Souls of"
|
|
line "#MON Rest Easy"
|
|
done
|
|
|
|
LavenderTown_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
; warps
|
|
db 7
|
|
warp_def $5, $5, 1, GROUP_LAVENDER_POKECENTER_1F, MAP_LAVENDER_POKECENTER_1F
|
|
warp_def $9, $5, 1, GROUP_MR_FUJIS_HOUSE, MAP_MR_FUJIS_HOUSE
|
|
warp_def $d, $3, 1, GROUP_LAVENDER_TOWN_SPEECH_HOUSE, MAP_LAVENDER_TOWN_SPEECH_HOUSE
|
|
warp_def $d, $7, 1, GROUP_LAVENDER_NAME_RATER, MAP_LAVENDER_NAME_RATER
|
|
warp_def $5, $1, 2, GROUP_LAVENDER_MART, MAP_LAVENDER_MART
|
|
warp_def $b, $d, 1, GROUP_SOUL_HOUSE, MAP_SOUL_HOUSE
|
|
warp_def $5, $e, 1, GROUP_LAV_RADIO_TOWER_1F, MAP_LAV_RADIO_TOWER_1F
|
|
|
|
; xy triggers
|
|
db 0
|
|
|
|
; signposts
|
|
db 6
|
|
signpost 3, 11, SIGNPOST_READ, LavenderTownSign
|
|
signpost 7, 15, SIGNPOST_READ, KantoRadioStationSign
|
|
signpost 9, 3, SIGNPOST_READ, VolunteerPokemonHouseSign
|
|
signpost 13, 15, SIGNPOST_READ, SoulHouseSign
|
|
signpost 5, 6, SIGNPOST_READ, LavenderPokeCenterSignText
|
|
signpost 5, 2, SIGNPOST_READ, LavenderMartSignText
|
|
|
|
; people-events
|
|
db 4
|
|
person_event SPRITE_POKEFAN_M, 11, 16, UP << 2 | $1, $1, -1, -1, (PAL_OW_RED << 4) | $80, 0, PokefanMScript_0x1ad6e4, -1
|
|
person_event SPRITE_TEACHER, 19, 6, UP << 2 | $1, $1, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, TeacherScript_0x1ad6e7, -1
|
|
person_event SPRITE_GRAMPS, 16, 18, UP << 2 | $3, $0, -1, -1, $0, 0, GrampsScript_0x1ad6ea, -1
|
|
person_event SPRITE_YOUNGSTER, 15, 10, UP << 2 | $1, $1, -1, -1, (PAL_OW_GREEN << 4) | $80, 1, YoungsterScript_0x1ad6ed, -1
|