So I just encountered a huge (and hilarious) bug, that actually caused another bug to occur as well. I'll list the scenario, the replay, and the log, for everyone to look at. Scenario - Random doubles battle. I will refer to my opponent's pokemon as left and right in reference to their positions. This bug only affected my opponent, so I will only talk about what happened to him and his pokemon.
Accelgor (Left), Whiscash (Right). Whiscash uses earthquake, hits Accelgor (Left) with red card, and so Whiscash (Right) is forced to randomly swap out. Random pokemon swapped in the (Right) position and is immediately KO'd seemingly by Whiscash's (Right) own earthquake (This is bug #1.) My opponent is then unable to swap in another pokemon into the (Right) position, and he claims he was told that the game was waiting on me. It displayed attacking options to me, even though he had no one in the (Right) position yet (Bug #2.) I had to turn battle timer on to time him out in order to end the battle.
Battle log of turn 6 -
Metagross used
Bullet Punch!
It's not very effective... The opposing Whiscash lost 8.6% of its health!
The opposing Accelgor used
Giga Drain!
It's super effective! Milotic lost 39.0% of its health!
Milotic ate its Sitrus Berry!
Milotic restored HP using its Sitrus Berry!
Milotic used
Recover!
Milotic regained health!
The opposing Whiscash used
Earthquake!
It's not very effective... The opposing Accelgor lost 43.2% of its health!
The opposing Accelgor held up its Red Card against the opposing Whiscash!
Mienshao was dragged out!
Milotic lost 53.4% of its health!
It's super effective! Metagross lost 67.7% of its health!
The opposing Mienshao lost some of its HP!
The opposing Mienshao fainted!
Metagross restored a little HP using its Leftovers!
Link -
http://replay.pokemonshowdown.com/randomdoublesbattle-174132899