Need help with a "change clothes" event

So,i tried to do this. It worked but I also want the old image to return if i choose change clothes again. But the new one just stays permanently. How to fix it?
Dm53-tZanL0.jpg
Well, it's doing exactly what you told it to do - if they say they want to change clothes, you are changing to one specific image.

The second prompt will never appear, because whether they say yes or no to the first one, you are exiting the event.

You don't have any logic to check what they're currently wearing. If they are wearing outfit A and they say to change clothes, you want to give them outfit B instead. But if they are wearing outfit B and they say to change clothes, you want to give them outfit A instead.

You could either alter your prompt and choices to list the outfits they can change into, then put the appropriate Change Actor Images in for each one, or you can have multiple event pages with a self switch - page 1 will change them into outfit B and turn on a self switch, and page 2 (conditioned by the self switch) will change them into outfit A and turn the self switch off again.

You don't need the Exit Event Processing commands at all.
Well, it's doing exactly what you told it to do - if they say they want to change clothes, you are changing to one specific image.

The second prompt will never appear, because whether they say yes or no to the first one, you are exiting the event.

You don't have any logic to check what they're currently wearing. If they are wearing outfit A and they say to change clothes, you want to give them outfit B instead. But if they are wearing outfit B and they say to change clothes, you want to give them outfit A instead.

You could either alter your prompt and choices to list the outfits they can change into, then put the appropriate Change Actor Images in for each one, or you can have multiple event pages with a self switch - page 1 will change them into outfit B and turn on a self switch, and page 2 (conditioned by the self switch) will change them into outfit A and turn the self switch off again.

You don't need the Exit Event Processing commands at all.
Well,i have no logic because I am new to this program. The multiple event page with a self switch command worked tho,thank you.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-a-change-clothes-event.131993/