and seems that, if you send pokémon from past gens directly through Pkhex, you can get banned, cause this pokémon doesn't have the value the own HOME assign to it.
If I make Ditto's Clones on Pokémon UltraSun and try to send them to HOME, would work without modifying any value? Or what is the value I should set it blank? PID, SID or TID?