summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianmaru <tianmaru@gmail.com>2019-08-26 02:06:06 +0200
committerTianmaru <tianmaru@gmail.com>2019-08-26 02:06:06 +0200
commite12160fcc6caa28ee85668790a605bd8e43c9b1c (patch)
tree87a5d34d483f09f8bfc9d681fe28b1379f11cdee
parent5d98d98d236fe32eb725b37f4e9d82fcce690646 (diff)
create table of contents
-rw-r--r--How-to-add-a-new-Pokémon-species.md39
1 files changed, 31 insertions, 8 deletions
diff --git a/How-to-add-a-new-Pokémon-species.md b/How-to-add-a-new-Pokémon-species.md
index 095df15..3142775 100644
--- a/How-to-add-a-new-Pokémon-species.md
+++ b/How-to-add-a-new-Pokémon-species.md
@@ -1,7 +1,29 @@
Despite the persistent rumors about an incredibly strong third form of Mew hiding somewhere, it actually wasn't possible to catch it... OR WAS IT?
In this tutorial, we will add a new Pokémon species to the game.
-## The Graphics
+# Content
+* [The Graphics](#the-graphics)
+ * [1. Edit the sprites](#1-edit-the-sprites)
+ * [2. Register the sprites](#2-register-the-sprites)
+ * [3. Animate the sprites](#3-animate-the-sprites)
+ * [4. Update the tables](#4-update-the-tables)
+* [The Data](#the-data)
+ * [1. Declare a species constant](#1-declare-a-species-constant)
+ * [2. Devise a name](#2-devise-a-name)
+ * [3. Define its Pokédex entry](#3-define-its-pokédex-entry)
+ * [4. Define its base stats](#4-define-its-base-stats)
+ * [5. Delimit the moveset](#5-delimit-the-moveset)
+ * [6. Define its cry](#6-define-its-cry)
+ * [7. Define the Evolutions](#7-define-the-evolutions)
+ * [8. Easy Chat about your Pokémon](#8-easy-chat-about-your-pokémon)
+ * [9. Make it appear!](#9-make-it-appear)
+* [Appendix](#appendix)
+ * [Available Battle Animations](#available-battle-animations)
+ * [Pokémon ordered by height](#pokémon-ordered-by-height)
+ * [Pokémon ordered by weight](#pokémon-ordered-by-weight)
+
+
+# The Graphics
We will start by copying the folder containing the sprites for Mewtwo and rename it to `mewthree` (pretty meta huh?):
```sh
cp -r graphics/pokemon/mewtwo graphics/pokemon/mewthree
@@ -282,10 +304,11 @@ Edit [src/pokemon_icon.c](../blob/master/src/pokemon_icon.c):
[SPECIES_UNOWN_QMARK] = 0,
};
```
+Here, you can choose between the three icon palettes 0, 1 and 2. Open some other icon files to find out which palette suits your icon best.
-## The Data
+# The Data
Our plan is as simple as it is brilliant: clone Mewtwo... and make it even stronger!
-### 1. Declare a species constant
+## 1. Declare a species constant
Our first step towards creating a new digital lifeform is to define its own species constant.
Edit [include/constants/species.h](../blob/master/include/constants/species.h):
```diff
@@ -308,7 +331,7 @@ Edit [include/constants/species.h](../blob/master/include/constants/species.h):
```
Remember to increase the value of all species constants after Mewthree until SPECIES_UNOWN_QMARK by one.
-### 2. Devise a name
+## 2. Devise a name
This name will be displayed in the game. It may be different than the identifier of the species constant, especially when there are special characters involved.
Edit [src/data/text/species_names.h](../blob/master/src/data/text/species_names.h):
```diff
@@ -720,8 +743,8 @@ Edit [src/data/wild_encounters.json](../blob/master/src/data/wild_encounters.jso
Congratulations, you have created your own personal pocket monster! You may call yourself a mad scientist now.
-## Appendix
-### Available Battle Animations
+# Appendix
+## Available Battle Animations
1. BACK_ANIM_NONE
2. BACK_ANIM_H_SLIDE_QUICK
3. BACK_ANIM_H_SLIDE
@@ -749,7 +772,7 @@ Congratulations, you have created your own personal pocket monster! You may call
25. BACK_ANIM_FADE_GREEN_WITH_SHAKE
26. BACK_ANIM_FADE_BLUE_WITH_SHAKE
-### Pokémon ordered by height
+## Pokémon ordered by height
| Pokemon | height (m) |
| :------ | ---------: |
| Diglett | 0.2 |
@@ -1139,7 +1162,7 @@ Congratulations, you have created your own personal pocket monster! You may call
| Steelix | 9.2 |
| Wailord | 14.5 |
-### Pokémon ordered by weight
+## Pokémon ordered by weight
| Pokemon | weight (kg) |
| :------ | ----------: |
| Gastly | 0.1 |