summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Add-a-new-TM-or-HM.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/Add-a-new-TM-or-HM.md b/Add-a-new-TM-or-HM.md
index b585f78..2b7f68c 100644
--- a/Add-a-new-TM-or-HM.md
+++ b/Add-a-new-TM-or-HM.md
@@ -8,9 +8,9 @@ This tutorial is for how to add a new TM or HM. As an example, we'll add TM51 Ae
1. [Define constants with `add_tm` or `add_hm`](#1-define-constants-with-add_tm-or-add_hm)
2. [Define standard item data](#2-define-standard-item-data)
3. [Update the TM/HM move table](#3-update-the-tmhm-move-table)
-4. [Add the TM or HM to base learnsets](#4-add-the-tm-or-HM-to-base-learnsets)
+4. [Add the TM or HM to base learnsets](#4-add-the-tm-or-hm-to-base-learnsets)
5. [Make the HM move unforgettable](#5-make-the-hm-move-unforgettable)
-6. [Adding up to 120 new TMs or HMs](#5-adding-up-to-120-new-tms-or-hms)
+6. [Adding up to 120 new TMs or HMs](#6-adding-up-to-120-new-tms-or-hms)
## 1. Define constants with `add_tm` or `add_hm`
@@ -51,7 +51,7 @@ Edit [constants/item_constants.asm](../blob/master/constants/item_constants.asm)
NUM_HMS = const_value - HM01
```
-The `add_tm` mand `add_hm` macros simultaneously define the next item constant (`TM_AEROBLAST` and `HM_SOFTBOILED` respectively) and the next `TMNUM` constant (`AEROBLAST_TMNUM` and `SOFTBOILED_TMNUM`). The item constants are used for `giveitem` scripts, in Mart inventories, etc. The `TMNUM` constants are not used directly, but get referred to by the `tmhm` learnsets in Pokémon base data. (We'll get to that later.)
+The `add_tm` and `add_hm` macros simultaneously define the next item constant (`TM_AEROBLAST` and `HM_SOFTBOILED` respectively) and the next `TMNUM` constant (`AEROBLAST_TMNUM` and `SOFTBOILED_TMNUM`). The item constants are used for `giveitem` scripts, in Mart inventories, etc. The `TMNUM` constants are not used directly, but get referred to by the `tmhm` learnsets in Pokémon base data. (We'll see how that works later.)
(This also demonstrates why Rock Smash would be an inconvenient example for adding a new HM. TM08 is already Rock Smash, and we can't define `ROCK_SMASH_TMNUM` twice, so we would have to do the extra work of replacing TM08 with some other move.)
@@ -78,7 +78,7 @@ Edit [data/items/names.asm](../blob/master/data/items/names.asm):
db "?@"
```
-Edit [data/items/attributes.asm](../blob/master/data/items/attributes.asm):
+And edit [data/items/attributes.asm](../blob/master/data/items/attributes.asm):
```diff
; TM50