Stepped into a problem today. When testing the game with build application, it seems that a frame does not get fully reseted when I jump to another one and back (game over screen -> press retry -> jump back to old frame).
Specifically it appears that some objects didn't get set back to original alterable values properly. Some enemies had very low health when the frame was entered again and some didn't move or moved before the player reached them.
I assume the problem are the alterable values of the different objects, but what do I have to do to reset the frames completely when I jump to another frame and back?