Route86Dock_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

Route86DockNPC1:
	faceplayer
	opentext
	writetext Route86DockNPC1_Text_16d24a
	waitbutton
	checkitem FERRY_TICKET
	iffalse Route86Dock_16d242
	writetext Route86DockNPC1_Text_16d280
	yesorno
	iffalse Route86Dock_16d248
	writetext Route86DockNPC1_Text_16d2bf
	waitbutton
	closetext
	spriteface 2, DOWN
	pause 10
	playsound SFX_EXIT_BUILDING
	disappear 2
	waitsfx
	applymovement PLAYER, Route86DockMoveDown
	playsound SFX_EXIT_BUILDING
	disappear 0
	waitsfx
	playsound SFX_BOAT 
	waitsfx
	warp CASTRO_DOCK, 9, 14
	end

Route86DockMoveDown:
	step_down
	step_end

Route86DockNPC2:
	jumptextfaceplayer Route86DockNPC2_Text_16d383

Route86DockNPC3:
	jumptextfaceplayer Route86DockNPC3_Text_16d33e

Route86Dock_16d242:
	jumptext Route86Dock_16d242_Text_16d31a

Route86Dock_16d248:
	closetext
	end

Route86DockNPC1_Text_16d24a:
	db TX_COMPRESSED, $6e, $7d, $64, $2f, $9c, $b0, $cb, $49
	db $bc, $25, $b7, $7d, $38, $a6, $6b, $58, $2e

	db $20, $38, $03, $01, $05, $a8, $9d, $06, $39
	db $af, $58, $d9, $52, $3b, $a5
	db $a6, $80

Route86DockNPC1_Text_16d280:
	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

Route86DockNPC1_Text_16d2bf:
	db TX_COMPRESSED, $61, $2c, $f6, $f8

	db $80, $6e, $6e, $1e, $cc, $98, $8d, $5d
	db $bc, $b1, $f2, $9b, $84, $0d, $5c
	db $69, $a0

Route86DockNPC2_Text_16d383:
	db TX_COMPRESSED, $75, $84, $04, $16, $a2, $1a, $5e, $10, $81, $5d
	db $a5, $e0, $41, $69, $c3, $d8, $64, $cc, $68, $44, $b0
	db $aa, $b4, $9c, $12, $db, $be, $9c, $ad, $6c, $ee, $4f
	db $d4, $d0

Route86DockNPC3_Text_16d33e:
	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

Route86Dock_16d242_Text_16d31a:
	db TX_COMPRESSED, $50, $15, $ac, $17, $e1, $03, $2c, $6c, $a9, $1d
	db $bc, $40, $c3, $25, $ac, $17
	db $1a, $68

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, 0, 0, Route86DockNPC1, -1
	person_event SPRITE_YOUNGSTER, 11, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, 0, 0, Route86DockNPC2, -1
	person_event SPRITE_COOLTRAINER_F, 13, 12, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, 0, 0, Route86DockNPC3, -1

