Battle controller opponent sync labels from emerald

This commit is contained in:
PikalaxALT
2021-03-16 08:24:53 -04:00
parent 14aa5bf52f
commit 10f0222d28
7 changed files with 72 additions and 72 deletions
+5 -5
View File
@@ -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);