From ce795692d91c36d1db099a26bf7cdf794db400ba Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Thu, 28 Dec 2017 14:10:46 -0500 Subject: [PATCH] Correct comment --- docs/design_flaws.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design_flaws.md b/docs/design_flaws.md index b82cfb394..21a222743 100644 --- a/docs/design_flaws.md +++ b/docs/design_flaws.md @@ -280,7 +280,7 @@ Modify `Pokedex_LoadAnyFootprint`: ## 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):