I've got a global reset for when the played falls of the screen but I also have a currency and a shop but my problem is that it keeps resetting the money variable
What I personnally do:
I use a dictionnary to store the data that should not be reset by this action, reset every variable, then restore that value