function onUse(cid, item, frompos, item2, topos)
local _spawn = {x=1290, y=479, z=10}
local _monster = "Demon"
local _item = "2177" -- Life Crystal
if (getPlayerItemCount(cid, _item) >= 1) then
doCreateMonster(_monster, _spawn)
doPlayerRemoveItem(cid, _item, 1)
end
return true
end