function handleBrokenSave() { 
  alert("Your save is corrupted, which means you will be forced to do a hard reset before proceeding, sorry!")
  if (confirm("Would you like to export the save for backup? THIS IS THE ONLY CHANCE TO KEEP THE OLD SAVE")) exportGame()
  alert("Now we will perform a hard reset, if you decide to export before doing it, REFRESH NOW AND CHOOSE YES IN THE PREVIOUS PROMPT!")
}
// This will be called when the savefile cannot be parsed into JSON at all, after this function is called, the game will do a hard reset automatically, so allow the player to backup if you wish!
This will be called when the savefile cannot be parsed into JSON at all, after this function is called, the game will do a hard reset automatically, so allow the player to backup if you wish!
This will be called when the savefile cannot be parsed into JSON at all after this function is called the game will do a hard reset automatically so allow the player to backup if you wish!
function handleBrokenSave() { 
  alert("Your save is corrupted, which means you will be forced to do a hard reset before proceeding, sorry!")
  if (confirm("Would you like to export the save for backup? THIS IS THE ONLY CHANCE TO KEEP THE OLD SAVE")) exportGame()
  alert("Now we will perform a hard reset, if you decide to export before doing it, REFRESH NOW AND CHOOSE YES IN THE PREVIOUS PROMPT!")
}
function handleBrokenSave ( ) { alert ( "Your save is corrupted, which means you will be forced to do a hard reset before proceeding, sorry!" ) if ( confirm ( "Would you like to export the save for backup? THIS IS THE ONLY CHANCE TO KEEP THE OLD SAVE" ) ) exportGame ( ) alert ( "Now we will perform a hard reset, if you decide to export before doing it, REFRESH NOW AND CHOOSE YES IN THE PREVIOUS PROMPT!" ) }
This will be called when the savefile cannot be parsed into JSON at all, after this function is called, the game will do a hard reset automatically, so allow the player to backup if you wish!
This will be called when the savefile cannot be parsed into JSON at all after this function is called the game will do a hard reset automatically so allow the player to backup if you wish!