Game Map Error

Hye there, I need help with figuring out a problem

"$game_map is not defined"

What does it mean by that? Been trying to figure it out for a day now, even tried to edit the javascript that contained it. But nothing.

Please help.
Screenshot (1).png
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)
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)

All I did was just start up the game to playtest it. And it gave me that error.
and what about the rest of my questions? we can't help if you don't answer our questions.
and what about the rest of my questions? we can't help if you don't answer our questions.
I apologize. Just been trying to figure this out all day. So it's kind of made me frustrated. So what is it you would like to know?
So what is it you would like to know?
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)
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.
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.
IT appears that I figured it out. In an event it called for that script. Once it was deleted, the project seemed to work again. But I'll see what happens now.

Original thread: https://forums.rpgmakerweb.com/threads/game-map-error.76286/