Specific enemy encounter system (Need help)

Hello dear developers, two weeks ago I started studying RPG Maker MV and I've run into a problem that I hope you can help me with.
By using "YEP_EventChasePlayer" plugin I hoped to create enemies in my game moving randomly on map and start chase player if he come close. Unfortunately it looks like this plugin work only if in "autonomous movement" section you chose "Custom" movement and set plugin commands in "route". So, on first event page I made my enemies as "parallel" events and in "autonomous movement" I set "random". I added script which check player position and if player come close enough to enemy event self switch turned on and on second page "YEP_EventChasePlayer" plugin start chasing player. If player run away far enough from enemy event then another parallel event on map forcing enemy event to turn off self switch and go back on first event page. In general, as a result my enemy events randomly move on map, if player come close they chase him and if player run far enough they stop chasing and start to move randomly again.
Now my problem is: If a player is being chased by several enemy events at the same time and one of them managed to catch player then battle is running and in this battle player should fight with all enemies who chased him instead of fighting only with one of them. Of course after the end of the battle if player won then all events who chased him should be erased. Unfortunately, I can't think of a way to implement this and I'm looking forward to your advice. Perhaps I initially went down the wrong path and you have better ideas? Unfortunately, I'm a complete newbie and was hoping that someone would definitely implement such a system, but I can't find any suitable plugins or similar themes in Google.
P.S. I am sorry for my bad english. I tried to describe everything as well as I can.

Original thread: https://forums.rpgmakerweb.com/threads/specific-enemy-encounter-system-need-help.151759/