I am getting a strange error during scripts! SOLVED?

For some reason I keep getting an error coming from an unreferenced/unrelated script that is UNEDITED from the vanilla game.


Do I have to delete it to have custom scripts work???


Because even scripts I have written directly in an event(Tab 3, Advanced: Script... option) get this same, stupid, unexplained 'NameError'


Always from 'Game_Interpreter', always from line 1411.


I went and looked at it, nothing appears wrong. I haven't touched it. So WHY is it causing errors!?!?!


If I at least could figure this out I might finally be able to make at least an inch of progress.


EDIT: I changed the script in the event and now it works?


If I understand, the line was checking for 'unnecessary' lines of codes, like ones that did not verify a target and so couldn't do anything.


I think now it is time for a lot of writing and testing.
Line 1411 is a script call.


This means that one of your script calls is causing a problem.


You will need to figure out where the script call is coming from and address the issue.
Line 1411 is a script call.


This means that one of your script calls is causing a problem.


You will need to figure out where the script call is coming from and address the issue.

Thanks! I just figured it out, I had a few lines that were not needed. I forgot to # them.

Original thread: https://forums.rpgmakerweb.com/threads/i-am-getting-a-strange-error-during-scripts-solved.56340/