Simplify the explanation of species order.

This commit is contained in:
Lynn "Zhorken" Vaughan 2012-06-07 01:59:26 -04:00
parent b30974cd43
commit cc3d0b60d3

View file

@ -1,13 +1,10 @@
/* /*
Pokémon species order: National dex order, except that families are grouped Pokémon species order: National dex order, except that families are grouped
together around whichever member has the lowest National ID, and then ordered together around whichever member has the lowest National ID, with babies first.
by evolutionary stage.
pokemon_species.id happens to match National ID, and it so happens that the Technically, the idea is to sort each evolutionary tree topologically, but
only time Pokémon are out of evolutionary order if you sort by Nat'l ID is when National ID with babies first does the right thing. The id column happens to
they're pre-evos added to an already-existing family, which are always babies. match Nat'l order, and the evolutionary chain IDs are in the right order too.
So sort babies first, and then the rest of the family in Nat'l order. (Evo
chain IDs happen to already be in the right order, too.)
*/ */
UPDATE pokemon_species ps UPDATE pokemon_species ps