shithub: pokecrystal

ref: 5b94d54a6c81d7ea09497dfc3d1477a7ed3bd954
dir: /maps/TinTower4F.asm/

View raw version
const_value set 2
	const TINTOWER4F_POKE_BALL1
	const TINTOWER4F_POKE_BALL2
	const TINTOWER4F_POKE_BALL3

TinTower4F_MapScriptHeader:
.MapTriggers:
	db 0

.MapCallbacks:
	db 0

ItemFragment_0x185a58:
	db ULTRA_BALL, 1

ItemFragment_0x185a5a:
	db PP_UP, 1

ItemFragment_0x185a5c:
	db ESCAPE_ROPE, 1

MapTinTower4FSignpostItem0:
	dwb EVENT_TIN_TOWER_4F_HIDDEN_MAX_POTION, MAX_POTION
	

TinTower4F_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 4
	warp_def $4, $2, 2, TIN_TOWER_5F
	warp_def $2, $10, 2, TIN_TOWER_3F
	warp_def $e, $2, 3, TIN_TOWER_5F
	warp_def $f, $11, 4, TIN_TOWER_5F

.XYTriggers:
	db 0

.Signposts:
	db 1
	signpost 6, 11, SIGNPOST_ITEM, MapTinTower4FSignpostItem0

.PersonEvents:
	db 3
	person_event SPRITE_POKE_BALL, 10, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x185a58, EVENT_TIN_TOWER_4F_ULTRA_BALL
	person_event SPRITE_POKE_BALL, 14, 17, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x185a5a, EVENT_TIN_TOWER_4F_PP_UP
	person_event SPRITE_POKE_BALL, 12, 2, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x185a5c, EVENT_TIN_TOWER_4F_ESCAPE_ROPE