Disconnect bug
Whenever I disconnect and rejoin a battle, it shows my opponents pokemon instead of mine, but the moves are still mine. I sometimes can't switch out because it says "[DEBUG] Can't switch: You can't switch to a fainted pokemon."
Even though the pokemon is still alive.