Route54_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route54HiddenItem:
	dw EVENT_ROUTE_54_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route54Signpost:
	ctxt "<UP> Merson Cave"
	next "  Entrance"
	done

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
	ctxt "Cutey cute cute!"
	done

.battle_won_text
	ctxt "Oh well, good"
	line "game!"
	done

.after_battle_text
	ctxt "Always prefer"
	line "cute!"
	done

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
	ctxt "I have found"
	line "inner peace."
	done

.battle_won_text
	ctxt "I remain"
	line "emotionless."
	done

.after_battle_text
	ctxt "How you react to"
	line "situations is"
	para "more important"
	line "than the"
	para "situations that"
	line "approach you."
	done

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, PERSONTYPE_TRAINER, 2, Route54_Trainer_1, -1
	person_event SPRITE_SAGE, 6, 42, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TRAINER, 3, Route54_Trainer_2, -1
	person_event SPRITE_FRUIT_TREE, 9, 54, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, Route54Tree, -1
