Stop a battle event from repeating

Hey all. I'm kinda new to rpg maker and I'm having trouble with battle events.
I want the zombie to say something once he gets below 50% HP but it keeps repeating (i've found a solution shown in the picture but i'm not quite satisfied, as the zombie's health would have to get between 40 and 50??? i'm a bit lost not gonna lie) i also tried to do something with switches but it didn't do anything.
I was wondering if you guys knew what to do to stop it from repeating ? thanks ! 😀
1671563845717.png

1671564000480.png
I don't have RM2k/3, so I can't test it, but according to the documentation for MZ, "if the conditions of multiple event pages are met, the event page with the smallest number will used." This is in contrast to regular events, where the page with the highest number is used instead.

So one thing you could try is to switch pages 2 and 3.

And if that doesn't work, you could try to use a Conditional Branch... event command, so the zombie only talks when the Switch is turned OFF. In that case, you would only need event page 2 and could get rid of page 3 (or reuse it for something different).

Unfortunately, this is as far as I can help without owning RM2k/3, sorry.
It worked !! Thank you so much !!

Original thread: https://forums.rpgmakerweb.com/threads/stop-a-battle-event-from-repeating.153426/