summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucaBGt <32401333+LucaBGt@users.noreply.github.com>2021-03-13 03:18:56 +0100
committerLucaBGt <32401333+LucaBGt@users.noreply.github.com>2021-03-13 03:18:56 +0100
commit79d7c11f83a30a087e5dcdf739bebc4f38fb7080 (patch)
tree211e0e57153e95d631eb40c10b95c1cf2253d432
parent957f598e29c50d8ec24f4aadd11bbe063bb7c3b9 (diff)
Updated Pokédex Definition Segment.
-rw-r--r--How-to-add-a-new-Pokémon-species.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/How-to-add-a-new-Pokémon-species.md b/How-to-add-a-new-Pokémon-species.md
index f2542d5..e31db50 100644
--- a/How-to-add-a-new-Pokémon-species.md
+++ b/How-to-add-a-new-Pokémon-species.md
@@ -384,7 +384,7 @@ Edit [include/constants/species.h](../blob/master/include/constants/species.h):
Edit [src/pokemon.c](../blob/master/src/pokemon.c):
```diff
- const u16 gSpeciesToHoennPokedexNum[] = // Assigns all species to the Hoenn Dex Index (Summary No. for Hoenn Dex)
+ const u16 gSpeciesToHoennPokedexNum[NUM_SPECIES] = // Assigns all species to the Hoenn Dex Index (Summary No. for Hoenn Dex)
{
SPECIES_TO_HOENN(BULBASAUR),
...
@@ -392,14 +392,14 @@ Edit [src/pokemon.c](../blob/master/src/pokemon.c):
+ SPECIES_TO_HOENN(MEWTHREE),
};
- const u16 gSpeciesToNationalPokedexNum[] = // Assigns all species to the National Dex Index (Summary No. for National Dex)
+ const u16 gSpeciesToNationalPokedexNum[NUM_SPECIES] = // Assigns all species to the National Dex Index (Summary No. for National Dex)
{
SPECIES_TO_NATIONAL(BULBASAUR),
...
+ SPECIES_TO_NATIONAL(MEWTHREE),
};
- const u16 gHoennToNationalOrder[] = // Assigns Hoenn Dex Pokémon (Using National Dex Index)
+ const u16 gHoennToNationalOrder[NUM_SPECIES] = // Assigns Hoenn Dex Pokémon (Using National Dex Index)
{
HOENN_TO_NATIONAL(TREECKO),
...
@@ -411,7 +411,7 @@ Edit [src/pokemon.c](../blob/master/src/pokemon.c):
};
...
- static const u8 sMonFrontAnimIdsTable[] =
+ static const u8 sMonFrontAnimIdsTable[NUM_SPECIES] =
{
[SPECIES_BULBASAUR - 1] = 0x06,
...