summaryrefslogtreecommitdiff
path: root/src/decompress.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-03-29 09:38:19 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-03-29 09:38:19 -0400
commit62968895ca220cf5b6f7c066e9061cf45fe7913e (patch)
tree43b983e09edbe4478f3c11399e4ec2f4d7338e37 /src/decompress.c
parent357c5439f5170ec1ebb1fe52c00d8d934b65c6bc (diff)
Add MON_PIC_SIZE constant
Diffstat (limited to 'src/decompress.c')
-rw-r--r--src/decompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decompress.c b/src/decompress.c
index 335699449..a65f38c2d 100644
--- a/src/decompress.c
+++ b/src/decompress.c
@@ -390,5 +390,5 @@ void LoadSpecialPokePic_DontHandleDeoxys(const struct CompressedSpriteSheet *src
static void DuplicateDeoxysTiles(void *pointer, s32 species)
{
if (species == SPECIES_DEOXYS)
- CpuCopy32(pointer + 0x800, pointer, 0x800);
+ CpuCopy32(pointer + MON_PIC_SIZE, pointer, MON_PIC_SIZE);
}