unhardcode some things

This commit is contained in:
Rainchus 2025-05-13 20:17:15 -05:00
parent 5167059ee8
commit 6449af2939
7 changed files with 48 additions and 47 deletions

View file

@ -47,7 +47,7 @@ static s8 itemUse = -1;
#define BOARD_ITEM_ITEM_BAG 13
#define BOARD_ITEMS_END BOARD_ITEM_ITEM_BAG
static s8 comItemPreferTbl[GW_CHARACTER_MAX][SHOP_ITEMS_END] = {
static s8 comItemPreferTbl[CHARNO_MAX ][SHOP_ITEMS_END] = {
{ //Mario
BOARD_ITEM_MAGIC_LAMP,
BOARD_ITEM_BOOS_CRYSTAL_BALL,