Hide in-battle types from Union Room trade request (#6489)

This commit is contained in:
aronson 2025-03-30 03:57:58 -05:00 committed by GitHub
parent 388389714b
commit 68a869da99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 },