about summary refs log tree commit diff stats
path: root/gba/source/link.c
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 19:54:16 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 19:54:16 -0400
commit8d9df7cc26ef86c7af1d4aa6fd4633667bb3a743 (patch)
tree361e0f09222e6254b45c9f4003a76ff4b4cc944b /gba/source/link.c
parent433df9a40045288ab70ab4f317bdd5e4e53ecb1b (diff)
downloadgen3uploader-8d9df7cc26ef86c7af1d4aa6fd4633667bb3a743.tar.gz
gen3uploader-8d9df7cc26ef86c7af1d4aa6fd4633667bb3a743.tar.bz2
gen3uploader-8d9df7cc26ef86c7af1d4aa6fd4633667bb3a743.zip
Fixed Shedinja hash collision
A Shedinja will always have the same IVs, personality value, and
original trainer as the Nincada that generated it, meaning that it is
guaranteed to have the same hash as the Ninjask that the Nincada evolved
into. To cirvument this, there is now a boolean field in the hash
determiner that is set if and only if the Pokémon is a Shedinja. This
allows the Ninjask to be considered the same Pokémon as the Nincada it
evolved from, but for the Shedinja to be considered a new Pokémon.

Because the hash determiner has changed, all old hashes are now invalid.
Diffstat (limited to 'gba/source/link.c')
0 files changed, 0 insertions, 0 deletions