AcquaPhloxEntrance_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 1
	dbw 5, .initialize

.initialize
	checkflag ENGINE_FLYPOINT_PHLOX_TOWN
	sif true, then
		setevent EVENT_0
	selse
		clearevent EVENT_0
	sendif
	writebyte 1
	farjump AcquaWarpMod

AcquaPhloxEntranceBlockingHiker:
	db TX_COMPRESSED, $e0, $1e, $60, $20, $b5, $14, $88, $1a, $a9, $61, $49
	db $37, $ac, $79, $34, $41, $92, $5a, $46, $88, $ce, $83
	db $18, $06, $53, $a4, $e4, $e6, $ab, $0b, $57, $2d, $2b, $33
	db $7a, $c6, $f9, $a2, $6c, $ce, $82
	db $f5, $34

AcquaPhloxEntrance_MapEventHeader:: db 0, 0

.Warps
	db 2
	dummy_warp 3, 5
	warp_def 5, 5, 7, PHLOX_TOWN

.CoordEvents
	db 0

.BGEvents
	db 0

.ObjectEvents
	db 2
	person_event SPRITE_HIKER, 5, 5, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TEXTFP, 0, AcquaPhloxEntranceBlockingHiker, EVENT_0
	person_event SPRITE_HIKER, 5, 4, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_OW_BLUE, PERSONTYPE_TEXTFP, 0, AcquaPhloxEntranceBlockingHiker, EVENT_0 | $8000

