Secretchronicles/SMC — pull request #159 by datahead8888 (2014-08-17 06:27:27+00:00)
Title: Release2 dot0 save game fixes

I've coded a fix that seems to work for #13. There will be additional save file fixes, so it's up to you if this should be merged now or if we should wait for the others. Thus you should not close #13 yet.

I found that the patch by devEd was incomplete - in addition to incorrect variable names, it needed logic to save/load the xml and call the Set_Type method in the cLevel_Player class.

NOTE: The save xml file format changes with this change by adding a new field. You will have to delete your old save files before using the game with this change. Otherwise you will get a core dump when it tries to preview the files or load them.

This is what the new part of the xml looks like for the save file:
~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~

Other notes:
* I have found that the time remaining for ghost maryo does not appear to be saved
* The invincibility state does not save.