ToreniaCelebrity_MapScriptHeader;trigger count
	db 0
 ;callback count
	db 0

ToreniaCelebrityNPC:
	faceplayer
	opentext
	checkevent EVENT_TORENIA_CITY_CELEB
	sif true
		jumptext ToreniaCelebrity_Text_AfterItem
	writetext ToreniaCelebrity_Text_BeforeItem
	buttonsound
	verbosegiveitem SHNYAPRICORN, 1
	sif true
		setevent EVENT_TORENIA_CITY_CELEB
	closetext
	end

ToreniaCelebrityFearow:
	opentext
	writetext ToreniaCelebrity_Text_FearowCry
	cry FEAROW
	endtext

ToreniaCelebrity_Text_BeforeItem:
	db TX_COMPRESSED, $a7

	db $80, $03, $a8, $9d, $b3, $8a, $cc, $64, $e6
	db $6b, $cc, $9f, $4d, $5a, $c7, $60

	db $bc, $01, $d6, $10, $10, $5a, $9c, $9d, $c0, $b5, $70, $38
	db $3c, $f8, $28, $90, $b4, $83, $8e, $9c, $3d
	db $55, $c8, $c1, $8e, $02, $0b, $52, $d2, $34
	db $7a, $9a

ToreniaCelebrity_Text_FearowCry:
	db TX_COMPRESSED, $53, $17, $56, $e4, $76, $dd, $c6, $29, $99, $ac, $3c
	db $69, $a0

ToreniaCelebrity_Text_AfterItem:
	db TX_COMPRESSED, $6e, $90, $53, $21, $82, $0c, $22, $3a
	db $6f, $5a, $46, $45, $28, $3b, $c5, $1d, $89, $89, $61

	db $01, $4e, $34, $8b, $95, $6f, $54, $a0, $c9, $61, $8f, $82
	db $79, $21, $69, $07, $2a, $1d, $a4, $2d, $5c, $7c
	db $12, $a1, $06, $b7, $c6, $84, $0c, $24, $a5
	db $a6, $80

ToreniaCelebrity_MapEventHeader ;filler
	db 0, 0

;warps
	db 2
	warp_def $7, $2, 10, TORENIA_CITY
	warp_def $7, $3, 10, TORENIA_CITY

	;xy triggers
	db 0

	;signposts
	db 0

	;people-events
	db 2
	person_event SPRITE_COOLTRAINER_F, 3, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 8 + PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, ToreniaCelebrityNPC, -1
	person_event SPRITE_DAISY, 8, 28, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 8 + PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, ToreniaCelebrityFearow, -1

