AcaniaDocks_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 1

	dbw 5, AcaniaDocks_SetFlyFlag

AcaniaDocks_SetFlyFlag:
	setflag ENGINE_FLYPOINT_ACANIA_DOCKS
	return

AcaniaDocksSignpost1:
	db TX_COMPRESSED, $e0, $0b, $2a, $51, $58, $2a, $b4, $14, $b0, $cb, $49
	db $d3, $c2, $a8, $2b, $ee
	db $69, $a0

AcaniaDocksSignpost2:
	jumpstd martsign

AcaniaDocksSignpost3:
	jumpstd pokecentersign

AcaniaDocksSignpost4:
	db TX_COMPRESSED, $53, $1a
	db $ce, $9e, $16, $38, $f9, $4d, $a4, $2d, $20
	db $e9, $a0

AcaniaDocksSignpost5:
	db TX_COMPRESSED, $ad, $9d, $20, $f6, $30, $81
	db $3f, $4f, $0b, $1c, $f7, $26, $b7, $19, $58, $2d, $52
	db $da, $78, $45, $24, $e5, $86, $9d, $1b
	db $34, $f0, $ad, $7a, $32, $1a, $f8
	db $d3, $40

AcaniaDocksNPC1:
	jumptextfaceplayer AcaniaDocksNPC1_Text_12740c

AcaniaDocksNPC2:
	jumptextfaceplayer AcaniaDocksNPC2_Text_127272

AcaniaDocksNPC3:
	jumptextfaceplayer AcaniaDocksNPC3_Text_12732f

AcaniaDocksNPC4:
	faceplayer
	checkevent EVENT_ACANIA_TM_44
	iftrue AcaniaDocks_1274f2
	opentext
	writetext AcaniaDocksNPC4_Text_127500
	waitbutton
	givetm 44 + RECEIVED_TM
	setevent EVENT_ACANIA_TM_44
	jumptext AcaniaDocksNPC4_Text_12752d

AcaniaDocks_1274f2:
	jumptext AcaniaDocksNPC4_Text_12752d

AcaniaDocksNPC1_Text_12740c:
	db TX_COMPRESSED, $15, $05, $05, $c6, $0c, $67, $0c, $18, $3d, $06, $3c
	db $bc, $32, $58, $66, $c6, $17, $75, $93, $09
	db $00, $54, $91, $f4, $e5, $af, $46, $41, $93
	db $97, $87, $71, $3a, $bc, $c1, $92, $5a
	db $4d, $53, $6f, $76, $d2, $b1, $d9, $c2, $9a, $21, $0f, $be

	db $00, $c4, $35, $18, $31, $af, $f1, $f0, $52, $a1, $e0, $78
	db $9e, $17, $18, $31, $9c, $30, $60, $f4, $18, $f3, $06, $4b
	db $0a, $ad, $98, $e7, $b8, $18, $49, $06, $44, $59, $ee, $78

	db $80, $74, $59, $08, $1b, $88, $69, $67, $2a, $48, $2f
	db $bc, $ad, $ab, $96, $93, $96, $93, $0a, $c1, $47
	db $40, $13, $a0, $c7, $06, $89, $69, $db, $95
	db $1b, $d5, $1a, $ce, $0c, $90, $1b, $51, $7d
	db $04, $ab, $23, $c3, $03, $59, $92, $e6, $ac, $f5, $1e
	db $a6, $80

AcaniaDocksNPC2_Text_127272:
	db TX_COMPRESSED, $e0, $0c, $04, $16, $a2, $0c, $e5, $a4
	db $de, $e8, $f9, $4d, $a4, $2d, $20, $e5, $a4, $d6, $74

	db $a0, $0a, $49, $c6, $13, $5a, $bc, $8f, $48, $89, $91, $a0
	db $0b, $db, $de, $86, $a3, $cc, $56, $d0, $fb, $91, $93
	db $95, $43, $bf, $ca, $b4, $14, $57, $ac, $a9, $4b, $49, $93

	db $c0, $1b, $a4, $31, $48, $81, $a9, $12, $a4, $9a
	db $cd, $eb, $49, $82, $9a, $b3, $84, $0d, $5f, $81
	db $58, $01, $e1, $2d, $26, $08, $b8, $e1, $83, $19
	db $1e, $45, $8f, $bd, $9b, $d1, $83, $1d, $3c
	db $14, $d0

