How to reset player movement route "Change Image"?

I want to change the graphic of the player for a scene and then make it go back to its original sprite.

The player can change the party formation, so the original sprite could be any of the heroes.

I think the only way to do this is using scripts, getting the leader sprite, but I can't figure it out...
I did it!

I going to leave the script here, maybe it helps someone!:
Code:
$gamePlayer._characterName=$gameParty.leader()._characterName;
$gamePlayer._characterIndex =$gameParty.leader()._characterIndex;
Another way is to have a blank event somewhere in that map, fade out, make your character be transparent using the event command Transparency ON, transfer the blank event if needed, change its graphic to the one you need, fade in.. You will now control this event as the"player" for the rest of the cutscene. After the cutscene, fade out, erase the event or blank out its graphic again, set Transparency to Off, and fade in

I've moved this thread to MV Support. Thank you.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-reset-player-movement-route-change-image.106456/