mirror of
https://github.com/pret/pokefirered.git
synced 2026-10-01 21:40:15 -05:00
rename
This commit is contained in:
@@ -976,10 +976,10 @@ struct BattleSpriteData
|
||||
|
||||
struct MonSpritesGfx
|
||||
{
|
||||
void *firstDecompressed; // ptr to the decompressed sprite of the first Pokémon
|
||||
void *firstDecompressed; // ptr to the decompressed sprite of the first pokemon
|
||||
u8 *spritesGfx[MAX_BATTLERS_COUNT];
|
||||
struct SpriteTemplate templates[MAX_BATTLERS_COUNT];
|
||||
struct SpriteFrameImage frameImages[MAX_BATTLERS_COUNT][4];
|
||||
struct SpriteFrameImage images[MAX_BATTLERS_COUNT][4];
|
||||
u8 *barFontGfx;
|
||||
u16 *buffer;
|
||||
};
|
||||
|
||||
@@ -1180,11 +1180,11 @@ void AllocateMonSpritesGfx(void)
|
||||
|
||||
for (j = 0; j < MAX_MON_PIC_FRAMES; ++j)
|
||||
{
|
||||
gMonSpritesGfxPtr->frameImages[i][j].data = gMonSpritesGfxPtr->spritesGfx[i] + (j * 0x800);
|
||||
gMonSpritesGfxPtr->frameImages[i][j].size = 0x800;
|
||||
gMonSpritesGfxPtr->images[i][j].data = gMonSpritesGfxPtr->spritesGfx[i] + (j * 0x800);
|
||||
gMonSpritesGfxPtr->images[i][j].size = 0x800;
|
||||
}
|
||||
|
||||
gMonSpritesGfxPtr->templates[i].images = gMonSpritesGfxPtr->frameImages[i];
|
||||
gMonSpritesGfxPtr->templates[i].images = gMonSpritesGfxPtr->images[i];
|
||||
}
|
||||
gMonSpritesGfxPtr->barFontGfx = AllocZeroed(0x1000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user