I took a quick look at everything you sent. Now, I'm not really much of a scripter, but right off the bat I have to ask exactly what sideview battle system are you using here, because I don't really think it's a script error as much as a compatibility issue between two separate scripts. Minkoff's animated battle system doesn't work with every CBS, the script's description says it only works with the default battle system, the RTAB system by Cogwheel, ParaDog's ATB, XRXS's system, and a number of systems designed by Trickster. Is your battle system one of these things?