Hey guys i apologize ahead of time if this is not the right place to post this but i wasn’t sure where to ask. Im having an issue with a project. I am working on a very small old style 2D Turn RPG with a sort of timer mechanic. Basically there is a wheel that shows various moon phases, and the phase is supposed to change after both the player and the enemy attacks. The issue i am having is once the enemy attacks and activates the function that is suppose to make the phase of the moon change by 1 phase, the phase selector will change by several phases as if it doesnt register the animation event on the animator. Below is a video of what the error looks like as well as images of the relevant code. I have tried using “enable = false /true” as well as “speed = 1/0” any help would be greatly appreciated
Video of Bug
https://youtu.be/TzlCuxaAzBA
Code
Animator
Each animation event is the same bit of code
I have a couple of other scripts but none of them reference the animator or the change in the phase selector. if they are needed though please let me know and i will post them
thank you!