Basic attack (& co) action sequence redux...

All those Action Sequences that I find for ordinary (as well as double, dual, triple) have a flaw that I cannot understand because of the lack of knowledge of the device of the Action Sequence system (all documentation is lost, the Microsoft server erased it from One Note). I would be glad to learn myself, but not from anything special, and the certificate inside the plug-ins only enters me into a stupor. So here. If the enemy's sprite is too close to the character (well, it's just big), then the character turns in the opposite direction, goes to the right side of the screen and chops the air. This is because he has to go to the edge of the sprite of the enemy, and the character is INSIDE him. And now I do not know how to fix it.

Original thread: https://forums.rpgmakerweb.com/threads/basic-attack-co-action-sequence-redux.109771/