I've recently ran into a problem with Casper667's CSCA_VEHICLE_ENCOUNTERS script. Now, at a seemingly random time, I get this error....

And I've thought about just changing the System script to enable battles regardless but I don't want battles on-foot while your in a town, only in the water. If anyone can help me with this issue, it'd be much appreaciated. I'm using RPG Maker VX Ace by the way.