Battle controller opponent sync labels from emerald
This commit is contained in:
@@ -1017,11 +1017,11 @@ void AllocateMonSpritesGfx(void)
|
||||
|
||||
for (j = 0; j < 4; ++j)
|
||||
{
|
||||
gMonSpritesGfxPtr->field_74[i][j].data = gMonSpritesGfxPtr->sprites[i] + (j * 0x800);
|
||||
gMonSpritesGfxPtr->field_74[i][j].size = 0x800;
|
||||
gMonSpritesGfxPtr->images[i][j].data = gMonSpritesGfxPtr->sprites[i] + (j * 0x800);
|
||||
gMonSpritesGfxPtr->images[i][j].size = 0x800;
|
||||
}
|
||||
|
||||
gMonSpritesGfxPtr->templates[i].images = gMonSpritesGfxPtr->field_74[i];
|
||||
gMonSpritesGfxPtr->templates[i].images = gMonSpritesGfxPtr->images[i];
|
||||
}
|
||||
gMonSpritesGfxPtr->barFontGfx = AllocZeroed(0x1000);
|
||||
}
|
||||
@@ -1030,8 +1030,8 @@ void FreeMonSpritesGfx(void)
|
||||
{
|
||||
if (gMonSpritesGfxPtr == NULL)
|
||||
return;
|
||||
if (gMonSpritesGfxPtr->field_17C != NULL)
|
||||
FREE_AND_SET_NULL(gMonSpritesGfxPtr->field_17C);
|
||||
if (gMonSpritesGfxPtr->multiUseBuffer != NULL)
|
||||
FREE_AND_SET_NULL(gMonSpritesGfxPtr->multiUseBuffer);
|
||||
if (gMonSpritesGfxPtr->field_178 != NULL)
|
||||
FREE_AND_SET_NULL(gMonSpritesGfxPtr->field_178);
|
||||
FREE_AND_SET_NULL(gMonSpritesGfxPtr->barFontGfx);
|
||||
|
||||
Reference in New Issue
Block a user