either some of your files have been damaged or you installed a plugin that messed up the gamemap in the engine.
We can't help you without more info on what you have done to cause this problem (and you should never edit the javascript core files and rarely the plugin files, nothing you do there can solve a problem like this).
Please test if this happens in a new project (to get some intact files in case of damages, but only replace files in a backup of your damaged project), and give us a screenshot of the console when this error happens (F8, only console contains full error message)
and what about the rest of my questions? we can't help if you don't answer our questions.
I started a new project a few minutes ago, and when I started it up from new game, it worked just fine. So I replaced the pictures from the one in the new project to the one i'm working on. I been using RTP Scaler for some pictures here and there.
But after doing all of that, it still gives me that error.
and where is the console screenshot of that error? we can't help you anymore without that screenshot that I asked you for several posts above and in the quote above again.
We need the full error message and sequence, not only the titleline that you gave in the first screenshot.
So please, create that error again and then press F8 to get the console and give us a screenshot of that.