summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Winwood <twwinwood@gmail.com>2020-04-23 13:35:14 +0100
committerThomas Winwood <twwinwood@gmail.com>2020-04-23 13:35:14 +0100
commit27434bd4edd104917349cbf3ca960eaaeaa84fd1 (patch)
tree02667053f2f8cc38c33d1c4872fae4cb4a703061
parente75d87727b662fd91b778bbf279e4e7a5365b1eb (diff)
Explain the underscore convention
-rw-r--r--How-to-add-a-new-Pokémon-species.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/How-to-add-a-new-Pokémon-species.md b/How-to-add-a-new-Pokémon-species.md
index 3142775..28f4a61 100644
--- a/How-to-add-a-new-Pokémon-species.md
+++ b/How-to-add-a-new-Pokémon-species.md
@@ -343,7 +343,7 @@ Edit [src/data/text/species_names.h](../blob/master/src/data/text/species_names.
+ [SPECIES_MEWTHREE] = _("MEWTHREE"),
};
```
-Apparently, the `_()` underscore function is from GNU gettext to translate the text into the system language, but since the translation files seem to be missing, I am not quite sure what it really does.
+The `_()` underscore function doesn't really exist - it's a convention borrowed from GNU gettext to let `preproc` know this is text to be converted to the custom encoding used by the Gen 3 Pokemon games.
## 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.