Here is a larger portion of the code. The rest is working just fine so I did not include it. The game so far already has over 100 events so I could not fit it all anyway. The Player character is just controlled with the up, down, left and right key and all of the animations that correspond with those work just fine. When the enemy goes left/right it will play the animation AND do the movement. When it goes up/down it will play the animation OR the movement. Is this because it is a sub event? It was the only way I could code it so the enemy could even do any actions at all in all four directions.
I also tried the code this way but the same error occurs
Thanks!