2018-01-16 19:57:19 -08:00
|
|
|
MobileBattleRoom_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; scene scripts
|
2018-02-01 09:40:58 -08:00
|
|
|
scene_script .InitializeMobileBattleRoom ; SCENE_DEFAULT
|
2018-02-01 12:06:06 -08:00
|
|
|
scene_script .DummyScene ; SCENE_FINISHED
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.InitializeMobileBattleRoom:
|
2017-12-10 19:34:42 -08:00
|
|
|
priorityjump .InitializeAndPreparePokecenter2F
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
.InitializeAndPreparePokecenter2F:
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2018-02-01 09:40:58 -08:00
|
|
|
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
MobileBattleRoomConsoleScript:
|
2018-01-11 22:40:20 -08:00
|
|
|
refreshscreen
|
2018-01-24 08:17:05 -08:00
|
|
|
special Function1037c2
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal $1, .one
|
2018-01-24 08:17:05 -08:00
|
|
|
special Function1037eb
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .false
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal $1, .one_
|
|
|
|
ifequal $2, .two_
|
2015-07-16 15:10:10 -07:00
|
|
|
jump .false
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 12:01:49 -07:00
|
|
|
.one_
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext MobileBattleRoom_HealText
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 20
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeOutPalettes
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_HEAL
|
2018-01-24 08:17:05 -08:00
|
|
|
special LoadMapPalettes
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 60
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeInPalettes
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2018-01-11 22:40:20 -08:00
|
|
|
refreshscreen
|
2016-04-10 12:01:49 -07:00
|
|
|
.two_
|
2018-01-24 08:17:05 -08:00
|
|
|
special StubbedTrainerRankings_Healings
|
2015-06-26 23:24:55 -07:00
|
|
|
special HealParty
|
2018-01-24 08:17:05 -08:00
|
|
|
special Function10383c
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue .false
|
2016-04-10 12:01:49 -07:00
|
|
|
.one
|
2018-01-24 08:17:05 -08:00
|
|
|
special Function10387b
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext MobileBattleRoom_EstablishingCommsText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2018-01-24 08:17:05 -08:00
|
|
|
special Function101225
|
2016-04-10 12:01:49 -07:00
|
|
|
.false
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
MobileBattleRoom_EstablishingCommsText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Establishing"
|
|
|
|
line "communications…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
MobileBattleRoom_HealText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Your #MON will"
|
|
|
|
line "be fully healed"
|
|
|
|
cont "before battle."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
MobileBattleRoom_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 4, 7, POKECENTER_2F, 6
|
|
|
|
warp_event 5, 7, POKECENTER_2F, 6
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; bg events
|
2018-02-27 16:33:38 -08:00
|
|
|
bg_event 4, 2, BGEVENT_UP, MobileBattleRoomConsoleScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; object events
|