pokecrystal-board/maps/LavenderTown.asm

133 lines
3.1 KiB
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2015-11-26 21:22:14 -08:00
const LAVENDERTOWN_POKEFAN_M
const LAVENDERTOWN_TEACHER
const LAVENDERTOWN_GRAMPS
const LAVENDERTOWN_YOUNGSTER
LavenderTown_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
2015-06-25 22:30:16 -07:00
setflag ENGINE_FLYPOINT_LAVENDER
return
2017-12-17 16:48:04 -08:00
LavenderTownPokefanMScript:
jumptextfaceplayer LavenderTownPokefanMText
2017-12-17 16:48:04 -08:00
LavenderTownTeacherScript:
jumptextfaceplayer LavenderTownTeacherText
2017-12-17 16:48:04 -08:00
LavenderTownGrampsScript:
jumptextfaceplayer LavenderTownGrampsText
2017-12-17 16:48:04 -08:00
LavenderTownYoungsterScript:
jumptextfaceplayer LavenderTownYoungsterText
2015-06-25 21:01:08 -07:00
LavenderTownSign:
jumptext LavenderTownSignText
2015-06-25 21:01:08 -07:00
KantoRadioStationSign:
jumptext KantoRadioStationSignText
2015-06-25 21:01:08 -07:00
VolunteerPokemonHouseSign:
jumptext VolunteerPokemonHouseSignText
2015-06-25 21:01:08 -07:00
SoulHouseSign:
jumptext SoulHouseSignText
LavenderPokecenterSignText:
2015-06-23 14:02:58 -07:00
jumpstd pokecentersign
2015-06-25 21:01:08 -07:00
LavenderMartSignText:
2015-06-23 14:02:58 -07:00
jumpstd martsign
2017-12-17 16:48:04 -08:00
LavenderTownPokefanMText:
text "That's quite some"
line "building, eh?"
para "It's KANTO's RADIO"
line "TOWER."
done
2017-12-17 16:48:04 -08:00
LavenderTownTeacherText:
text "KANTO has many"
line "good radio shows."
done
2017-12-17 16:48:04 -08:00
LavenderTownGrampsText:
text "People come from"
line "all over to pay"
para "their respects to"
line "the departed souls"
cont "of #MON."
done
2017-12-17 16:48:04 -08:00
LavenderTownYoungsterText:
text "You need a #"
line "FLUTE to wake"
cont "sleeping #MON."
para "Every trainer has"
line "to know that!"
done
2015-06-25 21:01:08 -07:00
LavenderTownSignText:
text "LAVENDER TOWN"
para "The Noble Purple"
line "Town"
done
2015-06-25 21:01:08 -07:00
KantoRadioStationSignText:
text "KANTO RADIO"
line "STATION"
para "Your Favorite"
line "Programs On-Air"
cont "Around the Clock!"
done
2015-06-25 21:01:08 -07:00
VolunteerPokemonHouseSignText:
text "LAVENDER VOLUNTEER"
line "#MON HOUSE"
done
2015-06-25 21:01:08 -07:00
SoulHouseSignText:
text "SOUL HOUSE"
para "May the Souls of"
line "#MON Rest Easy"
done
LavenderTown_MapEvents:
db 0, 0 ; filler
db 7 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 5, 5, LAVENDER_POKECENTER_1F, 1
warp_event 5, 9, MR_FUJIS_HOUSE, 1
warp_event 3, 13, LAVENDER_SPEECH_HOUSE, 1
warp_event 7, 13, LAVENDER_NAME_RATER, 1
warp_event 1, 5, LAVENDER_MART, 2
2018-02-01 18:54:00 -08:00
warp_event 13, 11, SOUL_HOUSE, 1
2018-02-01 19:22:07 -08:00
warp_event 14, 5, LAV_RADIO_TOWER_1F, 1
db 0 ; coord events
db 6 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 11, 3, BGEVENT_READ, LavenderTownSign
bg_event 15, 7, BGEVENT_READ, KantoRadioStationSign
bg_event 3, 9, BGEVENT_READ, VolunteerPokemonHouseSign
bg_event 15, 13, BGEVENT_READ, SoulHouseSign
2018-02-01 19:22:07 -08:00
bg_event 6, 5, BGEVENT_READ, LavenderPokecenterSignText
bg_event 2, 5, BGEVENT_READ, LavenderMartSignText
db 4 ; object events
2018-02-01 19:22:07 -08:00
object_event 12, 7, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LavenderTownPokefanMScript, -1
object_event 2, 15, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, LavenderTownTeacherScript, -1
object_event 14, 12, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LavenderTownGrampsScript, -1
2018-02-01 19:22:07 -08:00
object_event 6, 11, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 1, LavenderTownYoungsterScript, -1