2,869
edits
m (→Secret ID) |
|||
Line 14: | Line 14: | ||
From [[Generation VII]] onward, the ID number is a six-digit number, rather than a five-digit number as it previously was. A five-digit Trainer ID and a five-digit secret ID are still generated, but are then used to calculate the final ID number by using the following formula: <code>ID<sub>final</sub> = ID<sub>trainer</sub> + (ID<sub>secret</sub> × 65536)</code>. The last six digits of the resulting number are used as the ID number. | From [[Generation VII]] onward, the ID number is a six-digit number, rather than a five-digit number as it previously was. A five-digit Trainer ID and a five-digit secret ID are still generated, but are then used to calculate the final ID number by using the following formula: <code>ID<sub>final</sub> = ID<sub>trainer</sub> + (ID<sub>secret</sub> × 65536)</code>. The last six digits of the resulting number are used as the ID number. | ||
For example, consider a new save file in which the player's assigned Trainer ID and | For example, consider a new save file in which the player's assigned Trainer ID and secret ID are 00033 and 34262, respectively. The final ID number will be 33 + (34262*65536) = 2245394465. However, only the last six digits are used, so the final ID numbers will be 394465. | ||
If a Pokémon is | If a Pokémon is [[transfer]]red to Generation VII or later from a previous generation, its Trainer ID number will remain 5 digits long. | ||
==Special ID numbers== | ==Special ID numbers== |
edits