Route54_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route54HiddenItem:
	dw EVENT_ROUTE_54_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route54Signpost:
	db TX_COMPRESSED, $13, $59, $dc, $15, $35, $a0, $24, $8d, $ba, $0c
	db $74, $f0, $a4, $17, $12, $d7, $a4, $64
	db $e9, $a0

Route54Tree:
	fruittree 4

Route54_Trainer_1:
	trainer EVENT_ROUTE_54_TRAINER_1, LASS, 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, $6a, $cc, $14, $65, $ab, $38, $cb, $56, $7c
	db $69, $a0

.battle_won_text
	db TX_COMPRESSED, $76, $99, $51, $f7, $bf, $9c, $84, $39
	db $7b, $9d, $7c, $f8
	db $d3, $40

.after_battle_text
	db TX_COMPRESSED, $af, $b5, $68, $24, $41, $0b, $3c, $0d
	db $6f, $32, $d5, $9f
	db $1a, $68

Route54_Trainer_2:
	trainer EVENT_ROUTE_54_TRAINER_2, SAGE, 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, $13, $a0, $c7, $30, $0b, $44
	db $cb, $c3, $21, $0d, $70, $41, $eb, $27
	db $ea, $68

.battle_won_text
	db TX_COMPRESSED, $75, $16, $6f, $e8
	db $c8, $f1, $be, $1b, $18, $49, $d3, $42
	db $3d, $4d

.after_battle_text
	db TX_COMPRESSED, $62, $1a, $a0, $20, $b5, $16, $7a, $cd, $cb
	db $0b, $c8, $1d, $b5, $b6, $30, $91, $10, $68
	db $00, $f8, $56, $70, $6f, $88, $0a, $ef, $49
	db $6f, $5a, $74, $92, $d2
	db $60, $10, $3b, $6b, $6c, $61, $22, $25, $a7
	db $6d, $ed, $10, $21, $61, $d6, $53, $01, $05, $af
	db $53, $40

Route54_MapEventHeader ;filler
	db 0, 0

;warps
	db 1
	warp_def $3, $28, 2, MERSON_CAVE_B1F

	;xy triggers
	db 0

	;signposts
	db 2
	signpost 9, 45, SIGNPOST_LOAD, Route54Signpost
	signpost 15, 52, SIGNPOST_ITEM, Route54HiddenItem

	;people-events
	db 3
	person_event SPRITE_COOLTRAINER_F, 13, 51, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 0, -1, -1, PAL_OW_RED, 2, 2, Route54_Trainer_1, -1
	person_event SPRITE_SAGE, 6, 42, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_OW_RED, 2, 3, Route54_Trainer_2, -1
	person_event SPRITE_FRUIT_TREE, 9, 54, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_GREEN, 0, 0, Route54Tree, -1

