Add NUM_MON_PIC_FRAMES, and trainer pic size constants
This commit is contained in:
@@ -905,7 +905,7 @@ void AnimTask_GetBattleTerrain(u8 taskId)
|
||||
|
||||
void AnimTask_AllocBackupPalBuffer(u8 taskId)
|
||||
{
|
||||
gMonSpritesGfxPtr->buffer = AllocZeroed(0x2000);
|
||||
gMonSpritesGfxPtr->buffer = AllocZeroed(MON_PIC_SIZE * MAX_MON_PIC_FRAMES);
|
||||
DestroyAnimVisualTask(taskId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user