These heroes were reserved.
After that, the function DeployReserveHero("", x, y, 0); works for everyone.
Then, sleep(1); and UnreserveHero(""); then another sleep, and all the functions described above are executed.
That's it, after that they are free to move.
Auto-translated