I think I found a bug .
When two Quag to the Past's were opposite each other, and we both used Sire Switch, the second one failed (likely because the move is also protect). We then both attacked each other the next turn, and the turn after that, I switched out into Frostyicelad, and the opponent...