diff options
author | Guernouille <mantidactyle.dev@gmail.com> | 2020-01-15 23:35:47 +0100 |
---|---|---|
committer | Guernouille <mantidactyle.dev@gmail.com> | 2020-01-15 23:35:47 +0100 |
commit | 9968e530a5f3f87d61568be544ee3d3000b0a414 (patch) | |
tree | 67b314d25edc907f7753f84bd17c00803205b0ff | |
parent | 35b756037981eac566ce1bf8c70d9834d3e29b37 (diff) |
Dark was Special, not Physical
-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@" |