How do I make an enemy say some dialog right before it dies during battle?

Im a noob so bear with me,

How do i go about adding some dialog script when an enemy dies, lets say its a couple of bats and a zombie... how do i make the zombie say "grrrrrrr....." then disappears as it dies during battle.

Any help would be great 🙂
The required steps would depend on a couple of other factors.  The tried and true method is to set the enemy state to Immortal and have an event run from the troops tab when Enemy is at 0% or less, removing immortal at the end of *whatever* to allow it to die.

If scripts are okay for you, this one seems like it would cover your needs.

http://www.rpgmakervxace.net/topic/7276-end-phase-triggers/

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-an-enemy-say-some-dialog-right-before-it-dies-during-battle.40030/