summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Custom-order-for-the-Old-Pokédex-mode.md (renamed from Define-the-Old-Pokédex-order.md)12
-rw-r--r--Tutorials.md2
2 files changed, 6 insertions, 8 deletions
diff --git a/Define-the-Old-Pokédex-order.md b/Custom-order-for-the-Old-Pokédex-mode.md
index 6ef4ae6..fd986a5 100644
--- a/Define-the-Old-Pokédex-order.md
+++ b/Custom-order-for-the-Old-Pokédex-mode.md
@@ -9,6 +9,8 @@ This tutorial allows you to give the Old Pokédex mode a different order than th
## 1. Define the Old Mode order
+We're going to define the order in which Pokémon will appear in the Old Mode Pokédex, in the same way as [data/pokemon/dex_order_new.asm](../blob/master/data/pokemon/dex_order_new.asm) does for the New Mode.
+
Create **data/pokemon/dex_order_old.asm**:
```diff
@@ -22,9 +24,9 @@ Create **data/pokemon/dex_order_old.asm**:
+ db CELEBI
```
-This defines the order in which the Pokémon will appear in the Old Mode Pokédex, in the same way as [data/pokemon/dex_order_new.asm](blob/master/data/pokemon/dex_order_new.asm) does for the New Mode.
+You can leave the order as is, or change it up to your liking.
-And include this file in the ROM, such that it gets built.
+We also need to include this new file in the ROM.
Edit [engine/pokedex/pokedex.asm](../blob/master/engine/pokedex/pokedex.asm)
@@ -34,16 +36,12 @@ Edit [engine/pokedex/pokedex.asm](../blob/master/engine/pokedex/pokedex.asm)
INCLUDE "data/pokemon/dex_order_new.asm"
+
+INCLUDE "data/pokemon/dex_order_old.asm"
-
- Pokedex_DisplayModeDescription:
```
-You can leave the order as is, or change it up to your liking.
-
## 2. Edit how Old Mode is implemented
-We're going to reuse the same code that's used for the New Mode Pokédex, but instead of using `NewPokedexOrder`, we're goint to tell it to use `OldPokedexOrder`. This ensures that the Pokémon are displayed in the order we want them to in the Old Mode Pokédex.
+We're going to reuse the same code that's used for the New Mode Pokédex, but instead of using `NewPokedexOrder`, we're going to tell it to use `OldPokedexOrder`. This ensures that the Pokémon are displayed in the order we want them to in the Old Mode Pokédex.
Edit [engine/pokedex/pokedex.asm](../blob/master/engine/pokedex/pokedex.asm):
diff --git a/Tutorials.md b/Tutorials.md
index bac5190..be76738 100644
--- a/Tutorials.md
+++ b/Tutorials.md
@@ -47,7 +47,7 @@ Tutorials may use diff syntax to show edits:
- [Show the tops of leaders' heads on the trainer card](Show-the-tops-of-leaders-heads-on-the-trainer-card)
- [Print text when you lose a trainer battle](Print-text-when-you-lose-a-trainer-battle)
- [Correct grammar for plural trainers like Twins](Correct-grammar-for-plural-trainers-like-Twins)
-- [Define the Old Pokédex order](Define-the-Old-Pokédex-order)
+- [Custom order for the Old Pokédex mode](Custom-order-for-the-Old-Pokédex-mode)
**Removing features:**