Wait before displaying defeat message?

I'm not sure this requires a plugin to do - nonetheless, I'd like to set things up so that whenever my party is defeated, the music fades out for a few seconds (no defeat message is displayed) and THEN the game-over screen appears.

Sorry if this request has already been met. The custom game-over plugins only seem to change the behavior of the screen itself, and not the battle events beforehand.

Original thread: https://forums.rpgmakerweb.com/threads/wait-before-displaying-defeat-message.80360/