summaryrefslogtreecommitdiff
path: root/include/battle.h
diff options
context:
space:
mode:
authorKaz <kazbloxmc@gmail.com>2020-09-19 13:37:24 -0400
committerKaz <kazbloxmc@gmail.com>2020-09-19 17:12:25 -0400
commit847878eae9a9f0ac4a722c27c1cdf1a2d3ff1d67 (patch)
tree544803257b109fc13e78e7549f6cb95e25ed388e /include/battle.h
parent1404cf3330b49e217c317602194e52d9c49bb12b (diff)
battle_gfx_sfx_util.c: Very annoying fakematch fix.
daycare.c: -g eliminates the need for the brace hack. battle_transition.c: Fix Phase2_Ripple_Func2...?
Diffstat (limited to 'include/battle.h')
-rw-r--r--include/battle.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/battle.h b/include/battle.h
index 5a04c1eec..0f7a262ce 100644
--- a/include/battle.h
+++ b/include/battle.h
@@ -584,7 +584,11 @@ struct BattleSpriteData
struct MonSpritesGfx
{
void* firstDecompressed; // ptr to the decompressed sprite of the first pokemon
- void* sprites[4];
+ union
+ {
+ void* ptr[4];
+ u8* byte[4];
+ } sprites;
struct SpriteTemplate templates[4];
struct SpriteFrameImage field_74[4][4];
u8 field_F4[0x80];