Use constants for menu info icon table
This commit is contained in:
@@ -4076,14 +4076,14 @@ static void TradeBoardPrintItemInfo(u8 windowId, u8 y, struct GFtgtGname * gname
|
||||
UR_AddTextPrinterParameterized(windowId, 1, uname, 8, y, colorIdx);
|
||||
if (species == SPECIES_EGG)
|
||||
{
|
||||
UR_AddTextPrinterParameterized(windowId, 1, sText_EggTrade, 0x44, y, colorIdx);
|
||||
UR_AddTextPrinterParameterized(windowId, 1, sText_EggTrade, 68, y, colorIdx);
|
||||
}
|
||||
else
|
||||
{
|
||||
blit_move_info_icon(windowId, type + 1, 0x44, y);
|
||||
UR_AddTextPrinterParameterized(windowId, 1, gSpeciesNames[species], 0x76, y, colorIdx);
|
||||
BlitMenuInfoIcon(windowId, type + 1, 68, y);
|
||||
UR_AddTextPrinterParameterized(windowId, 1, gSpeciesNames[species], 118, y, colorIdx);
|
||||
ConvertIntToDecimalStringN(levelStr, level, STR_CONV_MODE_RIGHT_ALIGN, 3);
|
||||
UR_AddTextPrinterParameterized(windowId, 1, levelStr, 0xC6, y, colorIdx);
|
||||
UR_AddTextPrinterParameterized(windowId, 1, levelStr, 198, y, colorIdx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user