summaryrefslogtreecommitdiff
path: root/src/region_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/region_map.c')
-rw-r--r--src/region_map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/region_map.c b/src/region_map.c
index e69889584..fa5e26b11 100644
--- a/src/region_map.c
+++ b/src/region_map.c
@@ -1622,7 +1622,7 @@ void MCB2_FlyMap(void)
case 7:
LoadPalette(sRegionMapFramePal, 0x10, 0x20);
PutWindowTilemap(2);
- FillWindowPixelBuffer(2, 0x00);
+ FillWindowPixelBuffer(2, PALETTE_NUM_TO_FILL_VALUE(0));
AddTextPrinterParameterized(2, 1, gText_FlyToWhere, 0, 1, 0, NULL);
schedule_bg_copy_tilemap_to_vram(0);
gMain.state++;
@@ -1707,7 +1707,7 @@ static void sub_8124904(void)
}
else
{
- FillWindowPixelBuffer(0, PIXEL_BUFFER_WHITE);
+ FillWindowPixelBuffer(0, PALETTE_NUM_TO_FILL_VALUE(1));
}
AddTextPrinterParameterized(0, 1, sFlyMap->regionMap.mapSecName, 0, 1, 0, NULL);
schedule_bg_copy_tilemap_to_vram(0);
@@ -1721,7 +1721,7 @@ static void sub_8124904(void)
sub_8198070(1, FALSE);
SetWindowBorderStyle(0, FALSE, 0x65, 0x0d);
}
- FillWindowPixelBuffer(0, PIXEL_BUFFER_WHITE);
+ FillWindowPixelBuffer(0, PALETTE_NUM_TO_FILL_VALUE(1));
CopyWindowToVram(0, 2);
schedule_bg_copy_tilemap_to_vram(0);
gUnknown_03001180 = FALSE;