mirror of
https://github.com/pret/pokeemerald.git
synced 2026-10-01 22:38:10 -05:00
Hide in-battle types from Union Room trade request (#6489)
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user