Hello,
After updating to the latest PKHeX release from a version released about a year ago, I'm experiencing this legality error with some of the Pokémon I've edited that were not flagged by the old version. After a bit of playing around with the auto legality mod plugin when rerolling the PID, it seems that it is necessary to change the encounter to be an egg rather than keeping what I've edited wild. I do not understand what is causing this flag. It's been nearly a year since I've touched the save and I don't remember editing anything other than IVs, EVs, friendship, and shiny flag (though I didn't notice any shiny edits getting flagged). I've attached an image of the error message and one of the pk8 files flagged by the built-in legality checker. I'm pretty sure the other flagged files have the same issue, whatever it may be. Any help, education, and/or direction to education resources will be greatly appreciated.
Thank you very much,
Mithrandir
Edit: After playing around with unedited Pokémon, I found that rerolling either the PID or encryption constant or both triggers the legality flag and the auto legality mod plugin resolves those in the same manner, by changing the encounter from wild to egg. Editing IVs also does the same. Other encounters (static, egg, and event gift) do not seem to be affect.
831 - Wooloo - AC83373311A5.pk8