mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
CpuFastFill
for initializing, thanks SBird
This commit is contained in:
parent
271bca6a3d
commit
43da48f992
@ -4537,7 +4537,7 @@ static void PrintDecimalNum(u8 windowId, u16 num, u8 left, u8 top)
|
||||
|
||||
static void DrawFootprint(u8 windowId, u16 dexNum)
|
||||
{
|
||||
u8 footprint4bpp[TILE_SIZE_4BPP * NUM_FOOTPRINT_TILES] = {0};
|
||||
u8 footprint4bpp[TILE_SIZE_4BPP * NUM_FOOTPRINT_TILES];
|
||||
const u8 *footprintGfx = gMonFootprintTable[NationalPokedexNumToSpecies(dexNum)];
|
||||
u32 i, j, tileIdx = 0;
|
||||
|
||||
@ -4562,6 +4562,10 @@ static void DrawFootprint(u8 windowId, u16 dexNum)
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
CpuFastFill(0, footprint4bpp, sizeof(footprint4bpp));
|
||||
}
|
||||
CopyToWindowPixelBuffer(windowId, footprint4bpp, sizeof(footprint4bpp), 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user