Route83_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route83HiddenItem:
	dw EVENT_ROUTE_83_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route83Signpost:
	ctxt "<LEFT>Mound Cave"
	next "<RIGHT>Torenia City"
	next "<LEFT><DOWN>Route 73"
	done

Route83_Item_1:
	db POISON_BARB, 1

Route83_Item_2:
	db REPEL, 2

Route83BlockingDude:
	jumptextfaceplayer .text

.text
	ctxt "Hello!"

	para "Sorry, I just HAVE"
	line "to tie my shoes on"
	cont "this very spot<...>"
	done

Route83_Trainer_1:
	trainer EVENT_ROUTE_83_TRAINER_1, SCHOOLBOY, 3, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	ctxt "Round 1: FIGHT!"
	done

.battle_won_text
	ctxt "FATALITY!"
	done

.after_battle_text
	ctxt "I like video games"
	line "more than school."

	para "Hehe."
	done

Route83_MapEventHeader:: db 0, 0

.Warps: db 1
	warp_def 9, 8, 1, MOUND_UPPERAREA

.CoordEvents: db 0

.BGEvents: db 2
	signpost 5, 32, SIGNPOST_ITEM, Route83HiddenItem
	signpost 9, 55, SIGNPOST_LOAD, Route83Signpost

.ObjectEvents: db 4
	person_event SPRITE_SCHOOLBOY, 7, 43, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TRAINER, 5, Route83_Trainer_1, -1
	person_event SPRITE_POKE_BALL, 5, 34, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_ITEMBALL, 0, Route83_Item_1, EVENT_ROUTE_83_ITEM_1
	person_event SPRITE_SCHOOLBOY, 10, 27, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, Route83BlockingDude, EVENT_LAUREL_FOREST_MAIN_TRAINER_2
	person_event SPRITE_POKE_BALL, 9, 24, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_ITEMBALL, 0, Route83_Item_2, EVENT_ROUTE_83_ITEM_2
