if (grey == 1) { image_speed = 0.25; if (image_index >= 2.5) image_index = 3; }