summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanenders <65201358+danenders@users.noreply.github.com>2022-03-05 12:43:27 -0500
committerdanenders <65201358+danenders@users.noreply.github.com>2022-03-05 12:43:27 -0500
commit4dc687ccad32a94803dce80ac6e32746e19e8ad3 (patch)
treedcf3161bb68531ab2a8dd95c74ee4ab634a0d2d3
parent4b041f4d74b1afb687ecc14b6ebb31b337c023ed (diff)
Updated How to add a new Pokémon species (markdown)
-rw-r--r--How-to-add-a-new-Pokémon-species.md26
1 files changed, 19 insertions, 7 deletions
diff --git a/How-to-add-a-new-Pokémon-species.md b/How-to-add-a-new-Pokémon-species.md
index 81eda7e..d0ec363 100644
--- a/How-to-add-a-new-Pokémon-species.md
+++ b/How-to-add-a-new-Pokémon-species.md
@@ -366,26 +366,38 @@ The `_()` underscore function doesn't really exist - it's a convention borrowed
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/pokedex.h](../blob/master/include/constants/pokedex.h):
```diff
+#ifndef GUARD_CONSTANTS_POKEDEX_H
+#define GUARD_CONSTANTS_POKEDEX_H
+
// National Pokedex order
enum {
NATIONAL_DEX_NONE,
// Kanto
NATIONAL_DEX_BULBASAUR,
- ...
+...
NATIONAL_DEX_DEOXYS,
+ NATIONAL_DEX_MEWTHREE,
};
--#define NATIONAL_DEX_COUNT NATIONAL_DEX_DEOXYS
-+#define NATIONAL_DEX_COUNT NATIONAL_DEX_MEWTHREE
- ...
+#define KANTO_DEX_COUNT NATIONAL_DEX_MEW
+#define JOHTO_DEX_COUNT NATIONAL_DEX_CELEBI
+-#define NATIONAL_DEX_COUNT NATIONAL_DEX_DEOXYS
++#define NATIONAL_DEX_COUNT NATIONAL_DEX_MEWTHREE
+
// Hoenn Pokedex order
enum {
HOENN_DEX_NONE,
HOENN_DEX_TREECKO,
- ...
--#define #HOENN_DEX_COUNT_DEOXYS
-+#define #HOENN_DEX_COUNT_MEWTHREE
+...
+ HOENN_DEX_DEOXYS,
++ HOENN_DEX_MEWTHREE,
+};
+
+- #define HOENN_DEX_COUNT HOENN_DEX_DEOXYS
++ #define HOENN_DEX_COUNT HOENN_DEX_MEWTHREE
+
+#endif // GUARD_CONSTANTS_POKEDEX_H
+
```