#
# Timer script for alien
#

Object	obj = getThisObject();
int	tick = getObjectVar(obj, 0);

if (tick == 10)
{
	setObjectSolidness(createParticleObject(makeCode("abll"), 
		getObjectXPosition(obj) + 32,
		getObjectYPosition(obj) + 29,
		rand()*360.0, 1.5, 1000), true);
	tick = 0;
}

setObjectVar(obj, 0, tick + 1);

