Rename macro with correct name for pixel values
This commit is contained in:
@@ -977,7 +977,7 @@ static void sub_816BEF0(s32 id)
|
||||
description = (u8 *)ItemId_GetDescription(gSaveBlock1Ptr->pcItems[id].itemId);
|
||||
else
|
||||
description = ItemStorage_GetItemPcResponse(ITEMPC_GO_BACK_TO_PREV);
|
||||
FillWindowPixelBuffer(windowId, PALETTE_NUM_TO_FILL_VALUE(1));
|
||||
FillWindowPixelBuffer(windowId, PIXEL_FILL(1));
|
||||
AddTextPrinterParameterized(windowId, 1, description, 0, 1, 0, NULL);
|
||||
}
|
||||
|
||||
@@ -1005,7 +1005,7 @@ static void sub_816BFE0(u8 y, u8 b, u8 speed)
|
||||
{
|
||||
u8 windowId = gUnknown_0203BCC4->windowIds[0];
|
||||
if (b == 0xFF)
|
||||
FillWindowPixelRect(windowId, PALETTE_NUM_TO_FILL_VALUE(1), 0, y, GetMenuCursorDimensionByFont(1, 0), GetMenuCursorDimensionByFont(1, 1));
|
||||
FillWindowPixelRect(windowId, PIXEL_FILL(1), 0, y, GetMenuCursorDimensionByFont(1, 0), GetMenuCursorDimensionByFont(1, 1));
|
||||
else
|
||||
AddTextPrinterParameterized4(windowId, 1, 0, y, 0, 0, gUnknown_085DFF8C, speed, gText_SelectorArrow2);
|
||||
}
|
||||
@@ -1123,7 +1123,7 @@ static const u8* ItemStorage_GetItemPcResponse(u16 itemId)
|
||||
static void ItemStorage_PrintItemPcResponse(const u8 *string)
|
||||
{
|
||||
u8 windowId = gUnknown_0203BCC4->windowIds[1];
|
||||
FillWindowPixelBuffer(windowId, PALETTE_NUM_TO_FILL_VALUE(1));
|
||||
FillWindowPixelBuffer(windowId, PIXEL_FILL(1));
|
||||
StringExpandPlaceholders(gStringVar4, string);
|
||||
AddTextPrinterParameterized(windowId, 1, gStringVar4, 0, 1, 0, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user