pokecrystal/maps/SilverCaveItemRooms.asm

30 lines
870 B
NASM

object_const_def ; object_event constants
const SILVERCAVEITEMROOMS_POKE_BALL1
const SILVERCAVEITEMROOMS_POKE_BALL2
SilverCaveItemRooms_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
SilverCaveItemRoomsMaxRevive:
itemball MAX_REVIVE
SilverCaveItemRoomsFullRestore:
itemball FULL_RESTORE
SilverCaveItemRooms_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 13, 3, SILVER_CAVE_ROOM_2, 3
warp_event 7, 15, SILVER_CAVE_ROOM_2, 4
db 0 ; coord events
db 0 ; bg events
db 2 ; object events
object_event 6, 3, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SilverCaveItemRoomsMaxRevive, EVENT_SILVER_CAVE_ITEM_ROOMS_MAX_REVIVE
object_event 15, 11, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SilverCaveItemRoomsFullRestore, EVENT_SILVER_CAVE_ITEM_ROOMS_FULL_RESTORE