UP and DOWN - Variable 1 LEFT and RIGHT - Variable 2 W and S - Variable 3 A and D - Variable 4 SPACE - Save KEY 1 - Load Basically, how it works is that there are 4 variables to be saved. What I did is I made it so each variable has four digits assigned to it (Var1 has the first 4, Var2 has the second four, etc.), of which it saves to and loads from. I made it so that not only does it save that number, but it also doesn't add the unnecessary zeroes before the number by checking to see where the first non-zero number is.
UPDATE! Fixed an issue where I accidentally programmed it to load a variable using the SaveCode variable instead of the LoadMemory variable, causing all four variables to be equal to what the first one was set as. PROS: - The system supports numbers up to the value of 9999, so you have a decent amount of room to do so. - It's fairly easy to understand, and simple enough to add more variables to it if you know what you're doing. - It's nearly instant and as far as I'm aware, pretty well-organized. CONS: - Games that work with large variables beyond 9999 will not be able to save. In order to do that, I'd need some form of hexadecimal code or something that would be annoying to code, though I could do it. - Doing a lot of variables might not be the greatest idea as it will not only make the scripts huge, but also make the "SaveCode" variable extremely long, unless you want to make the allocated digits less than four. - Might not work with SheepTester's HTMLifier. I haven't tried yet. CREDITS: - Jason_ThePencil for the code and explanations and stuff. - No one else to be honest lol