summaryrefslogtreecommitdiff
path: root/src/berry_fix_program.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/berry_fix_program.c
parentb2c92ee8c5d8ea934b5c6c36cc4b06b66779d0fe (diff)
Rename macro with correct name for pixel values
Diffstat (limited to 'src/berry_fix_program.c')
-rw-r--r--src/berry_fix_program.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/berry_fix_program.c b/src/berry_fix_program.c
index 24198fc87..37be569f8 100644
--- a/src/berry_fix_program.c
+++ b/src/berry_fix_program.c
@@ -226,9 +226,9 @@ static void berry_fix_gpu_set(void)
DmaCopy32(3, sUnknown_08618138, BG_PLTT + 0x1E0, 0x20);
SetGpuReg(REG_OFFSET_DISPCNT, DISPCNT_OBJ_1D_MAP);
- FillWindowPixelBuffer(2, PALETTE_NUM_TO_FILL_VALUE(0));
- FillWindowPixelBuffer(3, PALETTE_NUM_TO_FILL_VALUE(0));
- FillWindowPixelBuffer(0, PALETTE_NUM_TO_FILL_VALUE(0xA));
+ FillWindowPixelBuffer(2, PIXEL_FILL(0));
+ FillWindowPixelBuffer(3, PIXEL_FILL(0));
+ FillWindowPixelBuffer(0, PIXEL_FILL(0xA));
width = GetStringWidth(0, sUnknown_08617E9B, 0);
left = (0x78 - width) / 2;
@@ -273,7 +273,7 @@ static int berry_fix_text_update(int checkval)
static void berry_fix_text_print(int scene)
{
FillBgTilemapBufferRect_Palette0(0, 0, 0, 0, 32, 32);
- FillWindowPixelBuffer(1, PALETTE_NUM_TO_FILL_VALUE(0xA));
+ FillWindowPixelBuffer(1, PIXEL_FILL(0xA));
AddTextPrinterParameterized3(1, 1, 0, 0, sUnknown_08618158, -1, gUnknown_08618160[scene]);
PutWindowTilemap(1);
CopyWindowToVram(1, 2);