if (animation_end == true) { image_index = 0 image_speed = 0 animation_end = false }