Support for synchronized animations.

Any synchronized animation that follows another synchronized animation (via setAnimation) will adopt the previous sequence's currentFrame value (used to prevent changing directions in the air from causing the mid-air flip animation to restart).