pokecrystal/maps/MobileTradeRoomMobile.asm

57 lines
973 B
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
MobileTradeRoomMobile_MapScriptHeader:
; trigger count
db 2
; triggers
dw .Trigger1, $0000
dw .Trigger2, $0000
; callback count
db 0
.Trigger1:
priorityjump MobileTradeRoomMobile_Initialize
end
.Trigger2:
end
MobileTradeRoomMobile_Initialize:
dotrigger $1
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $4
end
2015-07-10 08:45:35 +00:00
MapMobileTradeRoomMobileSignpost0Script:
refreshscreen $0
special Function1037c2
writetext MobileTradeRoomMobile_EstablishingCommsText
closetext
reloadmappart
special Function101231
loadmovesprites
end
MobileTradeRoomMobile_EstablishingCommsText:
text "Establishing"
line "communications…"
done
2015-07-10 08:45:35 +00:00
MobileTradeRoomMobile_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $7, $4, 5, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
warp_def $7, $5, 5, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
; xy triggers
db 0
; signposts
db 1
signpost 2, 4, SIGNPOST_UP, MapMobileTradeRoomMobileSignpost0Script
; people-events
db 0