Trainer ID number: Difference between revisions

m
Text replacement - "Pseudorandom number generation in Pokémon" to "Pseudorandom number generation"
mNo edit summary
m (Text replacement - "Pseudorandom number generation in Pokémon" to "Pseudorandom number generation")
 
Line 1: Line 1:
{{samename|[[DLC]] with this abbreviation|The Indigo Disk}}
{{samename|[[DLC]] with this abbreviation|The Indigo Disk}}
[[File:USUM status screen.png|thumb|The [[summary]] screen of a {{p|Pikipek}} in [[Generation VII]] with a Trainer ID number of 291177]]
[[File:USUM status screen.png|thumb|The [[summary]] screen of a {{p|Pikipek}} in [[Generation VII]] with a Trainer ID number of 291177]]
A [[Pokémon Trainer]]'s '''ID number''' (Japanese: '''IDNo.''') is a [[Pseudorandom number generation in Pokémon|randomly generated]] number that is assigned to a player when they create a new save file. Any Pokémon that this Trainer obtains have the number shown in their [[summary]]; it is used, in conjunction with the [[Original Trainer|Trainer's name]] and [[gender]], to identify whether the Pokémon is an [[outsider Pokémon]]. The ID numbers of a player's Pokémon are also used in the [[Pokémon Lottery Corner|Loto-ID]] to determine whether they will win a prize, and if so which prize they will win. Finally, starting in [[Generation III]], whether a Pokémon is {{Shiny}} is determined by a formula that takes into consideration their ID number and [[personality value]].
A [[Pokémon Trainer]]'s '''ID number''' (Japanese: '''IDNo.''') is a [[Pseudorandom number generation|randomly generated]] number that is assigned to a player when they create a new save file. Any Pokémon that this Trainer obtains have the number shown in their [[summary]]; it is used, in conjunction with the [[Original Trainer|Trainer's name]] and [[gender]], to identify whether the Pokémon is an [[outsider Pokémon]]. The ID numbers of a player's Pokémon are also used in the [[Pokémon Lottery Corner|Loto-ID]] to determine whether they will win a prize, and if so which prize they will win. Finally, starting in [[Generation III]], whether a Pokémon is {{Shiny}} is determined by a formula that takes into consideration their ID number and [[personality value]].


The smallest possible Trainer ID number is 0. Prior to [[Generation VII]], the largest was {{wp|65535 (number)|65535}}; starting in Generation VII, it is instead 999999. Prior to [[Generation IX]], ID numbers were zero-padded, so if the Trainer ID was less than 5 (Generations {{gen|I}} to {{gen|VI}}) or 6 (Generations {{gen|VII}} and {{gen|VIII}}) digits long, zeroes would be added to the beginning to make it that length.
The smallest possible Trainer ID number is 0. Prior to [[Generation VII]], the largest was {{wp|65535 (number)|65535}}; starting in Generation VII, it is instead 999999. Prior to [[Generation IX]], ID numbers were zero-padded, so if the Trainer ID was less than 5 (Generations {{gen|I}} to {{gen|VI}}) or 6 (Generations {{gen|VII}} and {{gen|VIII}}) digits long, zeroes would be added to the beginning to make it that length.