IlexForest_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

IlexForest_GoldToken:
	dw EVENT_ILEX_FOREST_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

IlexForestShrine:
	ctxt "Ilex Forest"
	line "Shrine<...>"

	para "It's in honor of"
	line "the forest's"
	cont "protector<...>"
	done

IlexForestSign:
	signpostheader 2

	ctxt "Ilex Forest's"
	next "overgrown trees"
	next "block sunlight!"
	nl   ""
	next "Watch out for"
	next "dropped items!"
	done

IlexForest_GreenFlute:
	db GREEN_FLUTE, 1

IlexForest_PPUp:
	db PP_UP, 2

IlexForest_MapEventHeader:: db 0, 0

.Warps
	db 3
	warp_def $5, $1, 5, ROUTE_34_GATE
	warp_def $2a, $3, 1, ILEX_FOREST_GATE
	warp_def $2b, $3, 2, ILEX_FOREST_GATE

.CoordEvents
	db 0

.BGEvents
	db 3
	signpost 22, 8, SIGNPOST_TEXT, IlexForestShrine
	signpost 17, 3, SIGNPOST_LOAD, IlexForestSign
	signpost 6, 17, SIGNPOST_ITEM, IlexForest_GoldToken

.ObjectEvents
	db 2
	person_event SPRITE_POKE_BALL, 22, 26, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_ITEMBALL, 0, IlexForest_GreenFlute, EVENT_ILEX_FOREST_ITEM_1
	person_event SPRITE_POKE_BALL, 1, 27, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_ITEMBALL, 0, IlexForest_PPUp, EVENT_ILEX_FOREST_ITEM_2
