The issue with saved games is that some plugins set up data when the game starts, and saves that with the player's progress. So it expects to be able to pull that data from save files. If you start a game and save it, then add such a plugin, that data is not available and will give an error.
Note, I said above that SOME plugins do this. You have not actually established that this is what's happening here. It might be something completely different. It seems like an unusual error message, as if there might be something weird in note tags of the object (player/follower?) that it's trying to copy. It would be worth figuring out what the actual issue is first, rather than assuming, as it may be completely unrelated to save files.
However, even if you do establish that, you can only enable/disable plugins at runtime if the plugin has been written in a way to allow this. Most would not be. And as this is a paid plugin, only Javascript programmers who also have the plugin will be able to help you change that. Another option (
if the issue
is the save file thing) would be a patch that first checks when a save file is loaded, to see if the data is there, and if it is not, to create it.
But to directly answer your question, this comes from rpg_sprites.js and is how the game tells what mode it's running in:
Code:
Spriteset_Map.prototype.createTilemap = function() {
if (Graphics.isWebGL()) {
this._tilemap = new ShaderTilemap();
} else {
this._tilemap = new Tilemap();
}
That might be difficult to use though, as if you wanted to put it into an event command, the save file has already been loaded (or attempted) by the time any map opens, so the check may not be done in time to prevent the error.
So, step 1 is still to figure out what's causing the error message.