pokecrystal/maps/LavenderTown.asm

140 lines
3.0 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const LAVENDERTOWN_POKEFAN_M
const LAVENDERTOWN_TEACHER
const LAVENDERTOWN_GRAMPS
const LAVENDERTOWN_YOUNGSTER
2015-06-26 04:01:08 +00:00
LavenderTown_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 1
2016-01-06 12:44:50 +00:00
dbw MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
2015-06-26 05:30:16 +00:00
setflag ENGINE_FLYPOINT_LAVENDER
return
2017-12-18 00:48:04 +00:00
LavenderTownPokefanMScript:
jumptextfaceplayer LavenderTownPokefanMText
2017-12-18 00:48:04 +00:00
LavenderTownTeacherScript:
jumptextfaceplayer LavenderTownTeacherText
2017-12-18 00:48:04 +00:00
LavenderTownGrampsScript:
jumptextfaceplayer LavenderTownGrampsText
2017-12-18 00:48:04 +00:00
LavenderTownYoungsterScript:
jumptextfaceplayer LavenderTownYoungsterText
2015-06-26 04:01:08 +00:00
LavenderTownSign:
jumptext LavenderTownSignText
2015-06-26 04:01:08 +00:00
KantoRadioStationSign:
jumptext KantoRadioStationSignText
2015-06-26 04:01:08 +00:00
VolunteerPokemonHouseSign:
jumptext VolunteerPokemonHouseSignText
2015-06-26 04:01:08 +00:00
SoulHouseSign:
jumptext SoulHouseSignText
LavenderPokecenterSignText:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
LavenderMartSignText:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2017-12-18 00:48:04 +00:00
LavenderTownPokefanMText:
text "That's quite some"
line "building, eh?"
para "It's KANTO's RADIO"
line "TOWER."
done
2017-12-18 00:48:04 +00:00
LavenderTownTeacherText:
text "KANTO has many"
line "good radio shows."
done
2017-12-18 00:48:04 +00: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-18 00:48:04 +00:00
LavenderTownYoungsterText:
text "You need a #"
line "FLUTE to wake"
cont "sleeping #MON."
para "Every trainer has"
line "to know that!"
done
2015-06-26 04:01:08 +00:00
LavenderTownSignText:
text "LAVENDER TOWN"
para "The Noble Purple"
line "Town"
done
2015-06-26 04:01:08 +00:00
KantoRadioStationSignText:
text "KANTO RADIO"
line "STATION"
para "Your Favorite"
line "Programs On-Air"
cont "Around the Clock!"
done
2015-06-26 04:01:08 +00:00
VolunteerPokemonHouseSignText:
text "LAVENDER VOLUNTEER"
line "#MON HOUSE"
done
2015-06-26 04:01:08 +00:00
SoulHouseSignText:
text "SOUL HOUSE"
para "May the Souls of"
line "#MON Rest Easy"
done
2015-06-26 04:01:08 +00:00
LavenderTown_MapEventHeader:
; filler
db 0, 0
.Warps:
db 7
warp_def $5, $5, 1, LAVENDER_POKECENTER_1F
warp_def $9, $5, 1, MR_FUJIS_HOUSE
warp_def $d, $3, 1, LAVENDER_TOWN_SPEECH_HOUSE
warp_def $d, $7, 1, LAVENDER_NAME_RATER
warp_def $5, $1, 2, LAVENDER_MART
warp_def $b, $d, 1, SOUL_HOUSE
warp_def $5, $e, 1, LAV_RADIO_TOWER_1F
.CoordEvents:
db 0
.BGEvents:
db 6
bg_event 3, 11, BGEVENT_READ, LavenderTownSign
bg_event 7, 15, BGEVENT_READ, KantoRadioStationSign
bg_event 9, 3, BGEVENT_READ, VolunteerPokemonHouseSign
bg_event 13, 15, BGEVENT_READ, SoulHouseSign
bg_event 5, 6, BGEVENT_READ, LavenderPokecenterSignText
bg_event 5, 2, BGEVENT_READ, LavenderMartSignText
.ObjectEvents:
db 4
object_event SPRITE_POKEFAN_M, 7, 12, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LavenderTownPokefanMScript, -1
object_event SPRITE_TEACHER, 15, 2, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, LavenderTownTeacherScript, -1
object_event SPRITE_GRAMPS, 12, 14, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LavenderTownGrampsScript, -1
object_event SPRITE_YOUNGSTER, 11, 6, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 1, LavenderTownYoungsterScript, -1