ref: ce795692d91c36d1db099a26bf7cdf794db400ba
parent: fe605b2fa756b7ea18d3f92b95523fa0eb7a2a9e
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Thu Dec 28 09:10:46 EST 2017
Correct comment
--- a/docs/design_flaws.md
+++ b/docs/design_flaws.md
@@ -280,7 +280,7 @@
## Pokédex entry banks are derived from their species IDs
-`PokedexDataPointerTable` in [data/pokemon/dex_entry_pointers.asm](/data/pokemon/dex_entry_pointers.asm) is a table of `dw`, not `dba`, yet there are four banks used for Pokédex entries. The correct bank is derived from the species ID at the beginning of each entry. (This is the only use that species ID has.)
+`PokedexDataPointerTable` in [data/pokemon/dex_entry_pointers.asm](/data/pokemon/dex_entry_pointers.asm) is a table of `dw`, not `dba`, yet there are four banks used for Pokédex entries. The correct bank is derived from the species ID at the beginning of each Pokémon's base stats. (This is the only use the base stat species ID has.)
Three separate routines do the same derivation; `GetDexEntryPointer` in [engine/pokedex_2.asm](/engine/pokedex_2.asm):