Route83_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route83HiddenItem:
	dw EVENT_ROUTE_83_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route83DirectionsSign:
	db TX_COMPRESSED, $13, $59, $e4, $15, $0b, $44, $cc, $6d, $d0, $63
	db $a7, $84, $26, $b5, $78, $50, $56, $64, $1e, $c6, $d1, $d8
	db $2a, $78, $42, $6b, $3c, $13, $59, $d3, $90, $2d, $59, $ca, $7a, $2c
	db $a9, $a0

Route83_Item_PoisonBarb:
	db POISON_BARB, 1

Route83_Item_Repels:
	db REPEL, 2

Route83BlockingDude:
	db TX_COMPRESSED, $62, $7d, $e8, $78

	db $80, $50, $15, $ac, $17, $e3, $a9, $4e, $34, $8b, $8c, $6b, $07, $02
	db $e7, $ac, $32, $c6, $71, $f0, $51, $09, $09, $a2, $04
	db $8a, $ad, $23, $44, $06, $35, $82, $88, $10, $1b, $a7
	db $82, $9a

Route83_Trainer:
	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
	db TX_COMPRESSED, $72, $05, $a2, $66, $0b, $4e, $31, $4d, $d3, $09, $89, $5c
	db $69, $a0

.battle_won_text
	text "FATALITY!"
	done

.after_battle_text
	db TX_COMPRESSED, $75, $3a, $35, $23, $80, $c3, $c9, $86, $73, $af, $9a
	db $1e, $7c, $2b, $39, $69, $d2, $44, $32, $90, $87, $be

	db $00, $c4, $d2, $7e
	db $a6, $80

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, Route83DirectionsSign

.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
	person_event SPRITE_POKE_BALL, 5, 34, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_ITEMBALL, 0, Route83_Item_PoisonBarb, EVENT_ROUTE_83_ITEM_1
	person_event SPRITE_SCHOOLBOY, 10, 27, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TEXTFP, 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_Repels, EVENT_ROUTE_83_ITEM_2

