2015-07-10 01:45:35 -07:00
|
|
|
MobileTradeRoomMobile_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 MobileTradeRoomMobile_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
|
|
|
MobileTradeRoomMobile_Initialize:
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $1
|
|
|
|
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $4
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapMobileTradeRoomMobileSignpost0Script:
|
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
|
|
|
writetext MobileTradeRoomMobile_EstablishingCommsText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
reloadmappart
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function101231
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
MobileTradeRoomMobile_EstablishingCommsText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Establishing"
|
|
|
|
line "communications…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MobileTradeRoomMobile_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; 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
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 2, 4, SIGNPOST_UP, MapMobileTradeRoomMobileSignpost0Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 0
|