From 5f7b444ae853d171cf9b223574f2dac5edbc03c5 Mon Sep 17 00:00:00 2001 From: Vortyne <104168801+Vortyne@users.noreply.github.com> Date: Sun, 5 May 2024 10:56:08 -0400 Subject: Use constant in wram for hidden item flags (#445) Prevents defining more hidden items than the flag array has room for --- constants/item_constants.asm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'constants') diff --git a/constants/item_constants.asm b/constants/item_constants.asm index 6dd6cf8a..4e09da0c 100644 --- a/constants/item_constants.asm +++ b/constants/item_constants.asm @@ -215,3 +215,6 @@ DEF NUM_TM_HM EQU NUM_TMS + NUM_HMS ; These fit in 7 bytes, with one unused bit left over. DEF __tmhm_value__ = NUM_TM_HM + 1 DEF UNUSED_TMNUM EQU __tmhm_value__ + +DEF MAX_HIDDEN_ITEMS EQU 112 +DEF MAX_HIDDEN_COINS EQU 16 -- cgit v1.3.1-sl0p