pokecrystal/maps/RuinsOfAlphKabutoItemRoom.asm

53 lines
1.9 KiB
NASM

object_const_def ; object_event constants
const RUINSOFALPHKABUTOITEMROOM_POKE_BALL1
const RUINSOFALPHKABUTOITEMROOM_POKE_BALL2
const RUINSOFALPHKABUTOITEMROOM_POKE_BALL3
const RUINSOFALPHKABUTOITEMROOM_POKE_BALL4
RuinsOfAlphKabutoItemRoom_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
RuinsOfAlphKabutoItemRoomBerry:
itemball BERRY
RuinsOfAlphKabutoItemRoomPsncureberry:
itemball PSNCUREBERRY
RuinsOfAlphKabutoItemRoomHealPowder:
itemball HEAL_POWDER
RuinsOfAlphKabutoItemRoomEnergypowder:
itemball ENERGYPOWDER
RuinsOfAlphKabutoItemRoomAncientReplica:
jumptext RuinsOfAlphKabutoItemRoomAncientReplicaText
RuinsOfAlphKabutoItemRoomAncientReplicaText:
text "It's a replica of"
line "an ancient #-"
cont "MON."
done
RuinsOfAlphKabutoItemRoom_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
warp_event 3, 9, RUINS_OF_ALPH_KABUTO_CHAMBER, 5
warp_event 4, 9, RUINS_OF_ALPH_KABUTO_CHAMBER, 5
warp_event 3, 1, RUINS_OF_ALPH_KABUTO_WORD_ROOM, 1
warp_event 4, 1, RUINS_OF_ALPH_KABUTO_WORD_ROOM, 2
db 0 ; coord events
db 2 ; bg events
bg_event 2, 1, BGEVENT_READ, RuinsOfAlphKabutoItemRoomAncientReplica
bg_event 5, 1, BGEVENT_READ, RuinsOfAlphKabutoItemRoomAncientReplica
db 4 ; object events
object_event 2, 6, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, RuinsOfAlphKabutoItemRoomBerry, EVENT_PICKED_UP_BERRY_FROM_KABUTO_ITEM_ROOM
object_event 5, 6, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, RuinsOfAlphKabutoItemRoomPsncureberry, EVENT_PICKED_UP_PSNCUREBERRY_FROM_KABUTO_ITEM_ROOM
object_event 2, 4, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, RuinsOfAlphKabutoItemRoomHealPowder, EVENT_PICKED_UP_HEAL_POWDER_FROM_KABUTO_ITEM_ROOM
object_event 5, 4, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, RuinsOfAlphKabutoItemRoomEnergypowder, EVENT_PICKED_UP_ENERGYPOWDER_FROM_KABUTO_ITEM_ROOM