diff options
-rw-r--r-- | Add-a-new-type.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Add-a-new-type.md b/Add-a-new-type.md index cfe0d35..03825aa 100644 --- a/Add-a-new-type.md +++ b/Add-a-new-type.md @@ -9,7 +9,7 @@ This tutorial is for how to add new types for Pokemon or moves. As an example, w ## 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 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. +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 special type in Gen II and III, so we'll include Dark type as Type $1B. Edit [constants/type_constants.asm](../blob/master/constants/type_constants.asm): @@ -23,7 +23,6 @@ Edit [constants/type_constants.asm](../blob/master/constants/type_constants.asm) ROCK EQU $05 BUG EQU $07 GHOST EQU $08 -+DARK EQU $09 FIRE EQU $14 WATER EQU $15 GRASS EQU $16 @@ -31,6 +30,7 @@ Edit [constants/type_constants.asm](../blob/master/constants/type_constants.asm) PSYCHIC EQU $18 ICE EQU $19 DRAGON EQU $1A ++DARK EQU $1B TYPES_END EQU const_value ``` @@ -51,8 +51,7 @@ TypeNames: dw .Bug dw .Ghost -+ dw .Dark -- dw .Normal + dw .Normal dw .Normal dw .Normal dw .Normal @@ -71,6 +70,7 @@ TypeNames: dw .Psychic dw .Ice dw .Dragon ++ dw .Dark .Normal: db "NORMAL@" .Fighting: db "FIGHTING@" |