When i switched my lead pokemon during team preview, the 2 pokemon swapped movesets. I had heatran as my 1st pokemon before this match, i used cofagrigus here, and turn 1 my cofagrigus has heatran's moves.
Turn 1 it was just a visual bug, when i click the moves its still my cof's moves happening in battle (toxic spikes, willowisp). But after some turns when i switched back to cof it was showing the correct moves but when u click it, heatran's move takes place. I wasnt able to take a screenshot but My cofagrigus was able to use magma storm in battle