I decided to add a simple checkpoint system to my level. When you touch the checkpoint, it saves the frame position and deactivates. If you die and the checkpoint has been reached, it loads the frame position instead of resetting the frame.
But when it does this, a ton of completely baffling things go wrong:
-The score is copied and pasted into a layer below it.
-You can no longer shoot, but jumping still works.
-Ending the level results in an error.
-Some randomly chosen cannon traps designed to launch missiles every 2 seconds appear to have missiles stuck inside them, and there's an endless cacophony of explosion sound effects. Different cannons are affected each time, and sometimes none are affected at all.
Any suggestions?