AcaniaDocksNPC3_Text_12732f:
	db TX_COMPRESSED, $75, $78, $a3, $2b, $d1, $36, $0b

	db $88, $02, $92, $34, $46, $90, $79, $96, $18, $ac
	db $de, $20, $6d, $23, $27, $31, $5b, $57, $10, $7b

	db $c4, $03, $74, $86, $29, $10, $35, $22, $54, $93, $59
	db $bd, $69, $30, $4e, $1e, $c5, $6d, $0f, $b9, $96, $93
	db $54, $43, $a7, $6e, $03, $f7, $b4, $e0, $65, $86, $a2, $52
	db $d3, $40

AcaniaDocksNPC4_Text_127500:
	db TX_COMPRESSED, $29, $27, $19, $de, $bf, $10, $7b, $06
	db $87, $90, $18, $b3, $ee, $d3, $a3, $27, $3e

	db $00, $ea, $33, $a4, $98, $6f, $7b, $35, $1d, $33
	db $10, $f5, $38, $d2, $2e, $22, $f4, $99, $19, $39, $89, $35
	db $9a, $ad, $26, $62, $2f, $56, $32, $73, $36, $e0, $ef

	db $c0, $1c, $a1, $69, $70, $1c, $af, $84, $91, $9d
	db $23, $d8, $6f, $7b, $35, $1d, $33, $11, $2c, $21
	db $fa, $aa, $87, $69, $96, $91, $a3
	db $d4, $d0

AcaniaDocksNPC4_Text_12752d:
	db TX_COMPRESSED, $28, $56, $9f, $d3, $f8, $34, $47, $21, $a2

	db $fc, $01, $ca, $16, $97, $01, $ca, $f8, $49, $2a, $1f
	db $7a, $f6, $1b, $de, $cd, $47, $4c, $c4, $4d, $26
	db $40, $2c, $d9, $08, $31, $ae, $6f, $7b, $03
	db $83, $c3, $b4, $44, $9e, $f6, $d3
	db $c6, $9a

AcaniaDocks_MapEventHeader:: db 0, 0

.Warps: db 8
	warp_def 15, 7, 1, ACANIA_POKECENTER
	warp_def 9, 3, 1, ACANIA_MART
	warp_def 19, 7, 1, ROUTE_81_NORTHGATE
	warp_def 19, 8, 2, ROUTE_81_NORTHGATE
	warp_def 9, 16, 1, ACANIA_GYM
	warp_def 5, 28, 1, ACANIA_LIGHTHOUSE_F1
	warp_def 15, 13, 1, ACANIA_HOUSE
	warp_def 11, 23, 1, ACANIA_TM63

.CoordEvents: db 0

.BGEvents: db 5
	signpost 8, 10, SIGNPOST_LOAD, AcaniaDocksSignpost1
	signpost 9, 4, SIGNPOST_READ, AcaniaDocksSignpost2
	signpost 15, 8, SIGNPOST_READ, AcaniaDocksSignpost3
	signpost 10, 30, SIGNPOST_LOAD, AcaniaDocksSignpost4
	signpost 10, 18, SIGNPOST_LOAD, AcaniaDocksSignpost5

.ObjectEvents: db 4
	person_event SPRITE_POKEFAN_M, 16, 10, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, AcaniaDocksNPC1, EVENT_ACANIA_DOCKS_NPC_1
	person_event SPRITE_GRAMPS, 14, 30, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, AcaniaDocksNPC2, -1
	person_event SPRITE_FISHER, 13, 17, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 8, PERSONTYPE_SCRIPT, 0, AcaniaDocksNPC3, EVENT_ACANIA_DOCKS_NPC_3
	person_event SPRITE_LASS, 9, 9, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, AcaniaDocksNPC4, -1

