	const_def 2 ; object constants
	const DAWN_TOWN_CHIEF
	const DAWN_TOWN_ENORA

DawnTownChiefHouse_MapScripts:
	db 0 ; scene scripts
	db 0 ; callbacks

DawnTownChiefHouseScript:
        faceplayer DAWN_TOWN_CHIEF
        opentext
        writetext .ChiefTalkText
        waitbutton
        closetext
        end

.ChiefTalkText:
	text "Life used to be"
	line "peaceful in this"
	cont "town."
	para "But when those"
	line "thugs from the"
	cont "Rocket gang came"
	cont "in, we've only had"
	cont "problems!"
	para "Look at me though:"
	line "I'm old and weak."
	para "We need someone to"
	line "boot them out of"
	cont "town!"
	para "My daughter Enora"
	line "would like to do"
	cont "it, but it's too"
	cont "dangerous!"
	para "So who else<…>?"
	para "<…>"
	para "<…>"
	para "WHO ELSE?!"
	done

DawnTownEnoraScript:
        faceplayer DAWN_TOWN_ENORA
	opentext
        checkevent EVENT_BEAT_AZMOV
	iftrue .ThankYou
        checkevent EVENT_BEAT_BLAKE
	iftrue .OpenGym
	writetext .TakeOutDealerText
        setevent EVENT_MET_ENORA
	jump .done
.ThankYou:
	writetext .ThankYouText
.done:
	waitbutton
	closetext
	end

.OpenGym:
	writetext .OpenGymText
	waitbutton
	closetext
	setevent EVENT_GYM_OPEN
	checkcode VAR_FACING
	ifequal LEFT, .WalkAroundPlayer
	applymovement DAWN_TOWN_ENORA, .EnoraGetOutMovement
	disappear DAWN_TOWN_ENORA
	clearevent EVENT_DAWNTOWN_ENORA_OUTSIDE_VISIBLE
	end

.WalkAroundPlayer:
	applymovement DAWN_TOWN_ENORA, .EnoraGetOutMovement2
	disappear DAWN_TOWN_ENORA
	end

.EnoraGetOutMovement:
	step RIGHT
	step DOWN
	step DOWN
	step DOWN
	step_end

.EnoraGetOutMovement2:
	step DOWN
	step RIGHT
	step DOWN
	step DOWN
	step_end

.TakeOutDealerText:
	text "My poor father is"
	line "overwhelmed with"
	cont "problems caused by"
	cont "the Rocket Gang!"
	para "But he won't let"
	line "me do anything!"
	para "Can you help us?"
	para "There is a #MON"
	line "reseller in Black"
	cont "Pond Creek that"
	cont "should be stopped!"
	para "He shows at night"
	line "to sell #MONs"
	cont "he stole from"
	cont "other trainers!"
	done

.OpenGymText:
	text "Wow, you beat the"
	line "#MON dealer on"
	cont "your own?"
	para "You're so strong!"
	para "Do you think you"
	line "can kick the gang"
	cont "out of the gym?"
	para "<…>"
	para "Ok! I'll distract"
	line "the gard for you!"
	done

.ThankYouText:
	text "Thank you so much!"
	para "Inhabitants will"
	line "feel safer now!"
	para "<…>"
	para "Do you think we"
	line "could<…>"
	para "<…>You know<…>"
	para "Have a walk"
	line "together someday?"
	done

DawnTownChiefHouse_MapEvents:
	db 0, 0 ; filler

	db 2 ; warp events
	warp_event 4, 7, DAWN_TOWN, 5
	warp_event 5, 7, DAWN_TOWN, 5

	db 0 ; coord events

	db 0 ; bg events

	db 2 ; object events
	object_event  1,  3, SPRITE_UNUSED_GUY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, DawnTownChiefHouseScript, -1
	object_event  3,  4, SPRITE_DAISY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, DawnTownEnoraScript, EVENT_DAWNTOWN_ENORA_INSIDE_VISIBLE
