I've been trying to edit Oni-Miko-Reimu so that she won't spam the same attacks all the time. She already has decent AI, and I'm not anywhere near the skill level to even create basic AI but I noticed that her ChangeStates of which there were many caused some events of spamming one attack. I think it's because I added too many new states for her to change into that her AI wasn't programmed for.
So I tried to condense it into one ChangeState which has a value of var(45).
Var(45) is supposed to change during various stages of GameTime%100. - However this isn't working, and causes her to just spam one attack. As in, it's changing to State 12034, which means Var(45) isn't changing like it is supposed to and I don't know why.
I have checked prior to make sure it isn't being used elsewhere; it's not.
I thought also that the issue may have been with the ChangeState changing to the State that var(45) was rather than what it "is."
So I added the trigger2 to the initial VarSet to set it back to 0. This didn't help either.
Spoiler, click to toggle visibilty
Either way I don't know why this isn't working, and I really thought that it would.