pokecrystal/maps/MobileBattleRoom.asm

91 lines
1.4 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
2015-07-10 08:45:35 +00:00
MobileBattleRoom_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2015-11-02 19:37:02 +00:00
dw .Trigger1, 0
dw .Trigger2, 0
.MapCallbacks:
db 0
.Trigger1:
priorityjump MobileBattleRoom_Initialize
end
.Trigger2:
end
MobileBattleRoom_Initialize:
dotrigger $1
domaptrigger POKECENTER_2F, $5
end
2015-07-10 08:45:35 +00:00
MapMobileBattleRoomSignpost0Script:
refreshscreen $0
special Function1037c2
if_equal $1, .one
special Function1037eb
iffalse .false
if_equal $1, .one_
if_equal $2, .two_
jump .false
.one_:
writetext MobileBattleRoom_HealText
pause 20
2015-11-25 15:16:29 +00:00
closetext
2015-11-27 02:05:32 +00:00
special FadeOutPalettes
playmusic MUSIC_HEAL
special LoadMapPalettes
pause 60
2015-11-27 02:05:32 +00:00
special FadeInPalettes
special RestartMapMusic
refreshscreen $0
.two_:
special Mobile_HealParty
special HealParty
special Function10383c
iftrue .false
.one:
special Function10387b
writetext MobileBattleRoom_EstablishingCommsText
2015-11-25 15:16:29 +00:00
waitbutton
reloadmappart
special Function101225
.false:
2015-11-25 15:16:29 +00:00
closetext
end
MobileBattleRoom_EstablishingCommsText:
text "Establishing"
line "communications…"
done
MobileBattleRoom_HealText:
text "Your #MON will"
line "be fully healed"
cont "before battle."
done
2015-07-10 08:45:35 +00:00
MobileBattleRoom_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $4, 6, POKECENTER_2F
warp_def $7, $5, 6, POKECENTER_2F
.XYTriggers:
db 0
.Signposts:
db 1
signpost 2, 4, SIGNPOST_UP, MapMobileBattleRoomSignpost0Script
.PersonEvents:
db 0