08-29-2009, 04:49 PM
Whoa! Those are thousands of lines of code, the problem could be anywhere the Scene_Battle class is involved. You should progress adding scripts one by one and every time test the whole thing. I know that it's a long process, but all those scripts are not guaranteed to work well together. Sometimes you have to renounce to some features in order to keep the project more compact and controllable.