diff --git a/src/data/union_room.h b/src/data/union_room.h index f39ab83de0..42c02c5a58 100644 --- a/src/data/union_room.h +++ b/src/data/union_room.h @@ -867,7 +867,8 @@ static const struct WindowTemplate sWindowTemplate_TradingBoardRequestType = { .baseBlock = 0x0001 }; -static const struct ListMenuItem sTradingBoardTypes[NUMBER_OF_MON_TYPES] = { +// Subtract two from the total type count to handle in-battle types not for display +static const struct ListMenuItem sTradingBoardTypes[NUMBER_OF_MON_TYPES - 2] = { { gTypesInfo[TYPE_NORMAL].name, TYPE_NORMAL }, { gTypesInfo[TYPE_FIRE].name, TYPE_FIRE }, { gTypesInfo[TYPE_WATER].name, TYPE_WATER },