diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-11 10:35:53 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-10-11 10:35:53 -0400 |
commit | b8a44bf10a5bfbe35381b744d86f535a14c0969a (patch) | |
tree | 65b18318703604b391b871d1b0d8eac686027686 /src/pokemon.c | |
parent | d8e65fc4b669fb0115615299b1255723e9f8397d (diff) |
Calculate pokemon substruct size, missing MON_PIC_SIZE
Diffstat (limited to 'src/pokemon.c')
-rw-r--r-- | src/pokemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c index 06a7a01f1..011e288db 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -6876,7 +6876,7 @@ static bool8 ShouldSkipFriendshipChange(void) #define ALLOC_FAIL_BUFFER (1 << 0) #define ALLOC_FAIL_STRUCT (1 << 1) #define GFX_MANAGER_ACTIVE 0xA3 // Arbitrary value -#define GFX_MANAGER_SPR_SIZE (MON_PIC_SIZE * 4) // * 4 is unnecessary, MON_PIC_SIZE is sufficient +#define GFX_MANAGER_SPR_SIZE (MON_PIC_SIZE * 4) // Only Castform uses more than MON_PIC_SIZE, despite not displaying its forms. #define GFX_MANAGER_NUM_FRAMES 4 // Only 2 frames are needed static void InitMonSpritesGfx_Battle(struct MonSpritesGfxManager* gfx) |