life -= 1; if (life < 7) image_index = 1; if (life < 4) image_index = 2; if (life < 1) instance_destroy();