pokecrystal-board/maps/SilverCaveRoom2.asm
PikalaxALT 432df825d4 Replaced GROUP_, MAP_ references with the map macro
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
2015-07-23 12:59:19 -04:00

44 lines
1.0 KiB
NASM

SilverCaveRoom2_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
ItemFragment_0x18c5b2:
db CALCIUM, 1
ItemFragment_0x18c5b4:
db ULTRA_BALL, 1
ItemFragment_0x18c5b6:
db PP_UP, 1
MapSilverCaveRoom2SignpostItem0:
dwb EVENT_SILVER_CAVE_ROOM_2_HIDDEN_MAX_POTION, MAX_POTION
SilverCaveRoom2_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $1f, $11, 2, SILVER_CAVE_ROOM_1
warp_def $5, $b, 1, SILVER_CAVE_ROOM_3
warp_def $15, $d, 1, SILVER_CAVE_ITEM_ROOMS
warp_def $3, $17, 2, SILVER_CAVE_ITEM_ROOMS
.XYTriggers:
db 0
.Signposts:
db 1
signpost 31, 14, SIGNPOST_ITEM, MapSilverCaveRoom2SignpostItem0
.PersonEvents:
db 3
person_event SPRITE_POKE_BALL, 14, 28, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x18c5b2, EVENT_SILVER_CAVE_ROOM_2_CALCIUM
person_event SPRITE_POKE_BALL, 28, 26, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x18c5b4, EVENT_SILVER_CAVE_ROOM_2_ULTRA_BALL
person_event SPRITE_POKE_BALL, 24, 8, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x18c5b6, EVENT_SILVER_CAVE_ROOM_2_PP_UP