Game Interpreter Error

Sometimes when I go into battle the game crashes, and it says: NoMethodError, undefined method 'spriteset' for 'Game_Interpreter' script, line 1411.

Line 1411 simply says: "eval (script)"

Pls Help

Thanks

PS. If you need me to provide any more info don't hesitate to ask!
The game interpreter errors usually are caused by errors in scripts or script calls. Did you use a new script/script call? Did you tamper with an old script?
I don't know/can't remember...

I don't think I did.
What did you do between the last time a battle worked as it should and the first time the problem appeared?
Nothing?

Sometimes the battle works, other times it doesn't!

I could fight somebody one time, reload and come back 5 minutes later and it doesn't work!

But then if I reloaded the game it could work again!
Line 1411 is the line that executes custom script calls. You have a script call somewhere that is causing it. Judging by the error, I would guess this script call is related to a script that displays pictures during or after the battle. Do you have any script like that? This is something easy to fix once we find where the problem is.
I have a Heath Bar script?

Apart from that, the only other scripts I have are a better save feature and a particle engine for flames.
You probably should list all your scripts. That is going to be the easiest way to find and fix this kind of error. List everything  below materials but above main (the others are RPG Maker defaults, we don't need to see those). It's best if you can post a link to the scripts too, as not everyone has access to all the scripts.

That would be the easiest way, short of uploading the entire project, for someone to fix it.
Do you have any troop events for that particular troop that do script calls? Or a script call for the event that launches the battle (if it's triggered from an event)?


The error is from a Script event command, so you must have one somewhere.

Original thread: https://forums.rpgmakerweb.com/threads/game-interpreter-error.38834/