Another Illusion bug (?)
Issue #769
new
Seems to be a bug with the first pokemon in your party fainting and having another pokemon with Illusion in your party. The name of the pokemon in battle will be that of the last pokemon in your party. See attachment.