TunodWaterway_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

TunodWaterwayFruitTree:
	fruittree 22

TunodWaterway_Trainer_1:
	trainer EVENT_TUNOD_WATERWAY_TRAINER_1, SWIMMERM, 11, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $51, $50, $df, $98, $05, $70, $10, $5a, $5a, $0f, $b8
	db $3d, $d1, $a9, $1c, $75, $32, $1e
	db $34, $d0

.battle_won_text
	db TX_COMPRESSED, $75, $2d, $21, $6b, $94, $dc, $7c
	db $13, $c0, $e5, $7c, $24, $95, $05, $ae
	db $e4, $02, $74, $18, $e3, $e1, $59, $c3, $21, $af, $90
	db $4f, $2b, $05, $08, $1b, $8c, $ea, $d6, $08, $64
	db $e5, $53, $e7, $35, $61, $68, $99, $a7
	db $82, $9a

.after_battle_text
	db TX_COMPRESSED, $72, $85, $a8, $84, $85, $ae, $e6, $2b
	db $37, $99, $09, $10, $3c, $9a, $f6, $ce, $5a, $76
	db $c0, $54, $70, $81, $aa, $27, $41, $8e, $5a
	db $4d, $eb, $36, $52, $40, $f4, $3c, $82, $96
	db $15, $57, $af, $9c, $07, $2b, $e1, $27
	db $a9, $a0

TunodWaterway_Trainer_2:
	trainer EVENT_TUNOD_WATERWAY_TRAINER_2, SWIMMERF, 8, .before_battle_text, .battle_won_text, $0000, .Script

.Script
	end_if_just_battled
	jumptext .after_battle_text

.before_battle_text
	db TX_COMPRESSED, $29, $23, $44, $69, $07, $99, $61, $8a
	db $cd, $e7, $c1, $44, $1b, $2b, $3b, $88, $10, $1b

	db $f0, $01, $23, $c0, $2b, $38, $a0, $2d, $5a, $4d, $7d
	db $04, $f0, $44, $19, $0f, $31, $a1, $12, $d3
	db $b6, $a8, $46, $da, $69, $e0
	db $a6, $80

.battle_won_text
	db TX_COMPRESSED, $07, $86, $af, $c0, $41, $6a, $20, $ce, $54, $90
	db $4f, $3a, $95, $69, $2c, $f3, $2d, $23
	db $42, $a1, $1d, $d6, $4e, $58, $63, $e0, $90, $7d, $c2
	db $96, $9a

.after_battle_text
	db TX_COMPRESSED, $6e, $73, $a1, $41, $c7, $c2, $b3, $9a, $4c
	db $bc, $f8, $56, $70, $42, $c6, $0d, $ac, $82
	db $00, $60, $c6, $b0, $52, $c6, $f9, $cb, $49
	db $bd, $50, $57, $dc, $cc, $9b, $23, $c9, $a2, $58
	db $55, $2b, $36, $42, $f9, $c4, $3f, $bd, $e9, $af
	db $d4, $d0

TunodWaterway_MapEventHeader ;filler
	db 0, 0

;warps
	db 0

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 3
	person_event SPRITE_FRUIT_TREE, 6, 18, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, TunodWaterwayFruitTree, -1
	person_event SPRITE_SWIMMER_GUY, 11, 21, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TRAINER, 2, TunodWaterway_Trainer_1, -1
	person_event SPRITE_SWIMMER_GIRL, 7, 40, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TRAINER, 5, TunodWaterway_Trainer_2, -1

