Open
Description
both gfx_RotateScaleSprite and gfx_RotatedScaledSprite_NoClip break when scale is >= 128 (>= 200%). The documentation says that range is about 1% to 400% scale
or 1 to 255.
When the scale is >= 128, the sprite is rotated in the opposite direction + 180 degrees, and will start decreasing in size.
Shown below is the scale sweeping from 4 to 255:
I've been able to fix the rotation when scale is >= 128. But fixing the scaling for a scale of [129, 255] is more complicated as it is probably an 8bit/16bit overflow/underflow.