shithub: pokecrystal

ref: 9e368eee1f2f14e0d7e13f0d41dc89292051ec56
dir: /maps/TinTower5F.asm/

View raw version
const_value set 2 ; object constants
	const TINTOWER5F_POKE_BALL

TinTower5F_MapScripts:
	db 0 ; scene scripts

	db 0 ; callbacks

TinTower5FRareCandy:
	itemball RARE_CANDY

TinTower5FHiddenFullRestore:
	hiddenitem FULL_RESTORE, EVENT_TIN_TOWER_5F_HIDDEN_FULL_RESTORE

TinTower5FHiddenCarbos:
	hiddenitem CARBOS, EVENT_TIN_TOWER_5F_HIDDEN_CARBOS

TinTower5F_MapEvents:
	db 0, 0 ; filler

	db 4 ; warp events
	warp_event 11, 15, 2, TIN_TOWER_6F
	warp_event 2, 4, 1, TIN_TOWER_4F
	warp_event 2, 14, 3, TIN_TOWER_4F
	warp_event 17, 15, 4, TIN_TOWER_4F

	db 0 ; coord events

	db 2 ; bg events
	bg_event 16, 14, BGEVENT_ITEM, TinTower5FHiddenFullRestore
	bg_event 3, 15, BGEVENT_ITEM, TinTower5FHiddenCarbos

	db 1 ; object events
	object_event 9, 9, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TinTower5FRareCandy, EVENT_TIN_TOWER_5F_RARE_CANDY