GravelTown_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 1

	dbw 5, .set_fly_flag

.set_fly_flag
	setflag ENGINE_FLYPOINT_GRAVEL_TOWN
	setevent EVENT_RIJON_SECOND_PART
	return

GravelTown_GoldToken:
	dw EVENT_GRAVEL_TOWN_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

GravelTown_LabSign:
	db TX_COMPRESSED, $e1, $58, $70, $34, $20, $2b, $85, $0d, $fc
	db $54, $f0, $b1, $f5
	db $5d, $34

GravelTown_TownSign:
	db TX_COMPRESSED, $ae, $0b, $36, $86, $77, $1f, $0b, $44, $bd, $19
	db $29, $e1, $58, $6a, $27
	db $a9, $a0

GravelTown_CaveSign:
	db TX_COMPRESSED, $15, $35, $a0, $24, $8d, $ba, $0c
	db $74, $f0, $85, $c4, $b5, $e9, $19
	db $3a, $68

GravelTownNPC1:
	db TX_COMPRESSED, $29, $27, $19, $58, $d0, $22, $3e, $16, $89, $7a, $32
	db $3d, $a3, $5c, $7f, $54, $8d, $11, $f3, $98, $19
	db $f5, $52, $03, $37, $a3, $06, $3e
	db $34, $d0

GravelTownNPC2:
	db TX_COMPRESSED, $17, $03, $19, $25, $a4, $2d, $72
	db $97, $90, $17, $cc, $24, $38, $23, $ba, $4b, $3c
	db $80, $b4, $9a, $0e, $61, $d0, $d4, $6b, $44, $09
	db $1e, $d8, $23, $6d, $3f, $96, $93, $04, $5c
	db $60, $06, $43, $a7, $44, $74, $6c, $ea, $be, $82
	db $79, $17, $a0, $86, $4e, $62, $2d, $61, $27, $3e
	db $a6, $80

GravelTown_MapEventHeader:: db 0, 0

.Warps
	db 3
	warp_def $23, $d, 2, MERSON_CAVE_B2F
	warp_def $1b, $9, 1, GRAVEL_MART
	warp_def $b, $c, 1, JENS_LAB

.CoordEvents
	db 0

.BGEvents
	db 5
	signpost 13, 13, SIGNPOST_LOAD, GravelTown_LabSign
	signpost 9, 3, SIGNPOST_LOAD, GravelTown_TownSign
	signpost 35, 11, SIGNPOST_LOAD, GravelTown_CaveSign
	signpost 27, 10, SIGNPOST_JUMPSTD, martsign
	signpost 1, 6, SIGNPOST_ITEM, GravelTown_GoldToken

.ObjectEvents
	db 2
	person_event SPRITE_COOLTRAINER_M, 12, 4, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_OW_GREEN, PERSONTYPE_TEXTFP, 0, GravelTownNPC1, -1
	person_event SPRITE_YOUNGSTER, 28, 15, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, PERSONTYPE_TEXTFP, 0, GravelTownNPC2, -1

