summaryrefslogtreecommitdiff
path: root/src/option_menu.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-03-02 17:25:39 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-03-02 17:25:39 -0500
commit3716da5430a976d05afecdf82f43f14fc2584949 (patch)
tree23153bde084320579689776bd337285294a50fb4 /src/option_menu.c
parentb2c92ee8c5d8ea934b5c6c36cc4b06b66779d0fe (diff)
Rename macro with correct name for pixel values
Diffstat (limited to 'src/option_menu.c')
-rw-r--r--src/option_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option_menu.c b/src/option_menu.c
index 94bbef306..1766f0bdb 100644
--- a/src/option_menu.c
+++ b/src/option_menu.c
@@ -620,7 +620,7 @@ static void ButtonMode_DrawChoices(u8 selection)
static void DrawTextOption(void)
{
- FillWindowPixelBuffer(WIN_TEXT_OPTION, PALETTE_NUM_TO_FILL_VALUE(1));
+ FillWindowPixelBuffer(WIN_TEXT_OPTION, PIXEL_FILL(1));
AddTextPrinterParameterized(WIN_TEXT_OPTION, 1, gText_Option, 8, 1, TEXT_SPEED_FF, NULL);
CopyWindowToVram(WIN_TEXT_OPTION, 3);
}
@@ -629,7 +629,7 @@ static void DrawOptionMenuTexts(void)
{
u8 i;
- FillWindowPixelBuffer(WIN_OPTIONS, PALETTE_NUM_TO_FILL_VALUE(1));
+ FillWindowPixelBuffer(WIN_OPTIONS, PIXEL_FILL(1));
for (i = 0; i < MENUITEM_COUNT; i++)
{
AddTextPrinterParameterized(WIN_OPTIONS, 1, sOptionMenuItemsNames[i], 8, (i * 16) + 1, TEXT_SPEED_FF, NULL);