pokecrystal-board/maps/PlayersNeighborsHouse.asm

116 lines
2.5 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2018-01-22 16:10:09 -08:00
const PLAYERSNEIGHBORSHOUSE_COOLTRAINER_F
const PLAYERSNEIGHBORSHOUSE_POKEFAN_F
2015-11-26 21:22:14 -08:00
2018-01-22 16:10:09 -08:00
PlayersNeighborsHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
PlayersNeighborsDaughterScript:
2018-01-22 16:10:09 -08:00
jumptextfaceplayer PlayersNeighborsDaughterText
PlayersNeighborScript:
2018-01-22 16:10:09 -08:00
jumptextfaceplayer PlayersNeighborText
PlayersNeighborsHouseBookshelfScript:
jumpstd magazinebookshelf
PlayersNeighborsHouseRadioScript:
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
2015-06-25 21:01:08 -07:00
iftrue .NormalRadio
checkevent EVENT_LISTENED_TO_INITIAL_RADIO
iftrue .AbbreviatedRadio
playmusic MUSIC_POKEMON_TALK
2015-12-09 15:25:44 -08:00
opentext
2018-01-22 16:10:09 -08:00
writetext PlayerNeighborRadioText1
pause 45
2018-01-22 16:10:09 -08:00
writetext PlayerNeighborRadioText2
pause 45
2018-01-22 16:10:09 -08:00
writetext PlayerNeighborRadioText3
pause 45
2018-01-11 22:40:20 -08:00
musicfadeout MUSIC_NEW_BARK_TOWN, 16
2018-01-22 16:10:09 -08:00
writetext PlayerNeighborRadioText4
pause 45
2015-11-25 07:16:29 -08:00
closetext
2015-06-25 21:01:08 -07:00
setevent EVENT_LISTENED_TO_INITIAL_RADIO
end
.NormalRadio:
2015-06-23 14:02:58 -07:00
jumpstd radio1
.AbbreviatedRadio:
2015-12-09 15:25:44 -08:00
opentext
2018-01-22 16:10:09 -08:00
writetext PlayerNeighborRadioText4
pause 45
2015-11-25 07:16:29 -08:00
closetext
end
2018-01-22 16:10:09 -08:00
PlayersNeighborsDaughterText:
text "PIKACHU is an"
line "evolved #MON."
para "I was amazed by"
line "PROF.ELM's find-"
cont "ings."
para "He's so famous for"
line "his research on"
cont "#MON evolution."
para "…sigh…"
para "I wish I could be"
line "a researcher like"
cont "him…"
done
2018-01-22 16:10:09 -08:00
PlayersNeighborText:
text "My daughter is"
line "adamant about"
para "becoming PROF."
line "ELM's assistant."
para "She really loves"
line "#MON!"
para "But then, so do I!"
done
2018-01-22 16:10:09 -08:00
PlayerNeighborRadioText1:
text "PROF.OAK'S #MON"
line "TALK! Please tune"
cont "in next time!"
done
2018-01-22 16:10:09 -08:00
PlayerNeighborRadioText2:
text "#MON CHANNEL!"
done
2018-01-22 16:10:09 -08:00
PlayerNeighborRadioText3:
text "This is DJ MARY,"
line "your co-host!"
done
2018-01-22 16:10:09 -08:00
PlayerNeighborRadioText4:
text "#MON!"
line "#MON CHANNEL…"
done
2018-01-22 16:10:09 -08:00
PlayersNeighborsHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, NEW_BARK_TOWN, 3
warp_event 3, 7, NEW_BARK_TOWN, 3
db 0 ; coord events
db 3 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 0, 1, BGEVENT_READ, PlayersNeighborsHouseBookshelfScript
bg_event 1, 1, BGEVENT_READ, PlayersNeighborsHouseBookshelfScript
bg_event 7, 1, BGEVENT_READ, PlayersNeighborsHouseRadioScript
db 2 ; object events
2018-02-01 19:22:07 -08:00
object_event 2, 3, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, PlayersNeighborsDaughterScript, -1
object_event 5, 3, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, PlayersNeighborScript, EVENT_PLAYERS_NEIGHBORS_HOUSE_NEIGHBOR