So I recently updated to the newest version of PKHeX (191209): on my Moon save all of the in-game trade Pokés from NPCs flag as illegal, stating that several OT memory indexes should be 0.
It also seems to show the same errors on starter Pokés that I collected in-game in X, and simply copied to the save for my starter collection box. I don't know if this might have something to do with them being moved before the game would normally allow a trade, or if it is just another aspect of the apparent bug in the legality checker, so I've attached them as well.
Previous build (191125) does not flag them as such.
I've attached the pk7s. They should all be untouched.
This is what it shows when clicking the red !.
066 - Macho - 89B8D4275974.pk7
761 - Bouncee - 5FE8648F4C3A.pk7
061 - Whirly - 0625266004AC.pk7
076-01 - Veler - 7EF1BFB89B70.pk7
650 - Chespin - 1E226BCEFD13.pk7
653 - Fennekin - FC04E93A0117.pk7
656 - Froakie - C4BA9569B302.pk7