2015-07-10 01:45:35 -07:00
|
|
|
MobileBattleRoom_MapScriptHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-07-16 15:10:10 -07:00
|
|
|
dw .Trigger1, $0000
|
|
|
|
dw .Trigger2, $0000
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger1:
|
|
|
|
priorityjump MobileBattleRoom_Initialize
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Trigger2:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
MobileBattleRoom_Initialize:
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $1
|
|
|
|
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $5
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapMobileBattleRoomSignpost0Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
refreshscreen $0
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function1037c2
|
2015-07-16 15:10:10 -07:00
|
|
|
if_equal $1, .one
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function1037eb
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .false
|
|
|
|
if_equal $1, .one_
|
|
|
|
if_equal $2, .two_
|
|
|
|
jump .false
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.one_:
|
|
|
|
writetext MobileBattleRoom_HealText
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 20
|
|
|
|
loadmovesprites
|
2015-07-20 00:51:52 -07:00
|
|
|
special FadeBlackBGMap
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_HEAL
|
2015-07-20 00:51:52 -07:00
|
|
|
special LoadMapPalettes
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 60
|
2015-07-20 00:51:52 -07:00
|
|
|
special FadeInBGMap
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
refreshscreen $0
|
2015-07-16 15:10:10 -07:00
|
|
|
.two_:
|
2015-07-15 12:48:44 -07:00
|
|
|
special Mobile_HealParty
|
2015-06-26 23:24:55 -07:00
|
|
|
special HealParty
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function10383c
|
2015-07-16 15:10:10 -07:00
|
|
|
iftrue .false
|
|
|
|
.one:
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function10387b
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext MobileBattleRoom_EstablishingCommsText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
reloadmappart
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function101225
|
2015-07-16 15:10:10 -07:00
|
|
|
.false:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MobileBattleRoom_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $7, $4, 6, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
|
|
|
|
warp_def $7, $5, 6, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 1
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 2, 4, SIGNPOST_UP, MapMobileBattleRoomSignpost0Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 0
|