CastroMart_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

CastroMartNPC1:
	faceplayer
	opentext
	pokemart 0, 30
	closetext
	end

CastroMartNPC2:
	jumptextfaceplayer CastroMartNPC2_Text_330771

CastroMartNPC3:
	jumptextfaceplayer CastroMartNPC3_Text_33017d

CastroMartNPC2_Text_330771:
	db TX_COMPRESSED, $17, $5a, $4d, $71, $66, $8b, $0a, $cd
	db $0f, $5a, $4e, $70, $f0, $c0, $e1, $02, $43, $81
	db $c1, $50, $20, $b4, $b8, $f8, $41, $8d, $1e
	db $a6, $80

CastroMartNPC3_Text_33017d:
	db TX_COMPRESSED, $51, $b8, $1c, $61, $07, $9e, $7a, $68, $95, $0f, $bd
	db $78, $42, $cc, $18, $c9, $70, $10, $5a
	db $58, $00, $72, $be, $12, $4c, $16, $17
	db $de, $56, $63, $27, $31, $2d, $2e, $e2, $b0
	db $4a, $aa, $3d, $b4, $9a, $e1, $e1, $81, $b3, $68
	db $f5, $34

CastroMart_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $7, $6, 3, CASTRO_VALLEY
	warp_def $7, $7, 3, CASTRO_VALLEY

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 3
	person_event SPRITE_CLERK, 3, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, CastroMartNPC1, -1
	person_event SPRITE_SCIENTIST, 2, 1, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, CastroMartNPC2, -1
	person_event SPRITE_GRANNY, 6, 12, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, CastroMartNPC3, -1

