Help transforming sprite

Ok so when my game starts you choose your gender then you choose from 1 of 4 male or female appearances then you choose yore name and here is my problem

I want to make a skill that changes the character you choose into another creature but I cant figure out how to get it to revert to the default player sprite instead of a specific character sprite can anybody help?
you need to store a variable when the original picture was selected, and then (when you want to change back to that picture) you have to make a sequence of conditional branches, changing to the picture depending on what the variables value is.
Took me awhile but I finaly got it to work thankyou for the help  🙂
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/help-transforming-sprite.18358/