pokecrystal/maps/KrissNeighborsHouse.asm

123 lines
2.4 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const KRISSNEIGHBORSHOUSE_COOLTRAINER_F
const KRISSNEIGHBORSHOUSE_POKEFAN_F
2015-07-10 08:45:35 +00:00
KrissNeighborsHouse_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2015-06-26 04:01:08 +00:00
KrissNeighborsDaughter:
jumptextfaceplayer KrissNeighborsDaughterText
2015-06-26 04:01:08 +00:00
KrissNeighbor:
jumptextfaceplayer KrissNeighborText
2015-06-26 04:01:08 +00:00
KrissNeighborsHouseBookshelf:
jumpstd magazinebookshelf
2015-06-26 04:01:08 +00:00
KrissNeighborsHouseRadio:
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
2015-06-26 04:01:08 +00:00
iftrue .NormalRadio
checkevent EVENT_LISTENED_TO_INITIAL_RADIO
iftrue .AbbreviatedRadio
playmusic MUSIC_POKEMON_TALK
2015-12-09 23:25:44 +00:00
opentext
2015-06-26 04:01:08 +00:00
writetext KrisNeighborRadioText1
pause 45
2015-06-26 04:01:08 +00:00
writetext KrisNeighborRadioText2
pause 45
2015-06-26 04:01:08 +00:00
writetext KrisNeighborRadioText3
pause 45
2015-06-26 04:01:08 +00:00
musicfadeout MUSIC_NEW_BARK_TOWN, $10
writetext KrisNeighborRadioText4
pause 45
2015-11-25 15:16:29 +00:00
closetext
2015-06-26 04:01:08 +00:00
setevent EVENT_LISTENED_TO_INITIAL_RADIO
end
.NormalRadio:
2015-06-23 21:02:58 +00:00
jumpstd radio1
.AbbreviatedRadio:
2015-12-09 23:25:44 +00:00
opentext
2015-06-26 04:01:08 +00:00
writetext KrisNeighborRadioText4
pause 45
2015-11-25 15:16:29 +00:00
closetext
end
2015-06-26 04:01:08 +00:00
KrissNeighborsDaughterText:
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
2015-06-26 04:01:08 +00:00
KrissNeighborText:
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
2015-06-26 04:01:08 +00:00
KrisNeighborRadioText1:
text "PROF.OAK'S #MON"
line "TALK! Please tune"
cont "in next time!"
done
2015-06-26 04:01:08 +00:00
KrisNeighborRadioText2:
text "#MON CHANNEL!"
done
2015-06-26 04:01:08 +00:00
KrisNeighborRadioText3:
text "This is DJ MARY,"
line "your co-host!"
done
2015-06-26 04:01:08 +00:00
KrisNeighborRadioText4:
text "#MON!"
line "#MON CHANNEL…"
done
2015-07-10 08:45:35 +00:00
KrissNeighborsHouse_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 3, NEW_BARK_TOWN
warp_def $7, $3, 3, NEW_BARK_TOWN
.CoordEvents:
db 0
.BGEvents:
db 3
bg_event 1, 0, BGEVENT_READ, KrissNeighborsHouseBookshelf
bg_event 1, 1, BGEVENT_READ, KrissNeighborsHouseBookshelf
bg_event 1, 7, BGEVENT_READ, KrissNeighborsHouseRadio
.ObjectEvents:
db 2
object_event SPRITE_COOLTRAINER_F, 3, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, KrissNeighborsDaughter, -1
object_event SPRITE_POKEFAN_F, 3, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, KrissNeighbor, EVENT_KRISS_NEIGHBORS_HOUSE_NEIGHBOR