What type of bug are you reporting? Client
What is the bug?
Illusion resets the displayed PP count of Pokemon, if the Illusion Pokemon switches in/out on the real one.
Are you able to replicate it? If so, how?
Simply load up an Illusion user and a regular Pokemon, use the regular Pokemon's PP, and then switch in the Illusion user. You can see it here, where Hisuian Zoroark switches into a Gliscor that's already used Protect, and wipes the PP count: https://replay.pokemonshowdown.com/gen9ou-2436021028-24csgxw430spa094df1729i1hi73ovupw
What is the bug?
Illusion resets the displayed PP count of Pokemon, if the Illusion Pokemon switches in/out on the real one.
Are you able to replicate it? If so, how?
Simply load up an Illusion user and a regular Pokemon, use the regular Pokemon's PP, and then switch in the Illusion user. You can see it here, where Hisuian Zoroark switches into a Gliscor that's already used Protect, and wipes the PP count: https://replay.pokemonshowdown.com/gen9ou-2436021028-24csgxw430spa094df1729i1hi73ovupw