2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2018-01-22 16:10:09 -08:00
|
|
|
const PLAYERSHOUSE2F_CONSOLE
|
|
|
|
const PLAYERSHOUSE2F_DOLL_1
|
|
|
|
const PLAYERSHOUSE2F_DOLL_2
|
|
|
|
const PLAYERSHOUSE2F_BIG_DOLL
|
2015-11-26 21:22:14 -08:00
|
|
|
|
2018-01-22 16:10:09 -08:00
|
|
|
PlayersHouse2F_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_NEWMAP, .InitializeRoom
|
2020-04-16 06:30:50 -07:00
|
|
|
callback MAPCALLBACK_TILES, .SetUpTileDecorations
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
.DummyScene: ; unreferenced
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-19 01:58:31 -07:00
|
|
|
.InitializeRoom:
|
2018-01-24 08:17:05 -08:00
|
|
|
special ToggleDecorationsVisibility
|
2018-01-24 07:46:49 -08:00
|
|
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_8
|
2015-07-19 01:58:31 -07:00
|
|
|
checkevent EVENT_INITIALIZED_EVENTS
|
2018-01-12 21:47:38 -08:00
|
|
|
iftrue .SkipInitialization
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd InitializeEventsScript
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-12 21:47:38 -08:00
|
|
|
.SkipInitialization:
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-04-16 06:30:50 -07:00
|
|
|
.SetUpTileDecorations:
|
2018-01-24 08:17:05 -08:00
|
|
|
special ToggleMaptileDecorations
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2013-04-30 20:10:21 -07:00
|
|
|
db 0, 0, 0 ; filler
|
|
|
|
|
2020-05-05 06:55:19 -07:00
|
|
|
Doll1Script::
|
2018-01-11 22:40:20 -08:00
|
|
|
describedecoration DECODESC_LEFT_DOLL
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2018-01-24 08:12:02 -08:00
|
|
|
Doll2Script:
|
2018-01-11 22:40:20 -08:00
|
|
|
describedecoration DECODESC_RIGHT_DOLL
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2018-01-24 08:12:02 -08:00
|
|
|
BigDollScript:
|
2018-01-11 22:40:20 -08:00
|
|
|
describedecoration DECODESC_BIG_DOLL
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2018-01-24 08:12:02 -08:00
|
|
|
GameConsoleScript:
|
2018-01-11 22:40:20 -08:00
|
|
|
describedecoration DECODESC_CONSOLE
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2019-10-31 10:55:42 -07:00
|
|
|
PosterScript:
|
2018-01-22 16:10:09 -08:00
|
|
|
conditional_event EVENT_PLAYERS_ROOM_POSTER, .Script
|
2017-12-10 14:53:21 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Script:
|
2018-01-11 22:40:20 -08:00
|
|
|
describedecoration DECODESC_POSTER
|
2013-03-01 13:22:35 -08:00
|
|
|
|
2018-01-24 08:12:02 -08:00
|
|
|
PlayersHouseRadioScript:
|
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
|
2018-01-22 16:10:09 -08:00
|
|
|
writetext PlayersRadioText1
|
2013-03-01 13:22:35 -08:00
|
|
|
pause 45
|
2018-01-22 16:10:09 -08:00
|
|
|
writetext PlayersRadioText2
|
2013-03-01 13:22:35 -08:00
|
|
|
pause 45
|
2018-01-22 16:10:09 -08:00
|
|
|
writetext PlayersRadioText3
|
2013-03-01 13:22:35 -08:00
|
|
|
pause 45
|
2015-12-26 15:11:55 -08:00
|
|
|
musicfadeout MUSIC_NEW_BARK_TOWN, 16
|
2018-01-22 16:10:09 -08:00
|
|
|
writetext PlayersRadioText4
|
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
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.NormalRadio:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd Radio1Script
|
2015-11-02 14:38:08 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.AbbreviatedRadio:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-01-22 16:10:09 -08:00
|
|
|
writetext PlayersRadioText4
|
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
|
|
|
|
2018-01-24 08:12:02 -08:00
|
|
|
PlayersHouseBookshelfScript:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd PictureBookshelfScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-24 08:12:02 -08:00
|
|
|
PlayersHousePCScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-01-24 08:17:05 -08:00
|
|
|
special PlayersHousePC
|
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
|
2016-04-10 11:42:14 -07:00
|
|
|
.Warp:
|
2018-01-09 15:45:25 -08:00
|
|
|
warp NONE, 0, 0
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-01-22 16:10:09 -08:00
|
|
|
PlayersRadioText1:
|
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
|
|
|
|
2018-01-22 16:10:09 -08:00
|
|
|
PlayersRadioText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "#MON CHANNEL!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-22 16:10:09 -08:00
|
|
|
PlayersRadioText3:
|
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
|
|
|
|
2018-01-22 16:10:09 -08:00
|
|
|
PlayersRadioText4:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "#MON!"
|
|
|
|
line "#MON CHANNEL…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-22 16:10:09 -08:00
|
|
|
PlayersHouse2F_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 7, 0, PLAYERS_HOUSE_1F, 3
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 2, 1, BGEVENT_UP, PlayersHousePCScript
|
|
|
|
bg_event 3, 1, BGEVENT_READ, PlayersHouseRadioScript
|
|
|
|
bg_event 5, 1, BGEVENT_READ, PlayersHouseBookshelfScript
|
2019-10-31 10:55:42 -07:00
|
|
|
bg_event 6, 0, BGEVENT_IFSET, PosterScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 4, 2, SPRITE_CONSOLE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GameConsoleScript, EVENT_PLAYERS_HOUSE_2F_CONSOLE
|
|
|
|
object_event 4, 4, SPRITE_DOLL_1, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Doll1Script, EVENT_PLAYERS_HOUSE_2F_DOLL_1
|
|
|
|
object_event 5, 4, SPRITE_DOLL_2, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Doll2Script, EVENT_PLAYERS_HOUSE_2F_DOLL_2
|
|
|
|
object_event 0, 1, SPRITE_BIG_DOLL, SPRITEMOVEDATA_BIGDOLL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BigDollScript, EVENT_PLAYERS_HOUSE_2F_BIG_DOLL
|