if (state == 0) { image_index = 9; image_speed = 0; state = 1; }