	const_def 2 ; object constants
	const DAWN_TOWN_LUMBERJACK

DawnTownLumberjackHouse_MapScripts:
	db 0 ; scene scripts
        db 0 ; callbacks

LumberJackTalk:
	faceplayer
	opentext
	checkevent EVENT_GOT_WOOD_PLANK
	iffalse .GivePlank
	writetext .GivePokemonHintText
	jump .done

.GivePlank:
	writetext .GivePlankText
	waitbutton
	verbosegiveitem WOOD_PLANK
	iffalse .done
	setevent EVENT_GOT_WOOD_PLANK
	writetext .SturdyPlankText
	jump .done

.done:
	waitbutton
	closetext
	end
	
.GivePlankText:
	text "Thanks again for"
	line "getting me out!"
	para "I don't have much"
	line "to give you other"
	cont "than this."
	done

.SturdyPlankText:
	text "These are very"
	line "sturdy planks."
	para "Use them to build"
	line "something robust!"
	done

.GivePokemonHintText:
	text "This #MON…"
	para "I've never seen it"
	line "before…"
	para "But it was HUGE!"
	para "Maybe you can find"
	line "it in the forest"
	cont "if you are lucky!"
	done

DawnTownLumberjackHouse_MapEvents:
	db 0, 0 ; filler

	db 2 ; warp events
	warp_event 2, 9, DAWN_TOWN, 2
	warp_event 3, 9, DAWN_TOWN, 2

	db 0 ; coord events

	db 0 ; bg events

	db 1 ; object events
	object_event 4, 5, SPRITE_KURT, SPRITEMOVEDATA_WANDER, 3, 3, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LumberJackTalk, EVENT_DAWNTOWN_LUMBERJACK_CONTAINER_VISIBLE
