Why are you calling the same plugin command twice in every branch? the AllowPlayerMovement.
I'm not familiar with Hime's labels, but I would suspect there could be a conflict with you trying to use one button press to trigger two things. I would put all of that stuff out of a parallel event and into the shadow's event. (or leave it in a common event which the shadow calls)
Is there a specific reason you're trying to homebrew this instead of using one of the many ABS plugins? Is it something you're only doing in the one spot in your game?
I am not familiar with ABS plugins so do tell me about that. I have called the plugin command twice because AllowPlayerMovement doesn't work if I don't and it instead randomizes the animated frames if I only call it in once. It's strange that calling it in twice fixes this.
Anyway what is an ABS plugin? If there's a better solution, I am already quite curious about it.
Active Battle System is what people call this style of real-time combat on the map. If you just Google the phrase, you'll find lots of info and several different versions.
I have been looking at them and an ABS could work but my game is more about exploration and the battles must be simple. No UI, no overly fancy effects. It must be minimal. I have found one but I don't yet know how to use the animation to tie it into my sword and I don't know how to get rid of the UI (HP, MP, etc). By the way the ABS is called Alpha_ABSZ.
When I use the action button (without the HIME plugin changing it to Shift) I cannot use the animation of the weapon at the same time because it simply doesn't work it all. When I don't change it to Shift the sword can be used, but when I do it doesn't work as it should, as I explained earlier.
You said: "I would put all of that stuff out of a parallel event and into the shadow's event. (or leave it in a common event which the shadow calls)"
I did what you said and the same problems happened. I think when I swap the button prerequisite to OK (Enter) it conflicts with the entity. If I swap to Shift and use the HIME plugin to change the entity so that it responds to Shift, there is a similar conflict that for some reason works a tad better. Also, when using Enter, if I equip then unequip the sword, it stun locks the entire game (this is only a problem with Enter). This must be caused by a conflict between the animation and pressing the Enter button through the menu.
I could make it so that the animation does not ever play when you press Enter or Shift unless you attack something. I could pin the animation to the entity itself, but it would not effect the entity, only the player. But I want an animation to play every time you press the button because that adds immersion and makes it seem like you have a dangerous weapon that can impact the world.
Yume Nikki, a game about exploring dreams like mine, had a knife effect. It has similar properties to my effect, yet it works perfectly in an older engine. What I want to know is, if using and ABS doesn't work out, how do I implement this system in my own game?