using the official ARPG plugins for MZ that were released on steam. I'm trying to make it so when the normal attack button is pressed, the player sprite initiates their own swing animation, so they're not just a static sprite with a sword swinging in front of them. Below is the common event for "Normal Attack" in the sample project for the official MZ ARPG plugin, with my "attempt" in the red box. I thought if I put in the variable to change the player sprite for the moment the attack button is pressed, direction dependent, that would do it, but it just broke the event. I think it's probably something close to what I've tried, but I'm not sure how to integrate anything new into these sample common events, I have no JS scripting ability.
Any advice would be much appreciated.
Any advice would be much appreciated.