pokecrystal-board/maps/RockTunnelB1F.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
976 B
NASM

RockTunnelB1F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
ItemFragment_0x74409:
db IRON, 1
ItemFragment_0x7440b:
db PP_UP, 1
ItemFragment_0x7440d:
db REVIVE, 1
MapRockTunnelB1FSignpostItem0:
dwb EVENT_ROCK_TUNNEL_B1F_HIDDEN_MAX_POTION, MAX_POTION
RockTunnelB1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $3, $3, 6, ROCK_TUNNEL_1F
warp_def $9, $11, 4, ROCK_TUNNEL_1F
warp_def $3, $17, 3, ROCK_TUNNEL_1F
warp_def $17, $19, 5, ROCK_TUNNEL_1F
.XYTriggers:
db 0
.Signposts:
db 1
signpost 14, 4, SIGNPOST_ITEM, MapRockTunnelB1FSignpostItem0
.PersonEvents:
db 3
person_event SPRITE_POKE_BALL, 29, 11, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x74409, EVENT_ROCK_TUNNEL_B1F_IRON
person_event SPRITE_POKE_BALL, 21, 10, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7440b, EVENT_ROCK_TUNNEL_B1F_PP_UP
person_event SPRITE_POKE_BALL, 6, 19, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7440d, EVENT_ROCK_TUNNEL_B1F_REVIVE