Descriptive Problem Summary:
When setting animations to "loop once" and flipping the invisibility setting on/off, if the icon_state is set to the animation that is supposed to loop once the animation resets to the beginning when the invisibility is flicked on/off.
Demo to Reproduce Problem:
Numbered Steps to Reproduce Problem:
Run the game, run to the right until you find the slime enemy, hold X to charge your attack, run into the slime, while you're flickering release the attack button to attack. For testing purposes I've set the character animation to show his arm for only the first frame (which you will notice while not flickering). While flickering, the arm is shown repeatedly as the animation restarts (the sword animation also repeats but gets in 2 frames because it's 0.5/10 ticks a second). The invisibility is set on/off every 1/10th a second, so the arm looks static from the repeat.
When changing the icon_state to an animation that loops once the animation should play from start to finish and stop at the end of it's animation, regardless of invisibility changes.
When altering the invisibility, the animation from a "loop once" animation repeats from the beginning. Setting see_invisible does not change the repeating animation (you simply see it repeat twice as much due to not turning invisible).
Does the problem occur:
Every time? Or how often?
In other games?
On other computers?
When does the problem NOT occur?
Always occurs if you follow those steps.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
Tested in an earlier version (with a different game) and it produced the same results.