2015-07-10 08:45:35 +00:00
|
|
|
MobileBattleRoom_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-07-16 22:10:10 +00:00
|
|
|
dw .Trigger1, $0000
|
|
|
|
dw .Trigger2, $0000
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.Trigger1:
|
|
|
|
priorityjump MobileBattleRoom_Initialize
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.Trigger2:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
MobileBattleRoom_Initialize:
|
2013-02-17 06:54:07 +00:00
|
|
|
dotrigger $1
|
|
|
|
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $5
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapMobileBattleRoomSignpost0Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $0
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function1037c2
|
2015-07-16 22:10:10 +00:00
|
|
|
if_equal $1, .one
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function1037eb
|
2015-07-16 22:10:10 +00:00
|
|
|
iffalse .false
|
|
|
|
if_equal $1, .one_
|
|
|
|
if_equal $2, .two_
|
|
|
|
jump .false
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.one_:
|
|
|
|
writetext MobileBattleRoom_HealText
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 20
|
|
|
|
loadmovesprites
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function8c084
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_HEAL
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function1047eb
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 60
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function8c079
|
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $0
|
2015-07-16 22:10:10 +00:00
|
|
|
.two_:
|
2015-07-15 19:48:44 +00:00
|
|
|
special Mobile_HealParty
|
2015-06-27 06:24:55 +00:00
|
|
|
special HealParty
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function10383c
|
2015-07-16 22:10:10 +00:00
|
|
|
iftrue .false
|
|
|
|
.one:
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function10387b
|
2015-07-16 22:10:10 +00:00
|
|
|
writetext MobileBattleRoom_EstablishingCommsText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
reloadmappart
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function101225
|
2015-07-16 22:10:10 +00:00
|
|
|
.false:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
MobileBattleRoom_EstablishingCommsText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Establishing"
|
|
|
|
line "communications…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
MobileBattleRoom_HealText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Your #MON will"
|
|
|
|
line "be fully healed"
|
|
|
|
cont "before battle."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MobileBattleRoom_MapEventHeader:
|
2013-02-17 06:54:07 +00: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 22:10:10 +00:00
|
|
|
signpost 2, 4, SIGNPOST_UP, MapMobileBattleRoomSignpost0Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 0
|