Route80_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route80Boulder:
	jumpstd strengthboulder

Route80_Item:
	db DRAGON_SCALE, 1

Route80Signpost:
	jumptext .text

.text
	db TX_COMPRESSED, $29, $27, $01, $fb, $da, $70, $33, $85, $61, $10, $93
	db $ba, $68

Route80QRCode:
	opentext
	qrcode 5
	waitbutton
	checkitem QR_READER
	sif false, then
		closetext
		end
	sendif
	farwritetext UsingQRScannerText
	playwaitsfx SFX_CALL
	jumptext .text

.text
	db TX_COMPRESSED, $50, $3e, $83, $1a, $e0, $bb, $9e, $60
	db $17, $9c, $81, $6a, $ce, $0b, $62, $69, $02, $49
	db $aa, $90, $7b, $16, $16, $54
	db $a9, $a0

Route80_Trainer_1:
	trainer EVENT_ROUTE_80_TRAINER_1, SWIMMERM, 2, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $74, $59, $37, $bd, $82, $1a, $7c, $41, $e6, $34, $23
	db $8d, $34

.battle_won_text
	db TX_COMPRESSED, $6f, $a3, $bf, $c7, $45, $93, $7a, $b3, $dc, $82
	db $78, $2d, $5c, $0e, $10, $1c, $af, $84, $94
	db $b4, $d0

.after_battle_text
	db TX_COMPRESSED, $75, $19, $d2, $44, $54, $37, $e0, $85, $9d, $d8
	db $27, $b0, $d5, $cd, $ab, $41, $4c, $16, $17, $e5, $a4
	db $c0, $32, $1d, $45, $fe, $04, $8c, $9c, $75, $0c, $18
	db $c8, $f5, $46, $4b, $89, $de, $e1, $36, $3e, $3e, $9f
	db $1a, $68

Route80_Trainer_2:
	trainer EVENT_ROUTE_80_TRAINER_2, SWIMMERM, 1, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $15, $05, $05, $a1, $60, $58, $b4, $ce, $e8, $89, $80
	db $56, $f5, $a4, $e6, $74, $17

	db $10, $05, $0d, $f3, $98, $05, $73, $62, $b5, $9e, $a9
	db $3d, $50, $ed, $33, $62, $bd, $bb, $e9, $f1
	db $a6, $80

.battle_won_text
	db TX_COMPRESSED, $6e, $7d, $ef, $e2, $bd, $65, $4a, $58
	db $5e, $45, $43, $7d, $f1, $93, $9e
	db $34, $d0

.after_battle_text
	db TX_COMPRESSED, $af, $bd, $96, $93, $41, $ce, $e8, $84
	db $3c, $c8, $49, $63, $23, $47, $2c, $32, $c2, $43
	db $54, $f8, $28, $fb, $48, $67, $a6, $8f

	db $00, $74, $e1, $ec, $56, $73, $55, $f4, $e5
	db $85, $ee, $4e, $e6, $90, $14, $e4, $6b, $ec
	db $74, $02, $ad, $25, $ca, $87, $69, $96, $91
	db $a1, $e5, $61, $c8, $2f, $c5, $7a, $ac, $17
	db $1a, $68

Route80_Trainer_3:
	trainer EVENT_ROUTE_80_TRAINER_3, SWIMMERF, 2, .before_battle_text, Route80_Trainers_3_5_BattleWon_Text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $74, $59, $2d, $60, $86, $4e, $65
	db $85, $e3, $43, $3a, $20, $e6, $0b, $0b, $f2, $d3
	db $b6, $ab, $2b, $3d, $ce, $0d, $76, $08, $58, $d0, $12

	db $78, $03, $94, $2d, $17, $1c, $20, $6e, $72, $12, $13
	db $5e, $45, $84, $44, $7c, $ff, $08, $60, $c6, $bf
	db $53, $40

.after_battle_text
	db TX_COMPRESSED, $29, $27, $13, $ab, $42, $62, $2c, $2b, $7d
	db $0f, $5a, $76, $e2, $74, $18, $e0, $59, $65, $a5, $ac
	db $f2, $01, $26, $b3, $8a, $43, $ef, $4f, $30, $36, $93
	db $5b, $d8, $35, $c8, $ec, $60, $c6, $8f

	db $00, $6e, $70, $86, $79, $96, $18, $ac
	db $de, $67, $56, $78, $35, $d9, $52, $4c
	db $80, $2a, $39, $6b, $d0, $63, $ec, $09
	db $1e, $b4, $8d, $11, $61, $6a, $cf
	db $d4, $d0

Route80_Trainer_4:
	trainer EVENT_ROUTE_80_TRAINER_4, FISHER, 5, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $75, $19, $d6, $b9, $4d, $cb, $49, $a0
	db $de, $07, $2b, $e1, $24, $a8, $76, $99
	db $aa, $84, $2c, $ee, $c1, $4e, $42, $1c, $c5, $87, $3c
	db $69, $a0

