There are several ways to do this:
1. Create a dummy object (an empty sprite for example), set it as Global and add No Save behavior. Move all your global variables to instance variables on this sprite.
2. Save these variables to Local Storage. After loading a saved game, retrieve variables from Local Storage.