Centralize location of memory pools

This commit centralizes the location of memory pools and adds an
associated script (scripts/get_memory_map.sh) to read the memory map.
This commit is contained in:
Rickey Fehr
2025-09-21 13:14:22 -07:00
parent 72c0a6c4a9
commit 06cd13a17f
9 changed files with 70 additions and 36 deletions
-9
View File
@@ -29,15 +29,6 @@ static const unsigned short *joker_gfxPal[] =
#undef DEF_JOKER_GFX
};
// This won't be more than the number of jokers in your current deck
// plus the amount that can fit in the shop, 8 should be fine. For now...
#define MAX_ACTIVE_JOKERS 8
POOL_DECLARE_TYPE(Joker)
POOL_DEFINE_TYPE(Joker, MAX_ACTIVE_JOKERS)
POOL_DECLARE_TYPE(JokerObject)
POOL_DEFINE_TYPE(JokerObject, MAX_ACTIVE_JOKERS)
const static u8 edition_price_lut[MAX_EDITIONS] =
{
0, // BASE_EDITION