mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08: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
48 lines
788 B
NASM
48 lines
788 B
NASM
SilverCaveOutside_MapScriptHeader:
|
|
.MapTriggers:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 1
|
|
|
|
; callbacks
|
|
dbw 5, .FlyPoint
|
|
|
|
.FlyPoint
|
|
setflag ENGINE_FLYPOINT_SILVER_CAVE
|
|
return
|
|
|
|
MtSilverPokeCenterSign:
|
|
jumpstd pokecentersign
|
|
|
|
MtSilverSign:
|
|
jumptext MtSilverSignText
|
|
|
|
MapSilverCaveOutsideSignpostItem2:
|
|
dwb EVENT_SILVER_CAVE_OUTSIDE_HIDDEN_FULL_RESTORE, FULL_RESTORE
|
|
|
|
MtSilverSignText:
|
|
text "MT.SILVER"
|
|
done
|
|
|
|
SilverCaveOutside_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $13, $17, 1, SILVER_CAVE_POKECENTER_1F
|
|
warp_def $b, $12, 1, SILVER_CAVE_ROOM_1
|
|
|
|
.XYTriggers:
|
|
db 0
|
|
|
|
.Signposts:
|
|
db 3
|
|
signpost 19, 24, SIGNPOST_READ, MtSilverPokeCenterSign
|
|
signpost 13, 17, SIGNPOST_READ, MtSilverSign
|
|
signpost 25, 9, SIGNPOST_ITEM, MapSilverCaveOutsideSignpostItem2
|
|
|
|
.PersonEvents:
|
|
db 0
|