Route56_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route56HiddenItem_1:
	dw EVENT_ROUTE_56_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route56HiddenItem_2:
	dw EVENT_ROUTE_56_HIDDENITEM_SILVER_EGG
	db SILVER_EGG

Route56_Trainer_1:
	trainer EVENT_ROUTE_56_TRAINER_1, SWIMMERM, 7, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	ctxt "Guess how many"
	line "laps I did!"
	done

.battle_won_text
	ctxt "I swamp back and"
	line "forth hundreds"
	cont "of times."

	para "Seriously!"
	done

.after_battle_text
	ctxt "I'll shave my"
	line "hair next time;"
	para "it's supposed to"
	line "make me swim"
	cont "faster, right?"
	done

Route56_Trainer_2:
	trainer EVENT_ROUTE_56_TRAINER_2, SWIMMERF, 6, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	ctxt "Look at me"
	line "backstroke!"
	done

.battle_won_text
	ctxt "Swimming while"
	line "battling is"
	cont "exciting!"
	done

.after_battle_text
	ctxt "Come practice with"
	line "me sometime."
	done

Route56_Trainer_3:
	trainer EVENT_ROUTE_56_TRAINER_3, SWIMMERM, 8, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	ctxt "Stroke!"
	done

.battle_won_text
	ctxt "That battle"
	line "almost gave me"
	para "the other kind"
	line "of stroke!"
	done

.after_battle_text
	ctxt "Swimming will"
	line "keep you fit."

	para "When you surf,"
	line "your #mon get"
	para "the exercise,"
	line "not you!"
	done

Route56_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $3, $23, 2, ROUTE_56_GATE_UNDERGROUND
	warp_def $b, $5d, 1, ROUTE_56_GATE

	;xy triggers
	db 0

	;signposts
	db 2
	signpost 0, 77, SIGNPOST_ITEM, Route56HiddenItem_1
	signpost 17, 52, SIGNPOST_ITEM, Route56HiddenItem_2

	;people-events
	db 3
	person_event SPRITE_SWIMMER_GUY, 9, 72, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TRAINER, 4, Route56_Trainer_1, -1
	person_event SPRITE_SWIMMER_GIRL, 11, 42, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TRAINER, 4, Route56_Trainer_2, -1
	person_event SPRITE_SWIMMER_GUY, 7, 23, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TRAINER, 4, Route56_Trainer_3, -1
