How Can I Keep a Parallel Process with a Loop From Fully Restarting?

I have a common event which turns the player into a golem for 10 seconds. When initiated, it flips a switch which triggers a parallel process to show the transformation, then goes into a loop to handle the time of the transformation, then breaks the loop once the timing variable hits 10, and then the CE ends with the player transforming back.

Part of what goes on in the transformation is an animation and Hakuen Studio's Character Manager to put a bit more size on the sprite. It all works as intended as long as I stay on the same map. HOWEVER, if I transfer maps while transformed, the CE goes back to the top, prior to the loop, and runs the transformation process all over again (which hilariously makes the player MASSIVE if you spam transfers - but that's not what was intended).

Is there a way I can keep the loop closed while transferring maps?
(If it matters, I use PKD's AnimaX to change the sprites. Not the change actor image or movement route/change image method.)

Thanks!
Hi there!

If you are using a parallel event, there is no need to use a loop. The parallel event is already a loop.
What can you do is put a wait X frames equivalent to 10 seconds.
60 Frames = 1 second.
So, 10x60 = 600.

After the player transforms, set a a wait with 600 frames. After that wait, do what you need to do to transform the player back to normal and then, set the switch off to stop the parallel event.
Hellooooooo 🙂

Seems like common event just turns a switch, and transformation is handled by event on the map.
If so, you can make 2 pages to parallel process event:
Common event flips a switch which triggers parallel process to show the transformation and then flips a second switch which triggers parallel process to count time and transform player back once variable hits 10.
Loop is still unnecessary (as Eliaquim said), but with this approach you should stay with time counting variable, as with just putting 600 frames wait transfering maps would restart time counting and make transformation last longer.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-keep-a-parallel-process-with-a-loop-from-fully-restarting.180043/