Route50_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route50HiddenItem:
	dw EVENT_ROUTE_50_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

Route50DirectionsSign:
	db TX_COMPRESSED, $13, $59, $e4, $8e, $40, $b5, $67, $05, $b1
	db $62, $9e, $10, $9a, $d5, $c4, $d6, $77, $1c, $81, $6a, $ce, $53, $f7
	db $33, $4d

Route50_Trainer_1:
	trainer EVENT_ROUTE_50_TRAINER_1, BUG_CATCHER, 6, .before_battle_text, .battle_won_text

	db TX_COMPRESSED, $13, $2d, $22, $e2, $07, $76, $32, $73, $34, $99
	db $7a, $ad, $1d, $8c, $9c, $cc, $02
	db $b5, $5a, $40, $da, $4d, $70, $a5, $e8, $c8, $6b
	db $f5, $34

.before_battle_text
	db TX_COMPRESSED, $07, $9e, $dc, $e8, $ee, $fa, $70, $47, $75, $93
	db $7a, $c3, $12, $3c, $9f, $e2, $5a, $4d
	db $2d, $34

.battle_won_text
	db TX_COMPRESSED, $c7, $34, $22, $24, $79, $19, $39, $9a, $4c
	db $bc, $f8, $56, $72, $d7, $a3, $20, $c9, $cf
	db $a9, $a0

Route50_Trainer_2:
	trainer EVENT_ROUTE_50_TRAINER_2, BURGLAR, 1, .before_battle_text, .battle_won_text

	db TX_COMPRESSED, $72, $85, $a8, $ce, $92, $72, $77, $2c
	db $2f, $56, $26, $f7, $a7, $b0, $a0, $d4, $48, $3c
	db $00, $02, $0b, $51, $48, $cc, $44, $e4, $23, $27
	db $2f, $10, $2b, $b4, $f1
	db $a6, $80

.before_battle_text
	db TX_COMPRESSED, $75, $19, $d7, $ce, $60, $b0
	db $be, $f0, $99, $0a, $6c, $3c
	db $69, $a0

.battle_won_text
	db TX_COMPRESSED, $6e, $93, $59, $cd, $59, $c0, $41
	db $69, $ec, $16, $17, $e9

	db $40, $03, $cc, $18, $d7, $12, $7a, $bc, $c0
	db $e0, $f0, $ef
	db $d4, $d0

Route50_Trainer_3:
	trainer EVENT_ROUTE_50_TRAINER_3, SUPER_NERD, 5, .before_battle_text, .battle_won_text

	db TX_COMPRESSED, $75, $32, $12, $53, $21, $0c, $f3, $01, $05, $a5
	db $bc, $93, $e8, $88, $b1, $f2, $9b, $84, $0d, $5e
	db $a6, $80

.before_battle_text
	db TX_COMPRESSED, $6f, $a3, $be
	db $34, $d0

.battle_won_text
	db TX_COMPRESSED, $29, $3a, $45, $24, $4c, $02, $b8, $08, $2d
	db $2d, $eb, $1b, $e7
	db $ea, $68

Route50_MapEventHeader ;filler
	db 0, 0

;warps
	db 1
	warp_def $5, $30, 3, ROUTE_50_GATE

	;xy triggers
	db 0

	;signposts
	db 2
	signpost 5, 43, SIGNPOST_LOAD, Route50DirectionsSign
	signpost 7, 21, SIGNPOST_ITEM, Route50HiddenItem

	;people-events
	db 5
	person_event SPRITE_BUG_CATCHER, 2, 10, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_GENERICTRAINER, 3, Route50_Trainer_1, -1
	person_event SPRITE_PHARMACIST, 6, 41, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_GENERICTRAINER, 4, Route50_Trainer_2, -1
	person_event SPRITE_GYM_GUY, 5, 24, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_BROWN, PERSONTYPE_GENERICTRAINER, 5, Route50_Trainer_3, -1
	person_event SPRITE_POKE_BALL, 11, 28, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_YELLOW, PERSONTYPE_TMHMBALL, TM_STEEL_WING, 0, EVENT_ROUTE_50_TM
	person_event SPRITE_FRUIT_TREE, 2, 38, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_YELLOW, PERSONTYPE_FRUITTREE, 0, 3, -1

