if animation_end()
{
	repeat(10)
	{
		var _x = random_range(x - sprite_width / 3, x + sprite_width / 3);
		var _y = random_range(y - sprite_height / 3, y + sprite_height / 3);
		var _pe = icd(oBrokenSolid, _x, _y, 101);
		if breakable_dir == 0 || breakable_dir == 180
			_pe.x_spd = random_range(5, 10) * dcos(breakable_dir)
		else
			_pe.x_spd = random_range(-6, 6);
	}
	autosave();
	instance_destroy();
}
if abs(shake_power) > 0.1
{
    shake_timer--;
    if shake_timer <= 0
	{
        shake_timer = shake_interval;
        shake_power *= -0.6;
        shake_offset = shake_power;
        
        var _parallel = breakable_dir;
        x = origin_x + lengthdir_x(shake_offset, _parallel);
        y = origin_y + lengthdir_y(shake_offset, _parallel);
    }
}
else
{
    shake_power = 0;
    shake_timer = 0;
    x = origin_x;
    y = origin_y;
}