2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const KRISSHOUSE2F_CONSOLE
|
|
|
|
const KRISSHOUSE2F_DOLL_1
|
|
|
|
const KRISSHOUSE2F_DOLL_2
|
|
|
|
const KRISSHOUSE2F_BIG_DOLL
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
KrissHouse2F_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2016-01-06 04:44:50 -08:00
|
|
|
dbw MAPCALLBACK_NEWMAP, .InitializeRoom
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-01-06 04:44:50 -08:00
|
|
|
dbw MAPCALLBACK_TILES, .SetSpawn
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-19 01:58:31 -07:00
|
|
|
.Null:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-19 01:58:31 -07:00
|
|
|
.InitializeRoom:
|
2015-07-18 20:45:39 -07:00
|
|
|
special ToggleDecorationsVisibility
|
2015-07-20 00:51:52 -07:00
|
|
|
setevent EVENT_IN_YOUR_ROOM
|
2015-07-19 01:58:31 -07:00
|
|
|
checkevent EVENT_INITIALIZED_EVENTS
|
|
|
|
iftrue .SkipInizialization
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd initializeevents
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-19 01:58:31 -07:00
|
|
|
.SkipInizialization:
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-19 01:58:31 -07:00
|
|
|
.SetSpawn:
|
|
|
|
special ToggleMaptileDecorations
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2013-04-30 20:10:21 -07:00
|
|
|
|
|
|
|
db 0, 0, 0 ; filler
|
|
|
|
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
Doll1:
|
2015-12-26 15:11:55 -08:00
|
|
|
describedecoration 1
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
Doll2:
|
2015-12-26 15:11:55 -08:00
|
|
|
describedecoration 2
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BigDoll:
|
2015-12-26 15:11:55 -08:00
|
|
|
describedecoration 3
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
GameConsole:
|
2015-12-26 15:11:55 -08:00
|
|
|
describedecoration 4
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
KrissHousePoster:
|
2015-12-26 15:11:55 -08:00
|
|
|
dw EVENT_KRISS_ROOM_POSTER, .Script
|
2015-06-25 21:01:08 -07:00
|
|
|
.Script
|
2015-12-26 15:11:55 -08:00
|
|
|
describedecoration 0
|
2013-03-01 13:22:35 -08:00
|
|
|
|
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
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_POKEMON_TALK
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext KrisRadioText1
|
2013-03-01 13:22:35 -08:00
|
|
|
pause 45
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext KrisRadioText2
|
2013-03-01 13:22:35 -08:00
|
|
|
pause 45
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext KrisRadioText3
|
2013-03-01 13:22:35 -08:00
|
|
|
pause 45
|
2015-12-26 15:11:55 -08:00
|
|
|
musicfadeout MUSIC_NEW_BARK_TOWN, 16
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext KrisRadioText4
|
2013-03-01 13:22:35 -08:00
|
|
|
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
|
2013-03-01 13:22:35 -08:00
|
|
|
end
|
2015-11-02 14:38:08 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
.NormalRadio
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd radio1
|
2015-11-02 14:38:08 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
.AbbreviatedRadio
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext KrisRadioText4
|
2013-03-01 13:22:35 -08:00
|
|
|
pause 45
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-03-01 13:22:35 -08:00
|
|
|
end
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
KrissHouseBookshelf:
|
2015-06-23 13:21:54 -07:00
|
|
|
jumpstd picturebookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
KrissHousePC:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-20 15:59:26 -07:00
|
|
|
special Special_KrissHousePC
|
2015-06-25 21:01:08 -07:00
|
|
|
iftrue .Warp
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
2015-06-25 21:01:08 -07:00
|
|
|
.Warp
|
2015-07-23 09:59:19 -07:00
|
|
|
warp NONE, $0, $0
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
KrisRadioText1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "PROF.OAK'S #MON"
|
|
|
|
line "TALK! Please tune"
|
|
|
|
cont "in next time!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
KrisRadioText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "#MON CHANNEL!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
KrisRadioText3:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "This is DJ MARY,"
|
|
|
|
line "your co-host!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
KrisRadioText4:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "#MON!"
|
|
|
|
line "#MON CHANNEL…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
KrissHouse2F_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $0, $7, 3, KRISS_HOUSE_1F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 1, 2, SIGNPOST_UP, KrissHousePC
|
|
|
|
signpost 1, 3, SIGNPOST_READ, KrissHouseRadio
|
|
|
|
signpost 1, 5, SIGNPOST_READ, KrissHouseBookshelf
|
|
|
|
signpost 0, 6, SIGNPOST_IFSET, KrissHousePoster
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_CONSOLE, 2, 4, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GameConsole, EVENT_KRISS_HOUSE_2F_CONSOLE
|
|
|
|
person_event SPRITE_DOLL_1, 4, 4, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Doll1, EVENT_KRISS_HOUSE_2F_DOLL_1
|
|
|
|
person_event SPRITE_DOLL_2, 4, 5, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Doll2, EVENT_KRISS_HOUSE_2F_DOLL_2
|
|
|
|
person_event SPRITE_BIG_DOLL, 1, 0, SPRITEMOVEDATA_BIGDOLL, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BigDoll, EVENT_KRISS_HOUSE_2F_BIG_DOLL
|