function mySave()
{
if (inkey_active == 1) {return;}
if (players_health <= 0) {return;}
game_save("save01", 1, SV_ALL-SV_INFO);
file_for_screen("save01.png",01); // saves a screenshot to "shot01.png"
}
function myLoad()
{
if (game_load("save01",1) <= 0) {
slot1_txt.flags |= SHOW;
}
else{
slot1_txt.flags &= ~SHOW;
game_load("save01", 1);
}
}