I decided to implement Yanfly Ace Battle animation with Victor's battle system. THe battle runs well enough, but whenever the battle ends and I return to the overworld the screen goes black and i get this error:

Has anybody else experienced this error before? How can I fix this?