summaryrefslogtreecommitdiff
path: root/constants/type_constants.asm
diff options
context:
space:
mode:
Diffstat (limited to 'constants/type_constants.asm')
-rw-r--r--constants/type_constants.asm13
1 files changed, 10 insertions, 3 deletions
diff --git a/constants/type_constants.asm b/constants/type_constants.asm
index b7b350e3..3fb9649a 100644
--- a/constants/type_constants.asm
+++ b/constants/type_constants.asm
@@ -1,3 +1,9 @@
+; TypeNames indexes (see data/types/names.asm)
+; also used in:
+; - PokedexTypeSearchConversionTable (see data/types/search_types.asm)
+; - PokedexTypeSearchStrings (see data/types/search_strings.asm)
+; - TypeMatchups (see data/types/type_matchups.asm)
+; - TypeBoostItems (see data/types/type_boost_items.asm)
const_def
PHYSICAL EQU const_value
@@ -22,7 +28,7 @@ UNUSED_TYPES EQU const_value
const TYPE_16
const TYPE_17
const TYPE_18
- const CURSE_T
+ const CURSE_TYPE
UNUSED_TYPES_END EQU const_value
SPECIAL EQU const_value
@@ -30,9 +36,10 @@ SPECIAL EQU const_value
const WATER
const GRASS
const ELECTRIC
- const PSYCHIC
+ const PSYCHIC_TYPE
const ICE
const DRAGON
const DARK
-
TYPES_END EQU const_value
+
+NUM_TYPES EQU TYPES_END + UNUSED_TYPES - UNUSED_TYPES_END