Store each Pokémon's initial hatch counter instead of a step count.
authorZhorken <zhorken@gmail.com>
Wed, 14 Jul 2010 03:07:25 +0000 (23:07 -0400)
committerZhorken <zhorken@gmail.com>
Wed, 14 Jul 2010 03:07:25 +0000 (23:07 -0400)
commitafad84e435212d2b1a4b93c8791d9d6fc66a3043
tree7392ed47c04cd75b1715f52780df3be7a0bb5d03
parent32fe4eedee350ddca0c66f2404967cc73f89d957
Store each Pokémon's initial hatch counter instead of a step count.

The step counts we had weren't even good estimates.  To hatch an egg
uninterrupted takes (counter + 1) * 255 steps in gen IV; what we had
was counter * 256.

Phione and Manaphy have different counters, as do Croagunk and Toxicroak
for some reason, so they're associated with individual Pokémon now,
rather than entire evolution chains.  Double-checked with Pearl,
Platinum, and SoulSilver; there were no differences between the three,
aside from the alternate forms introduced in Platinum.
pokedex/data/csv/evolution_chains.csv
pokedex/data/csv/pokemon.csv
pokedex/db/tables.py