mirror of https://github.com/pret/pokecrystal.git
59 lines
892 B
NASM
59 lines
892 B
NASM
const_value set 2
|
|
|
|
MobileTradeRoomMobile_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 2
|
|
|
|
; triggers
|
|
dw .Trigger0, 0
|
|
dw .Trigger1, 0
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
.Trigger0:
|
|
priorityjump MobileTradeRoomMobile_Initialize
|
|
end
|
|
|
|
.Trigger1:
|
|
end
|
|
|
|
MobileTradeRoomMobile_Initialize:
|
|
dotrigger $1
|
|
domaptrigger POKECENTER_2F, $4
|
|
end
|
|
|
|
MapMobileTradeRoomMobileSignpost0Script:
|
|
refreshscreen $0
|
|
special Function1037c2
|
|
writetext MobileTradeRoomMobile_EstablishingCommsText
|
|
waitbutton
|
|
reloadmappart
|
|
special Function101231
|
|
closetext
|
|
end
|
|
|
|
MobileTradeRoomMobile_EstablishingCommsText:
|
|
text "Establishing"
|
|
line "communications…"
|
|
done
|
|
|
|
MobileTradeRoomMobile_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $4, 5, POKECENTER_2F
|
|
warp_def $7, $5, 5, POKECENTER_2F
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 1
|
|
signpost 2, 4, SIGNPOST_UP, MapMobileTradeRoomMobileSignpost0Script
|
|
|
|
.PersonEvents:
|
|
db 0
|