How to make Memory Game!

So, I started working on a memory game, and I almost had everything down, but then I realized I'm not sure how to make the sprites go back to their original form if you get it wrong. I'm trying to make a common event for each type of card. It ticks up a variable to show you've interacted with this type of card before (let's say Skull Card) and the Card Back sprite becomes the Skull Card sprite. If you interact with another Skull Card, boom done awesome. If it's of a different type (let's say Cross Card), it'll say it's wrong. Here's where I have trouble. How do I make both cards "flip back other" (switch to the original Card Back sprite) so you can start again?
Hi there!

I guess the better approach here is, instead of variables, use the event self switches.
On my understanding, you are using an event for each card, right?
When you flip a card, you turn a specific self switch on. When it is suppose to return to it's original image, you just turn that switch off.
Hi there!

I guess the better approach here is, instead of variables, use the event self switches.
On my understanding, you are using an event for each card, right?
When you flip a card, you turn a specific self switch on. When it is suppose to return to it's original image, you just turn that switch off.
I'm using a common event for all of them, and I don't think there's a way to make another self switch activate when you're at a second event. You activate first event, it adds +1 to variable. You activate second event, it's wrong, you can't change event 1's self switch cause you're at a completely different event. And if I set it so it's when that variable is at 1, then every type of that card flips around so it defeats the purpose.
Realized the simplest fix: Normal Switches. Guess this is why I shouldn't make games with low sleep
If you need any more help, I made a card matching game a few years ago for MV.
Found a new problem! I have a switch Not (Insert Card Here) that activates whenever another card is activated that basically determines whether or not it's a match and that's supposed to make the cards flip back over. I want it turn self switch A off and make it go back to the Card Back (picture 1), but for some reason it's not activating on the cards that already have Self Switch A on? I have a separate event (picture 2) that turns each one on then off so it'd theoretically activate the Self Switch A event? Feel free to critique my system this was the best system I could think of, I just can't figure out what's going wrong
1655864752078.png
1655864720337.png
Found a new problem! I have a switch Not (Insert Card Here) that activates whenever another card is activated that basically determines whether or not it's a match and that's supposed to make the cards flip back over. I want it turn self switch A off and make it go back to the Card Back (picture 1), but for some reason it's not activating on the cards that already have Self Switch A on? I have a separate event (picture 2) that turns each one on then off so it'd theoretically activate the Self Switch A event? Feel free to critique my system this was the best system I could think of, I just can't figure out what's going wrongView attachment 230039View attachment 230038
Nevermind, fixed like all of this

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-memory-game.148766/