Rename macro with correct name for pixel values
This commit is contained in:
+7
-7
@@ -2152,7 +2152,7 @@ static void CreateCaughtBall(u16 a, u8 x, u8 y, u16 unused)
|
||||
if (a)
|
||||
BlitBitmapToWindow(0, gUnknown_0855D2BE, x * 8, y * 8, 8, 16);
|
||||
else
|
||||
FillWindowPixelRect(0, PALETTE_NUM_TO_FILL_VALUE(0), x * 8, y * 8, 8, 16);
|
||||
FillWindowPixelRect(0, PIXEL_FILL(0), x * 8, y * 8, 8, 16);
|
||||
}
|
||||
|
||||
static u8 CreateMonName(u16 num, u8 left, u8 top)
|
||||
@@ -2170,7 +2170,7 @@ static u8 CreateMonName(u16 num, u8 left, u8 top)
|
||||
|
||||
void sub_80BD28C(u8 x, u8 y, u16 unused)
|
||||
{
|
||||
FillWindowPixelRect(0, PALETTE_NUM_TO_FILL_VALUE(0), x * 8, y * 8, 0x60, 16);
|
||||
FillWindowPixelRect(0, PIXEL_FILL(0), x * 8, y * 8, 0x60, 16);
|
||||
}
|
||||
|
||||
static void CreateInitialPokemonSprites(u16 selectedMon, u16 b)
|
||||
@@ -2927,7 +2927,7 @@ void sub_80BEA24(u8 taskId)
|
||||
case 1:
|
||||
DecompressAndLoadBgGfxUsingHeap(3, gPokedexMenu_Gfx, 0x2000, 0, 0);
|
||||
CopyToBgTilemapBuffer(3, gPokedexTilemap_DescriptionScreen, 0, 0);
|
||||
FillWindowPixelBuffer(0, PALETTE_NUM_TO_FILL_VALUE(0));
|
||||
FillWindowPixelBuffer(0, PIXEL_FILL(0));
|
||||
PutWindowTilemap(0);
|
||||
PutWindowTilemap(1);
|
||||
sub_80C0D30(1, sPokedexListItem->dexNum);
|
||||
@@ -3222,7 +3222,7 @@ void sub_80BF250(u8 taskId)
|
||||
case 1:
|
||||
DecompressAndLoadBgGfxUsingHeap(3, &gPokedexMenu_Gfx, 0x2000, 0, 0);
|
||||
CopyToBgTilemapBuffer(3, &gPokedexTilemap_CryScreen, 0, 0);
|
||||
FillWindowPixelBuffer(0, PALETTE_NUM_TO_FILL_VALUE(0));
|
||||
FillWindowPixelBuffer(0, PIXEL_FILL(0));
|
||||
PutWindowTilemap(0);
|
||||
PutWindowTilemap(3);
|
||||
PutWindowTilemap(2);
|
||||
@@ -3416,7 +3416,7 @@ void sub_80BF82C(u8 taskId)
|
||||
case 1:
|
||||
DecompressAndLoadBgGfxUsingHeap(3, gPokedexMenu_Gfx, 0x2000, 0, 0);
|
||||
CopyToBgTilemapBuffer(3, gPokedexTilemap_SizeScreen, 0, 0);
|
||||
FillWindowPixelBuffer(0, PALETTE_NUM_TO_FILL_VALUE(0));
|
||||
FillWindowPixelBuffer(0, PIXEL_FILL(0));
|
||||
PutWindowTilemap(0);
|
||||
gMain.state++;
|
||||
break;
|
||||
@@ -3766,7 +3766,7 @@ void sub_80BFE38(u8 taskId)
|
||||
case 1:
|
||||
DecompressAndLoadBgGfxUsingHeap(3, gPokedexMenu_Gfx, 0x2000, 0, 0);
|
||||
CopyToBgTilemapBuffer(3, gPokedexTilemap_DescriptionScreen, 0, 0);
|
||||
FillWindowPixelBuffer(0, PALETTE_NUM_TO_FILL_VALUE(0));
|
||||
FillWindowPixelBuffer(0, PIXEL_FILL(0));
|
||||
PutWindowTilemap(0);
|
||||
PutWindowTilemap(1);
|
||||
sub_80C0D30(1, gTasks[taskId].data[1]);
|
||||
@@ -4784,7 +4784,7 @@ void sub_80C1270(const u8 *str, u32 left, u32 top)
|
||||
|
||||
void sub_80C12B0(u32 x, u32 y, u32 width, u32 height)
|
||||
{
|
||||
FillWindowPixelRect(0, PALETTE_NUM_TO_FILL_VALUE(0), x, y, width, height);
|
||||
FillWindowPixelRect(0, PIXEL_FILL(0), x, y, width, height);
|
||||
}
|
||||
|
||||
void sub_80C12E0(u8 taskId)
|
||||
|
||||
Reference in New Issue
Block a user