.battle_won_text
	db TX_COMPRESSED, $6e, $7d, $ef, $e0, $f0, $96, $93, $8b, $0e, $71
	db $3c, $4d, $7c, $e0, $d1, $04, $d6, $7b, $c8, $43, $91, $35, $9e, $d3

	db $c0, $03, $80, $26, $89, $69, $db, $8f, $ea, $91, $c1
	db $db, $d8, $6f, $50, $73, $ba, $ac, $fa, $32, $73
	db $4b, $4d

.after_battle_text
	db TX_COMPRESSED, $29, $3b, $73, $01, $a1, $26, $b7, $f4
	db $8f, $55, $a8, $9b, $32, $34, $5e, $92
	db $c0, $2c, $fb, $b6, $30, $63, $96, $19, $69
	db $37, $b0, $1a, $12, $32, $73, $39, $69, $6d
	db $7a, $9a

Route80_Trainer_5:
	trainer EVENT_ROUTE_80_TRAINER_5, SWIMMERF, 1, .before_battle_text, Route80_Trainers_3_5_BattleWon_Text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $29, $23, $44, $58, $5a, $b3, $89, $d4
	db $3c, $80, $be, $70, $18, $d6, $0a, $22, $d7, $a4, $e4
	db $d5, $54, $7b, $69, $35, $c1, $1b, $76, $6b, $22
	db $3d, $4d

.after_battle_text
	db TX_COMPRESSED, $29, $23, $44, $11, $ab, $b8, $1c
	db $1e, $07, $ef, $69, $c0, $c0, $e1, $66, $48, $9d
	db $42, $ab, $4b, $44, $c9, $ad, $16, $15, $be, $8f

	db $00, $74, $59, $08, $1b, $88, $69, $67, $12, $1a
	db $9e, $b4, $ed, $c7, $f5, $48, $d1, $10, $64, $41
	db $fa, $9a

Route80_Trainer_6:
	trainer EVENT_ROUTE_80_TRAINER_6, FISHER, 6, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $62, $60, $bf, $01, $05, $af, $42, $92, $34, $41
	db $a1, $e7, $c1, $4c, $06, $84, $8c, $9c, $c4, $08, $0d
	db $fa, $9a

.battle_won_text
	db TX_COMPRESSED, $6e, $7d, $ed, $3c
	db $14, $d0

.after_battle_text
	db TX_COMPRESSED, $07, $85, $58, $72, $0b, $14, $de, $f4, $35, $1e
	db $5e, $19, $25, $a4, $68, $88, $10, $1b, $8a, $da
	db $b5, $4f, $9f, $e3, $44, $c9, $ad, $16, $10, $e6
	db $96, $9a

Route80_Trainers_3_5_BattleWon_Text:
	db TX_COMPRESSED, $e0, $09, $29, $91, $15, $0d, $f9, $52, $4c
	db $8f, $5a, $4d, $67, $8a, $6c, $45, $85, $6f, $f1
	db $a6, $80

Route80_MapEventHeader:: db 0, 0

.Warps: db 4
	warp_def 6, 6, 3, ROUTE_81_EASTGATE
	warp_def 7, 6, 4, ROUTE_81_EASTGATE
	warp_def 5, 9, 1, ROUTE_80_NOBU
	warp_def 37, 6, 2, SAXIFRAGE_EXITS

.CoordEvents: db 0

.BGEvents: db 2
	signpost 6, 14, SIGNPOST_READ, Route80Signpost
	signpost 8, 8, SIGNPOST_READ, Route80QRCode

.ObjectEvents: db 9
	person_event SPRITE_POKE_BALL, 22, 36, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_YELLOW, 3, TM_THUNDER, 0, EVENT_ROUTE_80_TM
	person_event SPRITE_SWIMMER_GUY, 22, 21, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, 2, 5, Route80_Trainer_1, -1
	person_event SPRITE_SWIMMER_GUY, 41, 28, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_OW_RED, 2, 4, Route80_Trainer_2, -1
	person_event SPRITE_SWIMMER_GIRL, 45, 11, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, 2, 2, Route80_Trainer_3, -1
	person_event SPRITE_POKE_BALL, 19, 4, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, 1, 0, Route80_Item, EVENT_ROUTE_80_ITEM_1
	person_event SPRITE_FISHER, 18, 9, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, 2, 1, Route80_Trainer_4, -1
	person_event SPRITE_SWIMMER_GIRL, 9, 23, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_OW_RED, 2, 5, Route80_Trainer_5, -1
	person_event SPRITE_FISHER, 14, 22, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, 2, 1, Route80_Trainer_6, -1
	person_event SPRITE_BOULDER, 41, 7, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, PAL_OW_BROWN, 0, 0, Route80Boulder, -1

