summaryrefslogtreecommitdiff
path: root/include/digit_obj_util.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-03-03 12:24:18 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2020-03-03 12:24:18 -0500
commit8a7c2ded11a2adf4f09ddca814eb06fdbca13fd1 (patch)
treeb52341e283d9e1c5abb35a5cdf4e33471d8ce777 /include/digit_obj_util.h
parent8594e7f72d070ce10fcc41a8c2dfe32420e7c560 (diff)
Port berry_crush_3 from Emerald
Diffstat (limited to 'include/digit_obj_util.h')
-rw-r--r--include/digit_obj_util.h8
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[];