if state == 1
{
	sprite_index = spr_rock_big_cracked1;
	state = 2;
	speed++;
}
else if state == 3
{
	sprite_index = spr_rock_big_cracked2;
	state = 4;
	speed++;
}
else if state == 5
{	
	global.pts += 10;
	effect_create_above(ef_explosion, x, y, 2, c_grey);
	instance_create_layer(x, y, "Instances", obj_rock_small);
	instance_create_layer(x, y, "Instances", obj_rock_small);
	//instance_destroy(shadow);
	instance_destroy();
}
else if state < -1
{
	global.pts += 40;
	if state == -1.1
		effect_create_above(ef_explosion, x, y, 2, c_yellow);
	else
		effect_create_above(ef_explosion, x, y, 2, c_aqua);
	instance_create_layer(random_range(-100, 2020), random_range(-200, -100), "Instances", obj_rock_small);
	//instance_destroy(shadow);
	instance_destroy();
}