diff options
author | danenders <65201358+danenders@users.noreply.github.com> | 2022-03-05 11:53:52 -0500 |
---|---|---|
committer | danenders <65201358+danenders@users.noreply.github.com> | 2022-03-05 11:53:52 -0500 |
commit | 246673082be56f3f3887839761f75b0b3e6b75b2 (patch) | |
tree | f57ba906640ccc9fc55c4f03b59d8f7a1b0f9bde | |
parent | 6208aa95b2a5951a44d36eed367beb0b14101288 (diff) |
Updated How to add a new Pokémon species (markdown)
-rw-r--r-- | How-to-add-a-new-Pokémon-species.md | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/How-to-add-a-new-Pokémon-species.md b/How-to-add-a-new-Pokémon-species.md index 480332a..b8b4ad1 100644 --- a/How-to-add-a-new-Pokémon-species.md +++ b/How-to-add-a-new-Pokémon-species.md @@ -364,28 +364,28 @@ The `_()` underscore function doesn't really exist - it's a convention borrowed ## 3. Define its Pokédex entry First, we will need to add new index constants for its Pokédex entry. The index constants are divided into the Hoenn Pokédex, which contains all Pokémon native to the Hoenn region, and the national Pokédex containing all known Pokémon, which can be received after entering the hall of fame for the first time. -Edit [include/constants/species.h](../blob/master/include/constants/species.h): +Edit [include/constants/pokedex.h](../blob/master/include/constants/pokedex.h): ```diff - // National Dex Index Defines - - #define NATIONAL_DEX_NONE 0 - #define NATIONAL_DEX_BULBASAUR 1 +// National Pokedex order +enum { + NATIONAL_DEX_NONE, + // Kanto + NATIONAL_DEX_BULBASAUR, ... - #define NATIONAL_DEX_DEOXYS 386 -+#define NATIONAL_DEX_MEWTHREE 387 + NATIONAL_DEX_DEOXYS, + NATIONAL_DEX_MEWTHREE, -#define NATIONAL_DEX_COUNT NATIONAL_DEX_DEOXYS +#define NATIONAL_DEX_COUNT NATIONAL_DEX_MEWTHREE ... - // Hoenn Dex Index Defines - #define HOENN_DEX_NONE 0 - #define HOENN_DEX_TREECKO 1 +// Hoenn Pokedex order +enum { + HOENN_DEX_NONE, + HOENN_DEX_TREECKO, ... - #define HOENN_DEX_CELEBI 386 -+#define HOENN_DEX_MEWTHREE 387 - --#define HOENN_DEX_OLD_UNOWN_B (HOENN_DEX_CELEBI + 1) -+#define HOENN_DEX_OLD_UNOWN_B (HOENN_DEX_MEWTHREE + 1) + #HOENN_DEX_CELEBI ++#HOENN_DEX_MEWTHREE + ``` Edit [src/pokemon.c](../blob/master/src/pokemon.c): |