RPG Maker VX ACE Enemies turning White when Attacked.

Hello. My friend and I are making a game. Through game testing, we've discovered that when battling the enemies, the sprites of the enemies become whitened. We really do not like this. This was also happening to the character sprites as well, however, by erasing a part of the battle system script that said "whiten", the characters no longer become whitened. However, this still happens to the enemies. We are not very experienced with scripting and we would like assistance please. We appreciate it.  ;_;

We are using the Yanfly Battle System. 

RPG Maker VX Ace Whiten Glitch (1).jpg

RPG Maker VX Ace Whiten Glitch (2).jpg
At a guess, find these lines in Sprite_Battler:

Code:
  #--------------------------------------------------------------------------  # * Update White Flash Effect  #--------------------------------------------------------------------------  def update_whiten    self.color.set(255, 255, 255, 0)    self.color.alpha = 128 - (16 - @effect_duration) * 10  end
and comment out the commands, like this:
Code:
  #--------------------------------------------------------------------------  # * Update White Flash Effect  #--------------------------------------------------------------------------  def update_whiten    #self.color.set(255, 255, 255, 0)    #self.color.alpha = 128 - (16 - @effect_duration) * 10  end
We did as you said and changed the lines you mentioned in Sprite_Battler, but still got the same effect.

On a side note, thank you for responding to our post so quickly.
There may be something in the Yanfly Battle System that's overriding/ignoring the default handling.


Can you try it in a new project with no other script mods, and see if it behaves the way you want? If it does, then you'd need to look for something similar in the Yanfly scripts. If you're not confident enough to do that yourself, post a link to where you downloaded the script, so someone can find it easily and take a look.
This is weird, the enemies become white at the start of the battle?

Do you have any other scripts in your game?

What script do you use for the character battlers? Is that Yanfly's or other people's script?
No, not at the start of the battle. As they're being hit.
I asked because on his screenies, it looks like the battle has just started... 

as for hit, It's part of the animations I believe...

I'm using Yanfly's scripts too and I never had these problems...
Thread title: "RPG Maker VX ACE Enemies turning White when Attacked." 🙂
As you said I started a new project and did not get the same result as in the other project. The enemies did not turn white without the script mods, but I did still search in yanfly's scripts for similar details with the whiten effect. In conclusion I might just plan to take the current data that I have already completed with the game and transfer it to a new project which shouldn't be to difficult sense not a lot of the game is done anyway, but I do applaud the amount of help that I did receive in trying to solve this issue. Thank you for your assistance. 
You could also try adding Yanfly's scripts to your new/blank project, and seeing if it happens with those scripts (make sure you use the originals, from where you first downloaded - if you've been making changes to try and "fix" it, you could have actually introduced the problem yourself).

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-vx-ace-enemies-turning-white-when-attacked.15669/