aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-09-11 15:02:51 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2022-09-11 15:02:51 -0400
commitd809d3d59c0c1016b89332be7f6f3003efa7a9f9 (patch)
tree50ff6bae0898a46e2ac7aa1c0709310da5b96678
parentComment about UndergroundPathNorthSouth.blk size (diff)
downloadpokeyellow-d809d3d59c0c1016b89332be7f6f3003efa7a9f9.tar.gz
pokeyellow-d809d3d59c0c1016b89332be7f6f3003efa7a9f9.tar.xz
pokeyellow-d809d3d59c0c1016b89332be7f6f3003efa7a9f9.zip
Add `UNUSED_TYPE`/`UNUSED_TYPE_END` constants
Fixes #385
-rw-r--r--constants/type_constants.asm2
-rw-r--r--data/types/names.asm2
2 files changed, 3 insertions, 1 deletions
diff --git a/constants/type_constants.asm b/constants/type_constants.asm
index e9df7faf..8226af1a 100644
--- a/constants/type_constants.asm
+++ b/constants/type_constants.asm
@@ -12,7 +12,9 @@ DEF PHYSICAL EQU const_value
const BUG ; $07
const GHOST ; $08
+DEF UNUSED_TYPES EQU const_value
const_next 20
+DEF UNUSED_TYPES_END EQU const_value
DEF SPECIAL EQU const_value
const FIRE ; $14
diff --git a/data/types/names.asm b/data/types/names.asm
index b63c072e..87da5c5f 100644
--- a/data/types/names.asm
+++ b/data/types/names.asm
@@ -11,7 +11,7 @@ TypeNames:
dw .Bug
dw .Ghost
-REPT FIRE - GHOST - 1
+REPT UNUSED_TYPES_END - UNUSED_TYPES
dw .Normal
ENDR