As I expected, caused by changing mystatus.
It falls in-line with a previous report.
Consider this hex edit to your mystatus block, then import it using PKHeX.
(from: https://discord.com/channels/343093766477053953/367479180398428170/823116547970826260)
Lemme know if it works or doesn't work.