shithub: pokecrystal

ref: 1522140e418a3b4f9406a3c4e74a83454e378c1e
dir: /maps/TinTower5F.asm/

View raw version
const_value set 2
	const TINTOWER5F_POKE_BALL

TinTower5F_MapScriptHeader:
.SceneScripts:
	db 0

.MapCallbacks:
	db 0

TinTower5FRareCandy:
	itemball RARE_CANDY

TinTower5FHiddenFullRestore:
	dwb EVENT_TIN_TOWER_5F_HIDDEN_FULL_RESTORE, FULL_RESTORE


TinTower5FHiddenCarbos:
	dwb EVENT_TIN_TOWER_5F_HIDDEN_CARBOS, CARBOS


TinTower5F_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 4
	warp_def $f, $b, 2, TIN_TOWER_6F
	warp_def $4, $2, 1, TIN_TOWER_4F
	warp_def $e, $2, 3, TIN_TOWER_4F
	warp_def $f, $11, 4, TIN_TOWER_4F

.CoordEvents:
	db 0

.BGEvents:
	db 2
	bg_event 14, 16, BGEVENT_ITEM, TinTower5FHiddenFullRestore
	bg_event 15, 3, BGEVENT_ITEM, TinTower5FHiddenCarbos

.ObjectEvents:
	db 1
	object_event SPRITE_POKE_BALL, 9, 9, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TinTower5FRareCandy, EVENT_TIN_TOWER_5F_RARE_CANDY