Error in animated battlers script?

Hi, I was testing the limits of the script of the animated battlers found here(first post):  http://save-point.org/thread-4446.html


It uses RPG maker XP


I noticed that whenever the enemy has a "down sprite" such as the frog or sabrecat thing included with it, and they are the last enemy to be defeated, the down sprite remains on the field.


Is there a way to fix this, so they vanish when defeated like any other enemy sprite, such as the ghost?

Original thread: https://forums.rpgmakerweb.com/threads/error-in-animated-battlers-script.66475/