SenecaCavernsF1_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

SenecaCavernsF1_Trainer_1:
	trainer EVENT_SENECACAVERNSF1_TRAINER_1, BURGLAR, 2, .before_battle_text, .battle_won_text

	db TX_COMPRESSED, $07, $86, $a8, $ea, $72, $1b, $bd, $95, $6f, $54
	db $9e, $de, $f6, $5a, $4e, $55, $a0, $a6, $43, $51
	db $00, $58, $65, $a4, $e0, $39, $5f, $09
	db $1e, $6d, $32, $59, $af
	db $d4, $d0

.before_battle_text
	db TX_COMPRESSED, $29, $26, $b3, $c5, $08, $19, $56, $82
	db $9a, $f2, $90, $f3, $3a, $35, $23, $80, $82, $d4, $67
	db $48, $a9, $3a, $4c, $f4, $e3, $e7
	db $c6, $9a

.battle_won_text
	db TX_COMPRESSED, $12, $3d, $b3, $24, $db, $8f, $82, $81, $a8
	db $8f, $73, $af, $9d, $3c
	db $14, $d0

SenecaCavernsF1_Trainer_2:
	trainer EVENT_SENECACAVERNSF1_TRAINER_2, BIRD_KEEPER, 7, .before_battle_text, .battle_won_text

	db TX_COMPRESSED, $76, $46, $4e, $3a, $89, $3d, $ec, $b4, $9b
	db $ef, $34, $23, $f2, $d2, $60, $9c, $3d, $8a
	db $cc, $02, $cf, $72, $0a, $58, $65, $ea, $91
	db $bc, $08, $2d, $4c, $86, $a2
	db $7a, $9a

.before_battle_text
	db TX_COMPRESSED, $12, $34, $87, $b9, $fc, $04, $16
	db $96, $f6, $83, $0f, $49, $37, $20, $c6, $b4, $6a, $c6, $68
	db $e3, $4d

.battle_won_text
	db TX_COMPRESSED, $6e, $9d, $b8, $af, $73, $3a, $d3, $2a, $5c
	db $69, $a0

SenecaCavernsF1_Trainer_3:
	trainer EVENT_SENECACAVERNSF1_TRAINER_3, GUITARIST, 4, .before_battle_text, .battle_won_text

	db TX_COMPRESSED, $07, $86, $d2, $32, $73, $06, $88, $60, $c6
	db $b7, $b9, $08, $c9, $cc, $b0, $c5, $23, $31, $11, $f3
	db $55, $82, $c2, $fc, $58, $59, $52, $19, $04, $d6, $7b
	db $c6, $9a

.before_battle_text
	db TX_COMPRESSED, $61, $2c, $f6, $e6, $b2, $16, $91, $63, $65
	db $0f, $0c, $91, $26, $b3, $fc, $4b, $49, $a5
	db $a6, $80

.battle_won_text
	text "Ouch!"
	done

SenecaCavernsF1_Trainer_4:
	trainer EVENT_SENECACAVERNSF1_TRAINER_4, FIREBREATHER, 9, .before_battle_text, .battle_won_text

	db TX_COMPRESSED, $50, $17, $ce, $08, $30, $88, $e9, $cb, $48, $c8
	db $a4, $f5, $a4, $e1, $ea, $2e, $20, $79, $38, $1c
	db $00, $5a, $46, $88, $ce, $83, $1c, $64, $24, $bd, $19
	db $10, $f5, $a4, $e3, $90, $74, $e0, $49, $31, $cf, $79, $68

	db $fc, $00, $1c, $1a, $c1, $4c, $1a, $21, $01
	db $7a, $9a

.before_battle_text
	db TX_COMPRESSED, $53, $ee, $be, $76, $95, $86, $a3, $5f
	db $1a, $68

.battle_won_text
	db TX_COMPRESSED, $61, $2c, $f6, $ff, $08, $1a, $a3, $a8, $43, $3c
	db $bd, $b0, $49, $a5, $92, $31, $3d, $ef
	db $a9, $a0

SenecaCavernsF1_MapEventHeader ;filler
	db 0, 0

;warps
	db 5
	warp_def $1c, $20, 3, ROUTE_67
	warp_def $9, $21, 4, SENECACAVERNSB2F
	warp_def $5, $1b, 3, SENECACAVERNSB1F
	warp_def $b, $d, 1, SENECACAVERNSB1F
	warp_def $1c, $c, 2, ROUTE_67

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 7
	person_event SPRITE_R_BURGLER, 20, 37, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_GENERICTRAINER, 1, SenecaCavernsF1_Trainer_1, -1
	person_event SPRITE_BIRDKEEPER, 10, 40, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_GENERICTRAINER, 2, SenecaCavernsF1_Trainer_2, -1
	person_event SPRITE_ROCKER, 16, 13, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_GENERICTRAINER, 2, SenecaCavernsF1_Trainer_3, -1
	person_event SPRITE_FIREBREATHER, 28, 8, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_GENERICTRAINER, 1, SenecaCavernsF1_Trainer_4, -1
	person_event SPRITE_POKE_BALL, 17, 41, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_ITEMBALL, 1, PP_UP, EVENT_SENECACAVERNSF1_ITEM_PP_UP
	person_event SPRITE_POKE_BALL, 16, 4, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_ITEMBALL, 1, ELIXIR, EVENT_SENECACAVERNSF1_ITEM_ELIXIR
	person_event SPRITE_ROCK, 20, 35, SPRITEMOVEDATA_00, 0, 0, -1, -1, PAL_OW_BROWN, PERSONTYPE_JUMPSTD, 0, smashrock, -1

