AcquaExitChamber_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 1
	dbw 5, .set_pokecenter

.set_pokecenter
	blackoutmod CAPER_CITY
	return

AcquaExitChamberNPC:
	faceplayer
	opentext
	checkevent EVENT_ACQUA_BERRY_MAN
	sif true
		jumptext .after_giving_berry_text
	writetext .opening_text
	yesorno
	sif false
		jumptext .declined_text
	writetext .before_giving_berry_text
	verbosegiveitem ORAN_BERRY, 1
	sif false
		closetextend
	setevent EVENT_ACQUA_BERRY_MAN
	waitbutton
	jumptext .after_giving_berry_text

.opening_text
	db TX_COMPRESSED, $6e, $9d, $b8, $90, $cd, $26
	db $5e, $a9, $3b, $71, $21

	db $e2, $02, $b9, $81, $f7, $a1, $aa, $5a, $f4, $18, $fa, $6b

	db $e2, $01, $b8, $5a, $ee, $60, $20, $b5, $3a, $35, $23
	db $79, $f3, $96, $18, $84, $ea, $ce, $04
	db $86, $a8, $38, $47, $c1, $4b, $59, $ea, $1a, $59, $a2
	db $96, $9a

.before_giving_berry_text
	db TX_COMPRESSED, $75, $78, $a6, $c1, $23, $5a, $c1, $71

	db $01, $59, $23, $b5, $e9, $20, $91, $ad, $60, $bf, $2c
	db $2f, $2b, $38, $81, $06, $c8, $f0, $1b, $3c

	db $40, $03, $95, $f0, $92, $74, $20, $c7, $2c
	db $2f, $1e, $dc, $b4, $9a, $0e, $5a, $46, $4e, $51
	db $c4, $1c, $c0

.after_giving_berry_text
	db TX_COMPRESSED, $ae, $ef, $59, $48, $c9, $cc, $12, $35, $ac, $66
	db $87, $ac, $30, $10, $5a, $5c, $07, $2b, $e1
	db $22, $a6, $74, $91, $27, $d1, $10, $10, $5a
	db $55, $96, $96, $32, $73, $36, $2b, $db, $be, $9f

	db $80, $39, $d0, $32, $73, $02, $43, $95, $04, $94
	db $c7, $8c, $18, $c9, $2a, $d4, $59, $cd, $96, $d2, $c9
	db $c6, $9a

.declined_text
	db TX_COMPRESSED, $61, $6a, $7f, $2a, $3e, $f6, $3a, $9c, $b4, $68
	db $43, $ce, $9c, $3d, $8a, $46, $62, $20, $ee, $9e
	db $0a, $68

AcquaExitChamber_MapEventHeader:: db 0, 0

.Warps
	db 2
	warp_def $b, 3, 2, CAPER_CITY
	dummy_warp 3, 5

.CoordEvents
	db 0

.BGEvents
	db 0

.ObjectEvents
	db 1
	person_event SPRITE_FISHING_GURU, 7, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, AcquaExitChamberNPC, -1

