ToreniaMart_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

ToreniaMartHiddenItem_1:
	dw EVENT_TORENIA_MART_HIDDENITEM_GOLD_TOKEN
	db GOLD_TOKEN

ToreniaMartNPC1:
	faceplayer
	opentext
	pokemart 0, 8
	closetext
	end

ToreniaMartNPC2:
	jumptextfaceplayer ToreniaMartNPC2_Text_15800f

ToreniaMartNPC3:
	jumptextfaceplayer ToreniaMartNPC3_Text_158090

ToreniaMartNPC2_Text_15800f:
	db TX_COMPRESSED, $6d, $09, $11, $6b, $69, $9b, $18, $49, $06, $88, $12
	db $3c, $91, $ed, $b4, $89, $80, $57, $08, $1a

	db $bc, $01, $84, $10, $e6, $5a, $46, $4e, $78

	db $80, $29, $27, $08, $11, $a0, $e5, $5a
	db $87, $81, $8d, $60, $a6, $90, $81, $04, $32, $73
	db $ea, $68

ToreniaMartNPC3_Text_158090:
	db TX_COMPRESSED, $75, $29, $c6, $91, $71, $9d, $25, $32, $3f, $aa
	db $46, $f3, $e0, $a3, $e3, $26, $63, $42, $29, $e0

	db $00, $a0, $31, $f6, $99, $4c, $b0, $c5, $6d, $02
	db $fb, $c8, $0c, $e8, $ee, $fa, $71, $f0, $90, $c1, $71
	db $a6, $80

ToreniaMart_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $7, $6, 1, TORENIA_CITY
	warp_def $7, $7, 1, TORENIA_CITY

	;xy triggers
	db 0

	;signposts
	db 1
	signpost 1, 11, SIGNPOST_ITEM, ToreniaMartHiddenItem_1

	;people-events
	db 3
	person_event SPRITE_CLERK, 3, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, ToreniaMartNPC1, -1
	person_event SPRITE_GRANNY, 6, 10, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_OW_RED, PERSONTYPE_SCRIPT, 0, ToreniaMartNPC2, -1
	person_event SPRITE_COOLTRAINER_M, 2, 0, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ToreniaMartNPC3, -1

