mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
432df825d4
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
57 lines
886 B
NASM
57 lines
886 B
NASM
MobileTradeRoomMobile_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 2
|
|
|
|
; triggers
|
|
dw .Trigger1, $0000
|
|
dw .Trigger2, $0000
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
.Trigger1:
|
|
priorityjump MobileTradeRoomMobile_Initialize
|
|
end
|
|
|
|
.Trigger2:
|
|
end
|
|
|
|
MobileTradeRoomMobile_Initialize:
|
|
dotrigger $1
|
|
domaptrigger POKECENTER_2F, $4
|
|
end
|
|
|
|
MapMobileTradeRoomMobileSignpost0Script:
|
|
refreshscreen $0
|
|
special Function1037c2
|
|
writetext MobileTradeRoomMobile_EstablishingCommsText
|
|
closetext
|
|
reloadmappart
|
|
special Function101231
|
|
loadmovesprites
|
|
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
|