Imigrated all of my pokemon from gen 4 to pokemon black first, then edited all of them to have a matching OT name but different TID and SID on different version of the games. (for example; Emerald was 47853 while diamond was 34564 but all had the same OT which is FLO').
I then checked the legality and i then got the invalid messages, what am i doing wrong? Origin game looks OK though.