Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Using Minior, after the 'shields down' ability activates, the sprite color of Minior reverts to the default red. I chose the green color in team builder. Minior's color is correct when sent into battle and in the fainting animation.
The bug happened in the second-to-last turn of this replay...