Open scheibo opened 5 years ago
The problem is in this line:
Since we have no way to tell which of two identical Pokémon is which, we sort of just grab the first one that matches.
A solution would involve carefully matching a server Pokémon to a client Pokémon (which would still break if you refreshed the page), or maybe just letting the server send PP.
Originally posted by @penpexgit in https://github.com/Zarel/Pokemon-Showdown/issues/4707