Need Actor specific damage and death cry voice lines

I need each character to have their voice line. One for when they take a hit or is damaged, and a different when for when they die.

I easily was able to do the death cry one in RM2K3 but when I replicate its process onto XP it doesn't seem to work, it instead goes to Game Over screen and doesn't play the line.

I was told I needed to have a script for the damage and death cry lines to work, but I can only find one for VX Ace.
There is a death event that Yanfly has that will help with the audio.
There is a death event that Yanfly has that will help with the audio.
And that is where? (t isn't VX Ace is it, otherwise won't work for XP)

Original thread: https://forums.rpgmakerweb.com/threads/need-actor-specific-damage-and-death-cry-voice-lines.19105/