public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Slip damage red flash & Yanfly's Battle Engine

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Slip damage red flash & Yanfly's Battle Engine
  • Original author: Kes
  • Original date: January 10, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/slip-damage-red-flash-yanflys-battle-engine.35753/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

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

Archived First Post

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.

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.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar