I need help with Jet's Viewed Battle System Script.

I'm using sprites for both actors and enemies and I've set specific sprites for the death state but I don't want it to happen to the enemies also. How do I fix this?
Perhaps you can help me I am using the same script and I cant seem to get the actor sprite to change in battle when he dies how do you do it.

Original thread: https://forums.rpgmakerweb.com/threads/i-need-help-with-jets-viewed-battle-system-script.29889/