# Would resetting Trainer ID help in terms of shiny chances?

The shininess of a pokemon is determined by a formula that includes the Trainer ID and Secret ID of the user in the games, along with the Personality value of the pokemon.

Since doing a soft reset to get a shiny starter pokemon, you are only reseting the personality value of Pokemon, you're only letting RNG affect two of the values in the 4 part formula.

Would it be mathematically beneficial to reset the trainer ID (and by doing so also the secret ID) of the player when shiny soft resetting? I was thinking something like resetting the ID every 50-100 attempts.

Whether a Pokémon is Shiny depends on its Original Trainer's Trainer ID number and secret ID number and on the Pokémon's personality value.

The first two numbers give you the Trainer Shiny Value (TSV), which is a number between 1 and 4096.

Similarly, the Personality Value gives you the Pokemon/Egg shiny value, a.k.a. the Egg Shiny Value (ESV), again, 1 of 4096. It is set when a Pokémon appears in the wild, when an Egg is first received or when the Pokemon is first received from an NPC.

If the ESV matches your TSV, the Pokemon will be a Shiny Pokemon.

So no, if you reset your trainer ID (and/or the secret ID) you are just changing your TSV, and you will always get another number between 1 and 4096.
The chance to have a TSV matching the ESV is still 1/4096.

If you want some math, from Bulbapedia:

The Shininess is calculated with this formula (these are all 16-bit numbers):

S = IDTrainer ⊕ IDSecret ⊕ p1 ⊕ p2

p is the Pokémon's personality value. The high half of p is referred to as p1, while the low half is referred to as p2.

In Generation VI, the Pokémon is Shiny if S < 16. This is a 16 in 65536 chance of a Pokémon being Shiny.

• Thanks man, I've been soft resetting for a shiny froakie for 4 days now, feels like 1000 resets. It's funny because I got a shiny mudkip in like 50 resets. – RenaissanceProgrammer Apr 14 '16 at 4:11
• @RenaissanceProgrammer It took me 200~ resets for a shiny Mudkip, I feel pretty lucky LOL. – pinckerman Apr 14 '16 at 12:53
• nice! Also oras resetting is so much faster than xy. – RenaissanceProgrammer Apr 14 '16 at 15:51