Permanent Errors

I like to tinker around with the code and I could do so freely with Ace, where all I would run into was a fixable error I could tweak around with until it disappeared. With MV, if I change anything and change it back, it will forever give me the same error. On my desktop, I get ReferenceError Game_Temp not defined. On my laptop, I get Error Uncaught TypeError: undefined is not a function. Even with fresh projects I get these errors. Since I have MV on both my devices, I transferred the unadulterated code from one to the other in case there was a small mistake I never noticed, but it didn't change anything.

I'm wondering if my editor (Notepad++) has anything to do with it. Perhaps in a formatting kind of thing, but that's likely just me grasping at a common denominator. In any case, I'm entirely unable to work on my projects now, on both devices, because I get these permanent errors. The only other thing I've thought of is that I'm not opening the program with the 'fixed' code and it's still running off the 'tweaked' version.

If you want to know what I did to get these errors, I have no idea with my laptop as that was last year, but my desktop, I commented out several lines involving the manipulation of tp in battle as I didn't want the player to gain tp upon damage. Even after deleting all the slashes, and even copy/pasting a fresh copy of the code, I get the same error.

Any help would be appreciated.
Sounds like you changed the base code and overwritten it on the programs default project template.
I would suggest to uninstall and reinstall. Also make sure you are not saving your game data to the cloud.
Maybe you're modifying the base code.

Notepad has nothing to do with it. If you're looking for a better editor, I would suggest Sublime Text, or Microsoft Visual Studio.
I agree with the above. If you are getting errors after modding the code and changing it back, it means you haven't reverted all of your changes. And if it's happening with a new project, you've probably changed the code in newdata rather than just in your project.

It's not a bad idea to NOT mod the default code, but to add plugins that overwrite the default code to make it behave the way you want. This way, it's easier to see what you've done, easier to undo, and if you want to take an update, you don't have to reapply all your mods to the updated core files.
Verify file integrity on Steam and create a new project. That should fix the problem.

Original thread: https://forums.rpgmakerweb.com/threads/permanent-errors.113777/