Route59_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route59HiddenItem:
	dw EVENT_ROUTE_59_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route59DirectionsSign:
	db TX_COMPRESSED, $13, $59, $dc, $50, $3e, $88, $4c, $6f, $ab, $34, $85, $a4
	db $1d, $3c, $21, $35, $9d, $89, $ad, $5c, $48, $37, $a4, $8d, $a3, $b0
	db $54, $f0, $84, $d6, $79, $04, $ce, $9a, $da, $8d, $a3, $b0
	db $54, $d0

Route59_Trainer_1:
	trainer EVENT_ROUTE_59_TRAINER_1, JUGGLER, 2, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $12, $0d, $e9, $23, $68, $ec, $14, $1a, $09, $4c
	db $78, $59, $b5, $ab, $d2, $58, $c8, $79
	db $55, $a4, $04, $f8, $56, $7c
	db $69, $a0

.battle_won_text
	db TX_COMPRESSED, $28, $21, $8a, $f7, $32, $d2, $60, $a6, $42, $4a
	db $63, $c9, $d0, $63, $9b, $01, $ca, $f8
	db $48, $a9, $b4, $c9, $66, $bf, $c5, $66, $ce, $b4, $83
	db $00, $ea, $32, $16, $bb, $98, $d2, $0e, $04
	db $86, $f6, $ab, $0b, $57, $08, $1a
	db $bd, $4d

.after_battle_text
	db TX_COMPRESSED, $07, $86, $a9, $69, $db, $96, $93
	db $7a, $cc, $88, $18, $49, $06, $48, $24, $1b, $d2
	db $00, $64, $76, $0a, $27, $51, $19, $de, $be, $79
	db $7b, $21, $a8, $9f, $86, $0c, $6b, $04, $12
	db $18, $01, $a2, $60, $b3, $39, $61, $86, $4b, $35
	db $bd, $a4, $cc, $3a, $74, $77, $36, $e5, $43, $ef
	db $7d, $4d

Route59_Trainer_2:
	trainer EVENT_ROUTE_59_TRAINER_2, FIREBREATHER, 4, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $29, $27, $1f, $1e, $73, $d3, $81, $c2, $5a, $46
	db $87, $b9, $5e, $a1, $13, $01, $9f, $73, $06, $89, $69
	db $30, $0a, $cd, $17, $04, $77, $59, $39, $61
	db $78, $42, $f5, $9b, $1b, $27, $1f, $05, $30, $1a
	db $cd, $52, $b5, $9e, $da, $46, $4e, $78
	db $d3, $40

.battle_won_text
	db TX_COMPRESSED, $6d, $de, $bf, $32, $1a, $89, $f8, $08, $2d
	db $3c, $ac, $f6, $e3, $e7

	db $e0, $0e, $af, $14, $20, $6e, $74, $6a
	db $46, $f0, $20, $b4, $5c, $72, $d2, $71, $94, $eb, $e2
	db $15, $05, $71, $01, $7c, $ed, $23, $27, $3e

	db $00, $ed, $3f, $95, $68, $ef
	db $d4, $d0

.after_battle_text
	db TX_COMPRESSED, $28, $6f, $9c, $b0, $c1, $1a, $ca, $94, $68
	db $43, $c1, $24, $7c, $2b, $38, $c8, $56
	db $45, $48, $bd, $5b, $29
	db $f5, $34

Route59_MapEventHeader:: db 0, 0

.Warps: db 2
	warp_def 3, 54, 1, SILPH_WAREHOUSE_F1
	warp_def 5, 63, 2, ROUTE_59_GATE

.CoordEvents: db 0

.BGEvents: db 2
	signpost 7, 55, SIGNPOST_LOAD, Route59DirectionsSign
	signpost 12, 17, SIGNPOST_ITEM, Route59HiddenItem

.ObjectEvents: db 3
	person_event SPRITE_POKE_BALL, 11, 23, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_YELLOW, PERSONTYPE_TMHMBALL, TM_SWORDS_DANCE, 0, EVENT_ROUTE_59_NPC_1
	person_event SPRITE_JUGGLER, 10, 48, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, Route59_Trainer_1, -1
	person_event SPRITE_FIREBREATHER, 4, 17, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TRAINER, 2, Route59_Trainer_2, -1

