pokecrystal-board/maps/KrissHouse2F.asm

139 lines
2.2 KiB
NASM
Raw Normal View History

2015-07-10 01:45:35 -07:00
KrissHouse2F_MapScriptHeader:
; trigger count
db 0
; callback count
db 2
; callbacks
dbw 5, UnknownScript_0x7abb4
dbw 1, UnknownScript_0x7abc5
2015-07-10 01:45:35 -07:00
UnknownScript_0x7abb3:
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7abb4:
special Function27043
2013-09-24 00:48:58 -07:00
setevent $0007
checkevent $0036
iftrue UnknownScript_0x7abc4
2015-06-24 18:26:24 -07:00
jumpstd initializeevents
return
2015-07-10 01:45:35 -07:00
UnknownScript_0x7abc4:
return
2015-07-10 01:45:35 -07:00
UnknownScript_0x7abc5:
special Function26feb
return
2013-04-30 20:10:21 -07:00
db 0, 0, 0 ; filler
2015-06-25 21:01:08 -07:00
Doll1:
describedecoration $1
2015-06-25 21:01:08 -07:00
Doll2:
describedecoration $2
2015-06-25 21:01:08 -07:00
BigDoll:
describedecoration $3
2015-06-25 21:01:08 -07:00
GameConsole:
describedecoration $4
2015-06-25 21:01:08 -07:00
KrissHousePoster:
2013-09-24 00:48:58 -07:00
dw $02cc ; event
2015-06-25 21:01:08 -07:00
dw .Script
.Script
describedecoration $0
2015-06-25 21:01:08 -07:00
KrissHouseRadio:
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
loadfont
2015-06-25 21:01:08 -07:00
writetext KrisRadioText1
pause 45
2015-06-25 21:01:08 -07:00
writetext KrisRadioText2
pause 45
2015-06-25 21:01:08 -07:00
writetext KrisRadioText3
pause 45
2015-06-25 21:01:08 -07:00
musicfadeout MUSIC_NEW_BARK_TOWN, $10
writetext KrisRadioText4
pause 45
loadmovesprites
2015-06-25 21:01:08 -07:00
setevent EVENT_LISTENED_TO_INITIAL_RADIO
end
2015-06-25 21:01:08 -07:00
.NormalRadio
2015-06-23 14:02:58 -07:00
jumpstd radio1
2015-06-25 21:01:08 -07:00
.AbbreviatedRadio
loadfont
2015-06-25 21:01:08 -07:00
writetext KrisRadioText4
pause 45
loadmovesprites
end
2015-06-25 21:01:08 -07:00
KrissHouseBookshelf:
jumpstd picturebookshelf
2015-06-25 21:01:08 -07:00
KrissHousePC:
loadfont
special Functionc2e7
2015-06-25 21:01:08 -07:00
iftrue .Warp
loadmovesprites
end
2015-06-25 21:01:08 -07:00
.Warp
warp 0, 0, $0, $0
end
2015-06-25 21:01:08 -07:00
KrisRadioText1:
text "PROF.OAK'S #MON"
line "TALK! Please tune"
cont "in next time!"
done
2015-06-25 21:01:08 -07:00
KrisRadioText2:
text "#MON CHANNEL!"
done
2015-06-25 21:01:08 -07:00
KrisRadioText3:
text "This is DJ MARY,"
line "your co-host!"
done
2015-06-25 21:01:08 -07:00
KrisRadioText4:
text "#MON!"
line "#MON CHANNEL…"
done
2015-07-10 01:45:35 -07:00
KrissHouse2F_MapEventHeader:
; filler
db 0, 0
; warps
db 1
warp_def $0, $7, 3, GROUP_KRISS_HOUSE_1F, MAP_KRISS_HOUSE_1F
; xy triggers
db 0
; signposts
db 4
2015-06-25 21:01:08 -07:00
signpost 1, 2, $1, KrissHousePC
signpost 1, 3, $0, KrissHouseRadio
signpost 1, 5, $0, KrissHouseBookshelf
signpost 0, 6, $5, KrissHousePoster
; people-events
db 4
2015-06-25 21:01:08 -07:00
person_event SPRITE_CONSOLE, 6, 8, $1, $0, 255, 255, $0, 0, GameConsole, $0741
person_event SPRITE_DOLL_1, 8, 8, $1, $0, 255, 255, $0, 0, Doll1, $0742
person_event SPRITE_DOLL_2, 8, 9, $1, $0, 255, 255, $0, 0, Doll2, $0743
person_event SPRITE_BIG_DOLL, 5, 4, $21, $0, 255, 255, $0, 0, BigDoll, $0744