GoldenrodCape_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

GoldenrodCapeHiddenItem:
	dw EVENT_GOLDENROD_CAPE_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

GoldenrodCape_Item:
	db MINING_PICK, 5

;	Removing until givefossil command is fixed
;	checkitem FOSSIL_CASE
;	iffalse .skip
;	copybytetovar wFossilCaseCount
;	if_greater_than (FOSSIL_CASE_SIZE - 1), .skip
;	disappear LAST_TALKED
;.skip
;	opentext
;	givefossil
;	endtext

GoldenrodCapeRock:
	jumpstd smashrock

GoldenrodCape_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $6, $13, 1, GOLDENROD_CAPE_GATE
	warp_def $7, $13, 2, GOLDENROD_CAPE_GATE

	;xy triggers
	db 0

	;signposts
	db 1
	signpost 11, 20, SIGNPOST_ITEM, GoldenrodCapeHiddenItem

	;people-events
	db 3
	person_event SPRITE_POKE_BALL, 5, 6, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_YELLOW, PERSONTYPE_TMHMBALL, TM_BLIZZARD, 0, EVENT_GOT_TM14
	person_event SPRITE_POKE_BALL, 19, 15, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_ITEMBALL, 0, GoldenrodCape_Item, EVENT_GOLDENROD_CAPE_ITEM_1
	person_event SPRITE_ROCK, 7, 7, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, GoldenrodCapeRock, -1
