Alpha Posted December 16, 2014 Posted December 16, 2014 The trainer shiny value (TSV) is the value that a trainer gets at the start of the game that determines which eggs they have that hatch shiny. When eggs are generated, they get a random value (ESV = egg shiny value). If that value matches the TSV of the hatcher, then that Pokemon hatches shiny. It is exploitable in the sense that you can trade a Pokemon to someone with a matching TSV and it will always hatch shiny. TSVs are arithmetically determined as (TID ^ SID) >> 4 ESVs are determined as ((PID >> 32) ^ (PID & 0xFFFFFFFF)) >> 4 Both of these are numbers from 0-4096.
Kaphotics Posted December 17, 2014 Posted December 17, 2014 TSV = (TID^SID)>>4; ESV = ((PID >> 16)^(PID & 0xFFFF))>>4; isShiny = (TSV == ESV);
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now