Route86Dock_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route86DockNPC1:
	db TX_COMPRESSED, $75, $84, $04, $16, $a7, $21, $84, $0a, $ed
	db $2f, $02, $0b, $4e, $1e, $c3, $26, $63, $42, $25
	db $85, $55, $a4, $e0, $96, $dd, $f4, $e5, $6b, $67, $72, $7e
	db $a6, $80

Route86DockNPC2:
	db TX_COMPRESSED, $29, $27, $04, $b6, $ef, $a7, $2b, $5b, $3b, $93
	db $79, $3a, $89, $a4, $83, $25, $9a, $cd, $16, $32
	db $72, $a9, $90, $91, $93, $11, $7e

	db $00, $c2, $08, $73, $3a, $d3, $2a, $5c
	db $69, $a0

Route86DockSailor:
	faceplayer
	opentext
	farwritetext BattleArcadeFerrySailor_Text_Welcome
	checkitem FERRY_TICKET
	sif false
		farjumptext BattleArcadeFerrySailor_Text_NoTicket
	writetext .want_to_go_text
	yesorno
	sif false, then
		closetext
		end
	sendif
	farwritetext BattleArcadeFerrySailor_Text_Departing
	closetext
	spriteface 2, DOWN
	pause 10
	playsound SFX_EXIT_BUILDING
	disappear 2
	waitsfx
	applymovement PLAYER, .step_in
	playsound SFX_EXIT_BUILDING
	disappear PLAYER
	waitsfx
	playsound SFX_BOAT 
	waitsfx
	warp CASTRO_DOCK, 9, 14
	end

.step_in
	step_down
	step_end

.want_to_go_text
	db TX_COMPRESSED, $6e, $12, $64, $d7, $83, $5d

	db $e2, $01, $b8, $5a, $ee, $60, $20, $b5, $3a, $35, $23, $96
	db $17, $95, $87, $57, $99, $a4, $cc, $49, $ee
	db $55, $58, $63, $6e, $a2, $d6, $18, $0e, $37, $bd, $30, $54
	db $b4, $d0

Route86Dock_MapEventHeader ;filler
	db 0, 0

;warps
	db 1
	warp_def $3, $9, 5, ROUTE_86_DOCK_EXIT

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 3
	person_event SPRITE_SAILOR, 23, 9, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, Route86DockSailor, -1
	person_event SPRITE_YOUNGSTER, 11, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TEXTFP, 0, Route86DockNPC1, -1
	person_event SPRITE_COOLTRAINER_F, 13, 12, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_TEXTFP, 0, Route86DockNPC2, -1

