diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-03-03 12:24:18 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-03-03 12:24:18 -0500 |
commit | 8a7c2ded11a2adf4f09ddca814eb06fdbca13fd1 (patch) | |
tree | b52341e283d9e1c5abb35a5cdf4e33471d8ce777 /include/digit_obj_util.h | |
parent | 8594e7f72d070ce10fcc41a8c2dfe32420e7c560 (diff) |
Port berry_crush_3 from Emerald
Diffstat (limited to 'include/digit_obj_util.h')
-rw-r--r-- | include/digit_obj_util.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/digit_obj_util.h b/include/digit_obj_util.h index 11d51f1fc..1db775d26 100644 --- a/include/digit_obj_util.h +++ b/include/digit_obj_util.h @@ -11,8 +11,12 @@ struct DigitObjUtilTemplate u8 xDelta; s16 x; s16 y; - const struct SpriteSheet *spriteSheet; - const struct SpritePalette *spritePal; + union + { + const struct SpriteSheet * uncompressed; + const struct CompressedSpriteSheet * compressed; + } spriteSheet; + const struct SpritePalette * spritePal; }; extern const u16 gUnknown_8479668[]; |