MV Adding more to knockout event (eventing)

I've been messing around with having enemies and traps on maps that cause HP damage, using the Change HP function. I check the box to allow it to knockout and game over the player if they hit zero HP.

Problem I run into is this: I want more to happen than suddenly running game over. For example, to change the player sprite to a dead one, or show an image. Before THEN game over-ing.

Are there any suggestions for how to achieve this through eventing? It'd be awesome if there was ALSO a way to prevent sudden game over from "Floor Damage" and add more to it.

Thank you for reading.
You can create a variable that checks the player's HP every time they take damage:
Code:
◆Change HP:Harold, - 25 (Allow Knockout)
◆Control Variables:#0020 Check HP = HP of Harold
◆If:Check HP = 0
  ◆Text:None, Window, Bottom
  :    :You are now a zombie...
  ◆
:End

But the best thing would be to create a common event so you don't have to modify all the events if you want to improve something:
Code:
◆Change HP:Harold, - 25 (Allow Knockout)
◆Common Event:Custom Game Over

Regarding terrains that cause damage, the best thing would be to create a custom system with region values through an event in Parallel Process, but it can also be done by creating a Plugin that changes the executeFloorDamage as described here:
You can create a variable that checks the player's HP every time they take damage:
Code:
◆Change HP:Harold, - 25 (Allow Knockout)
◆Control Variables:#0020 Check HP = HP of Harold
◆If:Check HP = 0
  ◆Text:None, Window, Bottom
  :    :You are now a zombie...
  ◆
:End

Thank you so much! I figured it out now, with a variable that checks HP, I can run a conditional branch in the events doing HP damage and do what I want with that. It does prevent instant game over.

As for floor damage, I like the idea of a custom system. I'm wondering if I can cook something using Yanfly's Region Events.
I've never used Yanfly scripts, and I don't even know how they work. I prefer the standard API commands.
For example:
$gameMap.regionId(x, y)

Using this to check if the player is stepping on the specific region:
Code:
◆Control Variables:#0001 ID Region = $gameMap.regionId($gamePlayer.x,$gamePlayer.y)
◆If:ID Region = 1
  ◆Text:None, Window, Bottom
  :Text:Low damage
  ◆
:End
◆If:ID Region = 2
  ◆Text:None, Window, Bottom
  :Text:Medium damage
  ◆
:End

Reference:

Original thread: https://forums.rpgmakerweb.com/threads/adding-more-to-knockout-event-eventing.179662/