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.
I think I found a visual bug, I was watching a Gen 1 random battle and I pressed the first turn as the user was switching and then I pressed last turn afterwards and some how the user's previous pokemon and current pokemon had melded together.