mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-08 08:27:52 +01:00
Missing pret improvement that was causing unmatching
This commit is contained in:
parent
4c57b84cd9
commit
5bf040f38d
@ -4552,7 +4552,9 @@ static void DrawFootprint(u8 windowId, u16 dexNum)
|
||||
// so we need 4 iterations to do all 8 pixels.
|
||||
for (j = 0; j < 4; j++)
|
||||
{
|
||||
u8 tile = ((footprint1bpp >> (2 * j)) & 1 ? 2 : 0);
|
||||
u8 tile = 0;
|
||||
if (footprint1bpp & (1 << (2 * j)))
|
||||
tile |= FOOTPRINT_COLOR_IDX; // Set pixel
|
||||
if (footprint1bpp & (2 << (2 * j)))
|
||||
tile |= FOOTPRINT_COLOR_IDX << 4; // Set pixel
|
||||
footprint4bpp[tileIdx] = tile;
|
||||
|
Loading…
x
Reference in New Issue
Block a user