Improve window palette macros
This commit is contained in:
@@ -2578,7 +2578,7 @@ static u8* AddTextPrinterAndCreateWindowOnHealthbox(const u8 *str, u32 x, u32 y,
|
||||
struct WindowTemplate winTemplate = sHealthboxWindowTemplate;
|
||||
|
||||
winId = AddWindow(&winTemplate);
|
||||
FillWindowPixelBuffer(winId, (bgColor << 4) | (bgColor));
|
||||
FillWindowPixelBuffer(winId, PALETTE_NUM_TO_FILL_VALUE(bgColor));
|
||||
|
||||
color[0] = bgColor;
|
||||
color[1] = 1;
|
||||
|
||||
Reference in New Issue
Block a user