Scripting issue.

I keep getting:

Script 'game_actor' line 696: syntax error occurred.

unexpected $end, expecting keyword_end.

this happens when i try to play test a battle or start the game. 

with google searches it seems like its a script i added. is there a way to reset scripts to default? or like track a script i might have added?

a while back i think i added a Caterpillar script to a VX project, but im not sure what script or even what project it was added to.

these errors just popped up too, the game was working fine for a long time.

any help or advice would be appreciated.  
Scripts added to another project do not change the current project - if that is caused by a script, then you added the script to the project which has that error.

All scripts ever added to a project are listed in the script editor when opening that project, and you can simply comment them out there.

A second reason for such an error might be a typing error in one of the skill damage formulas, or in one of the event script commands/lines.

We need more info about that error and your project to tell you where that came from. But since that line is the very end of the game_actor default script, most probably you typed an error there - just copy that script from a new project into the same slot of your current project.

If that doesn't help, then check which added scripts manipulate functions of that class (game_actor)
It sounds like you've added or changed a method, and have left out an end statement to close it.


I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Andar- that seems like a great idea. i might just be able to copy and paste from a new project to fix it. I'll have to play around with it some more and see what happens.

Shaz - i did play around with abilities and weapons, but not in the script. You make a lot of sense though and i will have to figure out what i changed to cause this.

Thank you both for your help. i think this gives me some direction to figure out what is going on. 
That worked great! thank you so much Andar! such a good suggestion! 
Scythica, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Just edit your last post and add the extra information.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/scripting-issue.17698/