Position shifting script

So I searched around and didn't find what I was looking for, what I'm looking for is a script that shuffles enemies around once more enemies are summoned,

Here's the full detail,

I'm looking to make a boss who creates clones of himself at 100/75/50/25% HP (basically four times during the battle), and then shuffle himself and his clones around, but hitting the real one makes the duplicates fade away (death sprite is just a blank space for the clones) while hitting a fake kills the clone and damages the one who attacked it.

Anyone know how make this script? If possible, please make it compatible with Yanfly's content
*bump*

Original thread: https://forums.rpgmakerweb.com/threads/position-shifting-script.80518/