2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const KRISSHOUSE2F_CONSOLE
|
|
|
|
const KRISSHOUSE2F_DOLL_1
|
|
|
|
const KRISSHOUSE2F_DOLL_2
|
|
|
|
const KRISSHOUSE2F_BIG_DOLL
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
KrissHouse2F_MapScriptHeader:
|
2017-12-24 18:46:34 +00:00
|
|
|
.SceneScripts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_NEWMAP, .InitializeRoom
|
|
|
|
callback MAPCALLBACK_TILES, .SetSpawn
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-13 05:47:38 +00:00
|
|
|
; unused
|
2015-07-19 08:58:31 +00:00
|
|
|
.Null:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-19 08:58:31 +00:00
|
|
|
.InitializeRoom:
|
2018-01-02 16:13:57 +00:00
|
|
|
special Special_ToggleDecorationsVisibility
|
2015-07-20 07:51:52 +00:00
|
|
|
setevent EVENT_IN_YOUR_ROOM
|
2015-07-19 08:58:31 +00:00
|
|
|
checkevent EVENT_INITIALIZED_EVENTS
|
2018-01-13 05:47:38 +00:00
|
|
|
iftrue .SkipInitialization
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd initializeevents
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2018-01-13 05:47:38 +00:00
|
|
|
.SkipInitialization:
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-19 08:58:31 +00:00
|
|
|
.SetSpawn:
|
2018-01-02 16:13:57 +00:00
|
|
|
special Special_ToggleMaptileDecorations
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2013-05-01 03:10:21 +00:00
|
|
|
db 0, 0, 0 ; filler
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
Doll1:
|
2018-01-12 06:40:20 +00:00
|
|
|
describedecoration DECODESC_LEFT_DOLL
|
2013-03-01 21:22:35 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
Doll2:
|
2018-01-12 06:40:20 +00:00
|
|
|
describedecoration DECODESC_RIGHT_DOLL
|
2013-03-01 21:22:35 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
BigDoll:
|
2018-01-12 06:40:20 +00:00
|
|
|
describedecoration DECODESC_BIG_DOLL
|
2013-03-01 21:22:35 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
GameConsole:
|
2018-01-12 06:40:20 +00:00
|
|
|
describedecoration DECODESC_CONSOLE
|
2013-03-01 21:22:35 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
KrissHousePoster:
|
2018-01-13 05:47:38 +00:00
|
|
|
conditional_event EVENT_KRISS_ROOM_POSTER, .Script
|
2017-12-10 22:53:21 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Script:
|
2018-01-12 06:40:20 +00:00
|
|
|
describedecoration DECODESC_POSTER
|
2013-03-01 21:22:35 +00:00
|
|
|
|
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
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_POKEMON_TALK
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext KrisRadioText1
|
2013-03-01 21:22:35 +00:00
|
|
|
pause 45
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext KrisRadioText2
|
2013-03-01 21:22:35 +00:00
|
|
|
pause 45
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext KrisRadioText3
|
2013-03-01 21:22:35 +00:00
|
|
|
pause 45
|
2015-12-26 23:11:55 +00:00
|
|
|
musicfadeout MUSIC_NEW_BARK_TOWN, 16
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext KrisRadioText4
|
2013-03-01 21:22:35 +00:00
|
|
|
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
|
2013-03-01 21:22:35 +00:00
|
|
|
end
|
2015-11-02 22:38:08 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.NormalRadio:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd radio1
|
2015-11-02 22:38:08 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.AbbreviatedRadio:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext KrisRadioText4
|
2013-03-01 21:22:35 +00:00
|
|
|
pause 45
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-03-01 21:22:35 +00:00
|
|
|
end
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
KrissHouseBookshelf:
|
2015-06-23 20:21:54 +00:00
|
|
|
jumpstd picturebookshelf
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
KrissHousePC:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-20 22:59:26 +00:00
|
|
|
special Special_KrissHousePC
|
2015-06-26 04:01:08 +00:00
|
|
|
iftrue .Warp
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
2016-04-10 18:42:14 +00:00
|
|
|
.Warp:
|
2018-01-09 23:45:25 +00:00
|
|
|
warp NONE, 0, 0
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
KrisRadioText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "PROF.OAK'S #MON"
|
|
|
|
line "TALK! Please tune"
|
|
|
|
cont "in next time!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
KrisRadioText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "#MON CHANNEL!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
KrisRadioText3:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "This is DJ MARY,"
|
|
|
|
line "your co-host!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
KrisRadioText4:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "#MON!"
|
|
|
|
line "#MON CHANNEL…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
KrissHouse2F_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2017-12-28 19:31:25 +00:00
|
|
|
warp_def 7, 0, 3, KRISS_HOUSE_1F
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.CoordEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.BGEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 4
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 2, 1, BGEVENT_UP, KrissHousePC
|
|
|
|
bg_event 3, 1, BGEVENT_READ, KrissHouseRadio
|
|
|
|
bg_event 5, 1, BGEVENT_READ, KrissHouseBookshelf
|
|
|
|
bg_event 6, 0, BGEVENT_IFSET, KrissHousePoster
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.ObjectEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 4
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 4, 2, SPRITE_CONSOLE, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GameConsole, EVENT_KRISS_HOUSE_2F_CONSOLE
|
|
|
|
object_event 4, 4, SPRITE_DOLL_1, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Doll1, EVENT_KRISS_HOUSE_2F_DOLL_1
|
|
|
|
object_event 5, 4, SPRITE_DOLL_2, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Doll2, EVENT_KRISS_HOUSE_2F_DOLL_2
|
|
|
|
object_event 0, 1, SPRITE_BIG_DOLL, SPRITEMOVEDATA_BIGDOLL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BigDoll, EVENT_KRISS_HOUSE_2F_BIG_DOLL
|