summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInfernoGear <32606575+InfernoGear@users.noreply.github.com>2019-10-04 14:26:49 -0500
committerInfernoGear <32606575+InfernoGear@users.noreply.github.com>2019-10-04 14:26:49 -0500
commit7945f11516043bdf24e9720aaa0e4a61250c1dd3 (patch)
tree852e2170e03c49e018c80ec67d6fdf1e2fa21574
parente1c5882e628ffc608a9c3b65b168321ad5273914 (diff)
Added table of contents.
-rw-r--r--Add-a-new-type.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/Add-a-new-type.md b/Add-a-new-type.md
index 5991433..1edf22d 100644
--- a/Add-a-new-type.md
+++ b/Add-a-new-type.md
@@ -1,10 +1,15 @@
This tutorial is for how to add new types for Pokemon or moves. As an example, we'll be adding the Dark type first introduced in Generation II.
## Contents
+- [Define a type constant](#1-define-a-type-constant)
+- [Give the type a name](#2-give-the-type-a-name)
+- [List the type matchups](#3-list-the-type-matchups)
+- [Update Pokemon types](#4-update-pokemon-types)
+- [Update move types](#5-update-move-types0
## 1. Define a type constant
-Gen I was before the Physical/Special split, so any types with an index number less than $14 are physical, and anything afterwards or equalivent to is special. Dark type was classified as a physical type in Gen II and III, so we'll include Dark type as Type $09.
+Gen I was before the Physical/Special split, so any types with an index number less than $14 are physical, and anything greater than or equal to it is special. Dark type was classified as a physical type in Gen II and III, so we'll include Dark type as Type $09.
Edit [constants/type_constants.asm](../blob/master/constants/type_constants.asm):
@@ -29,7 +34,7 @@ Edit [constants/type_constants.asm](../blob/master/constants/type_constants.asm)
TYPES_END EQU const_value
```
-## 2. Give the type a name.
+## 2. Give the type a name
Edit [text/type_names.asm](../blob/master/text/type_names.asm):
@@ -86,7 +91,7 @@ TypeNames:
+.Dark: db "DARK@"
```
-## 3. List the type matchups.
+## 3. List the type matchups
Edit [data/type_effects.asm](../blob/master/data/type_effects.asm):
@@ -114,7 +119,7 @@ Edit [data/type_effects.asm](../blob/master/data/type_effects.asm):
db $ff
```
## 4. Update Pokemon Types
-Technically, no Gen I Pokemon in their base form had the Dark type retrofitted onto them.. So, as an example, we'll give it to Gyarados, who has it in it's Mega Evolution.
+Technically, no Gen I Pokemon in their base form had the Dark type retrofitted onto them. So, as an example, we'll give it to Gyarados, who has it in its Mega Evolution.
Edit the following in [data/baseStats/](../blob/master/data/baseStats/):
- [gyarados.asm](../blob/master/data/baseStats/gyarados.asm):
```diff
@@ -128,7 +133,7 @@ Edit the following in [data/baseStats/](../blob/master/data/baseStats/):
db 0 ; padding
```
-## 6. Update the move types.
+## 5. Update the move types
Luckily, one move in Gen I did get retrofitted to be Dark type in Gen II onwards. That move is Bite. So, edit the type column in [data/moves.asm](../blob/master/data/moves.asm):
```diff
Moves: