for ( var i = 0; i < 100; i++ )
{
// Circle Effect around the item used.
var radius = 50; // Radius of the circle
var xOffset = 100; // X coordinate offset
var yOffset = 100; // Y coordinate offset
var x = iUsed.x + RandomNumber( - xOffset, radius ); // Calculate the x coordinate
var y = iUsed.y + RandomNumber( - yOffset, radius ); // Calculate the y coordinate
DoMovingEffect( iUsed, x, y, iUsed.z, 0x36E4, 0x02, 0x00, false, 0x1EC );
}
{
// Circle Effect around the item used.
var radius = 50; // Radius of the circle
var xOffset = 100; // X coordinate offset
var yOffset = 100; // Y coordinate offset
var x = iUsed.x + RandomNumber( - xOffset, radius ); // Calculate the x coordinate
var y = iUsed.y + RandomNumber( - yOffset, radius ); // Calculate the y coordinate
DoMovingEffect( iUsed, x, y, iUsed.z, 0x36E4, 0x02, 0x00, false, 0x1EC );
}