A script to transform an actor into another actor during the battle.

I want a script that allows me to notetag a skill, and the skill with this notetag will transform the actor into another battle temporarily during the battle only, but it is the base actor (pre-transformed) that must gain exp, instead of the actor used as the transformed form. The script must be compatible with Yanfly's Party System, Yanfly's Command Party and Yanfly's Victory Aftermath. I know that there are ways to change the actor's graphics to simulate a transformation and other tricks, but I use a script that gives actors voices in battle according to actor ID, and I prefer to actually change the actor in another actor instead of only change their graphics or class, being still the same actor.

It would be good if was possible to create these additional effects, but if it is too hard or inconvenient for you, they will be only optional:

1-the transformation ends after a certain number of turns, which will be determined by a notetag.
2-transfer the base actor's equipment to the new actor who works as a transformation. Must be compatible with Hime's Core - Equip Slots and Hime Custom Equip Types.
Have you tried Battle Summons
Vlue - Pets and Summon
Hime Summon System
Yami/Crystal engine Guardian Summon
Have you tried Battle Summons
Vlue - Pets and Summon
Hime Summon System
Yami/Crystal engine Guardian Summon
the vlue and crystal noel's scripts add functionalities that I don't want, like the need to equip the summons, and the hime one opens an menu that I don't wanna to appear, because what I want is a skill that gives only one transformation option, the hime one opens a window with options of several transformations.

Original thread: https://forums.rpgmakerweb.com/threads/a-script-to-transform-an-actor-into-another-actor-during-the-battle.162486/