diff options
| author | Vortyne <104168801+Vortyne@users.noreply.github.com> | 2024-05-05 10:56:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-05 09:56:08 -0500 |
| commit | 5f7b444ae853d171cf9b223574f2dac5edbc03c5 (patch) | |
| tree | 366a3c5874b3f370c2527addcb791b1281d0feab /constants | |
| parent | Fix hard-coded bank (diff) | |
| download | pokeyellow-5f7b444ae853d171cf9b223574f2dac5edbc03c5.tar.gz pokeyellow-5f7b444ae853d171cf9b223574f2dac5edbc03c5.tar.xz pokeyellow-5f7b444ae853d171cf9b223574f2dac5edbc03c5.zip | |
Use constant in wram for hidden item flags (#445)
Prevents defining more hidden items than the flag array has room for
Diffstat (limited to 'constants')
| -rw-r--r-- | constants/item_constants.asm | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
