Route48_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 1
	dbw MAPCALLBACK_NEWMAP, .set_bike_on

.set_bike_on
	setflag ENGINE_ALWAYS_ON_BIKE
	setflag ENGINE_DOWNHILL
	return

Route48HiddenItem:
	dw EVENT_ROUTE_48_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route48BorderSign:
	db TX_COMPRESSED, $13, $21, $4d, $86, $01, $8e, $41, $d3, $81
	db $25, $3c, $25, $61, $5e, $4d
	db $74, $d0

Route48IlexForestSign:
	db TX_COMPRESSED, $13, $59, $dc, $75, $d3, $a7, $62, $98, $56, $68
	db $b7, $84, $d6, $75, $1c, $81, $6a, $ce, $53, $f7
	db $33, $4d

Route48UphillSign:
	db TX_COMPRESSED, $61, $04, $64, $e6, $34, $21, $23, $ef, $78
	db $d3, $40

Route48FruitTree:
	fruittree 9

Route48_Trainer_1:
	trainer EVENT_ROUTE_48_TRAINER_1, BIKER, 3, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $6d, $09, $30, $0a, $df, $1a, $2f
	db $8d, $34

.battle_won_text
	db TX_COMPRESSED, $af, $75, $7c, $82
	db $f5, $34

.after_battle_text
	db TX_COMPRESSED, $6e, $90, $51, $09, $0b, $5d, $cc, $b4
	db $9b, $cf, $9e, $47, $b1, $90, $92, $d6, $1e
	db $aa, $04, $16, $a9

	db $40, $63, $8d, $16, $64, $96, $19, $52, $76, $e3
	db $a7, $93, $a0, $c7, $2c, $31, $1a, $0b, $f0, $81
	db $b5, $56, $19, $52, $76, $e5, $a4, $c1, $44, $68, $2f
	db $53, $40

Route48_Trainer_2:
	trainer EVENT_ROUTE_48_TRAINER_2, BIKER, 5, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $12, $1a, $90, $c9, $cc, $09, $26, $42, $ca, $92
	db $3e, $f2, $37, $03, $fc, $4b, $49, $a5
	db $a6, $80

.battle_won_text
	db TX_COMPRESSED, $72, $85, $a2, $e3, $9b, $2a, $1b, $e2, $38
	db $d3, $40

.after_battle_text
	db TX_COMPRESSED, $28, $21, $88, $67, $56, $79, $96
	db $17, $95, $8d, $48, $ff, $12, $d2, $69
	db $69, $a0

Route48_Trainer_3:
	trainer EVENT_ROUTE_48_TRAINER_3, BIKER, 4, .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, $39, $08, $c9, $cc, $b0, $c7, $f5, $48
	db $de, $40, $5f, $39, $90, $91, $ab, $44, $09
	db $15, $5a, $46, $89, $90, $b2, $a5
	db $c6, $9a

.battle_won_text
	db TX_COMPRESSED, $29, $3b, $71, $5b, $4b, $21, $e6, $3e
	db $6f, $05, $ab
	db $f5, $34

.after_battle_text
	db TX_COMPRESSED, $76, $43, $96, $37, $ce, $3e, $0a, $2b, $1a, $91
	db $bc, $b0, $f7, $a7, $98, $32, $58, $65, $a4
	db $d5, $2b, $d0, $5e

	db $00, $0f, $33, $cf, $4d, $08, $96, $18, $8d, $05
	db $f7, $9d, $4a, $b5, $13, $06, $96, $30, $b4, $8e
	db $34, $d0

Route48_Trainer_4:
	trainer EVENT_ROUTE_48_TRAINER_4, BIKER, 6, .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, $08, $1b, $9b, $de, $86, $a3, $cc, $b0
	db $bd, $c8, $65, $a5, $61, $6b, $94, $cb, $49
	db $aa, $13, $21, $4d, $86, $73, $b6, $7e
	db $a6, $80

.battle_won_text
	db TX_COMPRESSED, $75, $78, $a0, $9a, $cf, $59, $d6, $90, $71, $d1
	db $63, $c9, $0a, $2c, $7d, $3e
	db $34, $d0

.after_battle_text
	db TX_COMPRESSED, $ac, $4d, $ef, $4f, $61, $41, $a8, $98
	db $9e, $56, $15, $8c, $9c, $c1, $06, $11, $1d, $38, $ce, $92

	db $98, $03, $44, $08, $59, $b2, $3d, $b3, $8f, $82, $95, $0f, $b9
	db $7b, $a3, $c0, $d1, $60, $ba, $7e
	db $a6, $80

Route48_Trainer_5:
	trainer EVENT_ROUTE_48_TRAINER_5, BIKER, 2, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $75, $32, $12, $53, $27, $46, $a4, $70, $10, $5a
	db $fb, $ca, $da, $b9, $d3, $b4, $45, $7b, $77, $d3
	db $f5, $34

.battle_won_text
	db TX_COMPRESSED, $07, $86, $a8, $ea, $2c, $f7, $bd, $05, $32, $12, $53
	db $1e, $e8, $d4, $8e, $02, $0b, $5e
	db $a6, $80

.after_battle_text
	db TX_COMPRESSED, $75, $11, $63, $ef, $66, $42, $4a
	db $63, $dd, $1a, $91, $c0, $41, $6b
	db $8d, $34

Route48_MapEventHeader:: db 0, 0

.Warps: db 0

.CoordEvents: db 0

.BGEvents: db 4
	signpost 51, 9, SIGNPOST_LOAD, Route48BorderSign
	signpost 87, 9, SIGNPOST_LOAD, Route48IlexForestSign
	signpost 141, 11, SIGNPOST_LOAD, Route48UphillSign
	signpost 25, 8, SIGNPOST_ITEM, Route48HiddenItem

.ObjectEvents: db 6
	person_event SPRITE_FRUIT_TREE, 98, 15, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, Route48FruitTree, -1
	person_event SPRITE_BIKER, 91, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TRAINER, 2, Route48_Trainer_1, -1
	person_event SPRITE_BIKER, 39, 5, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TRAINER, 4, Route48_Trainer_2, -1
	person_event SPRITE_BIKER, 63, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TRAINER, 4, Route48_Trainer_3, -1
	person_event SPRITE_BIKER, 19, 9, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TRAINER, 0, Route48_Trainer_4, -1
	person_event SPRITE_BIKER, 119, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TRAINER, 4, Route48_Trainer_5, -1

