pokecrystal/maps/KrissHouse2F.asm

139 lines
2.4 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
KrissHouse2F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 2
; callbacks
dbw 5, .InitializeRoom
dbw 1, .SetSpawn
.Null:
end
.InitializeRoom:
special ToggleDecorationsVisibility
setevent EVENT_IN_YOUR_ROOM
checkevent EVENT_INITIALIZED_EVENTS
iftrue .SkipInizialization
2015-06-25 01:26:24 +00:00
jumpstd initializeevents
return
.SkipInizialization:
return
.SetSpawn:
special ToggleMaptileDecorations
return
2013-05-01 03:10:21 +00:00
db 0, 0, 0 ; filler
2015-06-26 04:01:08 +00:00
Doll1:
describedecoration $1
2015-06-26 04:01:08 +00:00
Doll2:
describedecoration $2
2015-06-26 04:01:08 +00:00
BigDoll:
describedecoration $3
2015-06-26 04:01:08 +00:00
GameConsole:
describedecoration $4
2015-06-26 04:01:08 +00:00
KrissHousePoster:
dw EVENT_KRISS_ROOM_POSTER ; event
2015-06-26 04:01:08 +00:00
dw .Script
.Script
describedecoration $0
2015-06-26 04:01:08 +00:00
KrissHouseRadio:
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
loadfont
2015-06-26 04:01:08 +00:00
writetext KrisRadioText1
pause 45
2015-06-26 04:01:08 +00:00
writetext KrisRadioText2
pause 45
2015-06-26 04:01:08 +00:00
writetext KrisRadioText3
pause 45
2015-06-26 04:01:08 +00:00
musicfadeout MUSIC_NEW_BARK_TOWN, $10
writetext KrisRadioText4
pause 45
loadmovesprites
2015-06-26 04:01:08 +00:00
setevent EVENT_LISTENED_TO_INITIAL_RADIO
end
2015-06-26 04:01:08 +00:00
.NormalRadio
2015-06-23 21:02:58 +00:00
jumpstd radio1
2015-06-26 04:01:08 +00:00
.AbbreviatedRadio
loadfont
2015-06-26 04:01:08 +00:00
writetext KrisRadioText4
pause 45
loadmovesprites
end
2015-06-26 04:01:08 +00:00
KrissHouseBookshelf:
jumpstd picturebookshelf
2015-06-26 04:01:08 +00:00
KrissHousePC:
loadfont
special Special_KrissHousePC
2015-06-26 04:01:08 +00:00
iftrue .Warp
loadmovesprites
end
2015-06-26 04:01:08 +00:00
.Warp
warp NONE, $0, $0
end
2015-06-26 04:01:08 +00:00
KrisRadioText1:
text "PROF.OAK'S #MON"
line "TALK! Please tune"
cont "in next time!"
done
2015-06-26 04:01:08 +00:00
KrisRadioText2:
text "#MON CHANNEL!"
done
2015-06-26 04:01:08 +00:00
KrisRadioText3:
text "This is DJ MARY,"
line "your co-host!"
done
2015-06-26 04:01:08 +00:00
KrisRadioText4:
text "#MON!"
line "#MON CHANNEL…"
done
2015-07-10 08:45:35 +00:00
KrissHouse2F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $0, $7, 3, KRISS_HOUSE_1F
.XYTriggers:
db 0
.Signposts:
db 4
signpost 1, 2, SIGNPOST_UP, KrissHousePC
signpost 1, 3, SIGNPOST_READ, KrissHouseRadio
signpost 1, 5, SIGNPOST_READ, KrissHouseBookshelf
signpost 0, 6, SIGNPOST_IFSET, KrissHousePoster
.PersonEvents:
db 4
2015-10-24 14:34:19 +00:00
person_event SPRITE_CONSOLE, 2, 4, $1, 0, 0, -1, -1, 0, 0, 0, GameConsole, EVENT_KRISS_HOUSE_2F_CONSOLE
person_event SPRITE_DOLL_1, 4, 4, $1, 0, 0, -1, -1, 0, 0, 0, Doll1, EVENT_KRISS_HOUSE_2F_DOLL_1
person_event SPRITE_DOLL_2, 4, 5, $1, 0, 0, -1, -1, 0, 0, 0, Doll2, EVENT_KRISS_HOUSE_2F_DOLL_2
person_event SPRITE_BIG_DOLL, 1, 0, $21, 0, 0, -1, -1, 0, 0, 0, BigDoll, EVENT_KRISS_HOUSE_2F_BIG_DOLL