shithub: pokered

Download patch

ref: d809d3d59c0c1016b89332be7f6f3003efa7a9f9
parent: cab3ccdbbd661aa75b9861aeaaa11fd0446c8113
author: Rangi <[email protected]>
date: Sun Sep 11 11:02:51 EDT 2022

Add `UNUSED_TYPE`/`UNUSED_TYPE_END` constants

Fixes #385

--- a/constants/type_constants.asm
+++ b/constants/type_constants.asm
@@ -12,7 +12,9 @@
 	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
--- a/data/types/names.asm
+++ b/data/types/names.asm
@@ -11,7 +11,7 @@
 	dw .Bug
 	dw .Ghost
 
-REPT FIRE - GHOST - 1
+REPT UNUSED_TYPES_END - UNUSED_TYPES
 	dw .Normal
 ENDR