From ddbd9676b09ed7110f2ab279bd2cc09081595c66 Mon Sep 17 00:00:00 2001 From: Rangi <35663410+Rangi42@users.noreply.github.com> Date: Wed, 16 Aug 2023 10:22:35 -0400 Subject: [PATCH] Define all unused type names with `rept` (#1071) Fixes #1070 --- data/types/names.asm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/data/types/names.asm b/data/types/names.asm index 94fe67e136f..2f83ba46492 100644 --- a/data/types/names.asm +++ b/data/types/names.asm @@ -1,6 +1,7 @@ TypeNames: ; entries correspond to types (see constants/type_constants.asm) table_width 2, TypeNames + dw Normal dw Fighting dw Flying @@ -12,17 +13,13 @@ TypeNames: dw Ghost dw Steel assert_table_length UNUSED_TYPES + +rept UNUSED_TYPES_END - UNUSED_TYPES - 1 ; discount CURSE_TYPE dw Normal - dw Normal - dw Normal - dw Normal - dw Normal - dw Normal - dw Normal - dw Normal - dw Normal +endr dw CurseType assert_table_length UNUSED_TYPES_END + dw Fire dw Water dw Grass