I edited a Pokémon’s trainer ID and secret ID to match my own. Will Bank/Home detect it as legitimate? Do I need to tweak the “PID” too? The Pokémon was caught in the same game, just a different save file.
Pokémon Bank does not check any of the Pokémon's IDs for legitimacy.
Also gives a full list of things it does check for.