Route71_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route71HiddenItem:
	dw EVENT_ROUTE_71_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route71DirectionsSign1:
	ctxt "<LEFT> Caper City"
	next "<RIGHT><UP>Oxalis City"
	next "<RIGHT> Clathrite"
	next "  Tunnel"
	done

Route71DirectionsSign2:
	ctxt "<UP> Oxalis City"
	next "<LEFT> Caper City"
	next "<RIGHT> Clathrite"
	next "  Tunnel"
	done

Route71FruitTree:
	fruittree 15

Route71NPC1:
	ctxt "I really dislike"
	line "celebrities."
	
	para "They just get so"
	line "much attention for"
	cont "so little effort!"
	
	para "I mean, even"
	line "the champion of"
	para "the Rijon League"
	line "has his own TV"
	cont "show!"
	
	para "That's nuts!"
	done

Route71NPC2:
	ctxt "Was Caper City"
	line "too cold for you?"

	para "You're in luck!"

	para "It starts getting"
	line "warmer from this"
	cont "route onwards."
	done

Route71NPC3:
	ctxt "I'm too anxious"
	line "standing here."

	para "I'm afraid of"
	line "falling off."

	para "Maybe if I"
	line "crawled down, I"
	cont "would be safe."
	done

Route71NPC4:
	checktime 4
	sif true
		jumptextfaceplayer .night_text
	jumptextfaceplayer .regular_text

.regular_text
	ctxt "Key,"
	line "Gym,"
	cont "Psychic."

	para "Get it?"
	done

.night_text
	ctxt "Crystal Silk"

	para "Get it?"
	done

Route71_Trainer_1:
	trainer EVENT_ROUTE_71_TRAINER_1, BUG_CATCHER, 1, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptextfaceplayer .after_battle_text

.before_battle_text
	ctxt "My bugs will grow"
	line "up to be strong!"
	done

.battle_won_text
	ctxt "Argh! No fair!"
	done

.after_battle_text
	ctxt "Don't underestimate"
	line "the power of Bug-"
	cont "type #mon!"
	done

Route71_Trainer_2:
	trainer EVENT_ROUTE_71_TRAINER_2, HIKER, 1, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptextfaceplayer .after_battle_text

.before_battle_text
	ctxt "Go, Sentret!"
	done

.battle_won_text
	ctxt "No, Sentret!"
	done

.after_battle_text
	ctxt "Gah!"

	para "Wipe that stupid"
	line "smirk of yours"
	cont "off your face!"
	done

Route71_MapEventHeader ;filler
	db 0, 0

;warps
	db 1
	warp_def $5, $33, 3, ROUTE_72_GATE

	;xy triggers
	db 0

	;signposts
	db 3
	signpost 5, 15, SIGNPOST_LOAD, Route71DirectionsSign1
	signpost 7, 52, SIGNPOST_LOAD, Route71DirectionsSign2
	signpost 5, 30, SIGNPOST_ITEM, Route71HiddenItem

	;people-events
	db 7
	person_event SPRITE_YOUNGSTER, 10, 40, SPRITEMOVEDATA_WANDER, 3, 3, -1, -1, 8 + PAL_OW_GREEN, PERSONTYPE_TEXTFP, 0, Route71NPC1, -1
	person_event SPRITE_TEACHER, 5, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 2, -1, -1, 8 + PAL_OW_GREEN, PERSONTYPE_TEXTFP, 0, Route71NPC2, -1
	person_event SPRITE_FISHER, 4, 18, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 8 + PAL_OW_YELLOW, PERSONTYPE_TEXTFP, 0, Route71NPC3, -1
	person_event SPRITE_COOLTRAINER_M, 12, 51, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Route71NPC4, -1
	person_event SPRITE_FRUIT_TREE, 4, 41, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, Route71FruitTree, -1
	person_event SPRITE_BUG_CATCHER, 12, 19, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 8 + PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, Route71_Trainer_1, -1
	person_event SPRITE_HIKER, 10, 48, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 8 + PAL_OW_BLUE, PERSONTYPE_TRAINER, 4, Route71_Trainer_2, -1
