How to lower the intensity/opacity of the flashing when walking on damaging floors?

So, yeah, basically title... When I'm running through floors that damage you, the screen flashes like a visualizer to a techno song, lol.
How do I lower how intense the flashing is?
This bit of code right at the very bottom of the Game_Screen script:

Code:
  def start_flash_for_damage
    start_flash(Color.new(255,0,0,128), 8)
  end

The 128 is the alpha so you could try lowering that, but you might also want to experiment with adjusting the RGB values (the 255, 0, 0) if the alpha/opacity doesn't give you the effect you're after.


Or if you'd rather insert a new script to avoid changing the default scripts, put this into a new script slot above Main:

Code:
class Game_Screen
  def start_flash_for_damage
    start_flash(Color.new(255,0,0,128), 8)
  end
end

and adjust the values as necessary
This bit of code right at the very bottom of the Game_Screen script:

Code:
  def start_flash_for_damage
    start_flash(Color.new(255,0,0,128), 8)
  end

The 128 is the alpha so you could try lowering that, but you might also want to experiment with adjusting the RGB values (the 255, 0, 0) if the alpha/opacity doesn't give you the effect you're after.


Or if you'd rather insert a new script to avoid changing the default scripts, put this into a new script slot above Main:

Code:
class Game_Screen
  def start_flash_for_damage
    start_flash(Color.new(255,0,0,128), 8)
  end
end

and adjust the values as necessary

Shaz to save the day, as always.
Thanks, boss.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-lower-the-intensity-opacity-of-the-flashing-when-walking-on-damaging-floors.72131/