Slip damage red flash & Yanfly's Battle Engine

If you are using Yanfly's Battle Engine (found here) it suppresses the default red flash you get if you are walking around with e.g. poison.

There is a small fix by Xpher for that which I'll give here for reference.

Spoiler
class Game_Party < Game_Unit def s_any?(state_id) members.any? {|actor| actor.state?(state_id)} end endclass Game_Actor < Game_Battler def turn_end_on_map if $game_party.steps % steps_for_turn == 0 on_turn_end perform_map_damage_effect if $game_party.s_any?(2) end end end
However, it is perfectly possible to have more than one state which gives slip damage and where the player needs to be alerted by the red flash that something needs healing.  Then fixes start becoming more complex and highly inefficient.

Can anyone see what it is in Yanfly's script which suppresses the default and come up with a minor mod to that script so that the default will work on all states?  As so many people use Yanfly, this would be a real service if someone could sort it out.

Thanks very much.
Since I'm Yanfly fans, here is the (better) fix

class Game_Battler def regenerate_all game_battler_regenerate_all_abe return unless alive? && $game_party.in_battle make_damage_popups(self) endendThanks for reporting the bug
Great - I've tested it on a couple of different states and it works flawlessly.

Thank you very much indeed for this.
Poison....I hate poison. I hated the red flash too. I eliminated poison and its nuisance from my game long ago, but this a boon for those who still use it!
I think you have misunderstood.  Poison is only one form of slip damage, and it was precisely because people wanted something more than just poison that the fix was required.  Great if you don't need it, but some people like to have a bit more flexibility in their arsenal.
My bad. Thanks for pointing that out.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/slip-damage-red-flash-yanflys-battle-engine.35753/