summaryrefslogtreecommitdiff
path: root/src/battle_gfx_sfx_util.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-28 10:17:32 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-28 10:17:32 -0400
commitbca00359b763b7df608e0b64b008f06f419da47c (patch)
tree9b153d7cbb0f3183038ad55ef2541242a978fa65 /src/battle_gfx_sfx_util.c
parent1dc19be2c22ef5832742d44376435fc8669d3b02 (diff)
Merge ewram[0] buffers used by battle interface
Diffstat (limited to 'src/battle_gfx_sfx_util.c')
-rw-r--r--src/battle_gfx_sfx_util.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c
index 1d45002ca..cf31e7a08 100644
--- a/src/battle_gfx_sfx_util.c
+++ b/src/battle_gfx_sfx_util.c
@@ -312,7 +312,7 @@ void BattleLoadOpponentMonSprite(struct Pokemon *pkmn, u8 b)
&gMonFrontPicTable[species],
gMonFrontPicCoords[species].coords,
gMonFrontPicCoords[species].y_offset,
- (void *)EWRAM,
+ eBattleInterfaceGfxBuffer,
gMonSpriteGfx_Sprite_ptr[var],
species,
r7);
@@ -364,7 +364,7 @@ void BattleLoadPlayerMonSprite(struct Pokemon *pkmn, u8 b)
&gMonBackPicTable[species],
gMonBackPicCoords[species].coords,
gMonBackPicCoords[species].y_offset,
- (void *)EWRAM,
+ eBattleInterfaceGfxBuffer,
gMonSpriteGfx_Sprite_ptr[var],
species,
r7);
@@ -407,7 +407,7 @@ void sub_8031A6C(u16 a, u8 b)
&gTrainerFrontPicTable[a],
gTrainerFrontPicCoords[a].coords,
gTrainerFrontPicCoords[a].y_offset,
- eVoidSharedArr,
+ eBattleInterfaceGfxBuffer,
gMonSpriteGfx_Sprite_ptr[status],
0);
spriteSheet.data = gMonSpriteGfx_Sprite_ptr[status];
@@ -426,7 +426,7 @@ void LoadPlayerTrainerBankSprite(u16 a, u8 b)
&gTrainerBackPicTable[a],
gTrainerBackPicCoords[a].coords,
gTrainerBackPicCoords[a].y_offset,
- eVoidSharedArr,
+ eBattleInterfaceGfxBuffer,
gMonSpriteGfx_Sprite_ptr[status],
0);
LoadCompressedPalette(gTrainerBackPicPaletteTable[a].data, 0x100 + b * 16, 32);
@@ -523,7 +523,7 @@ bool8 sub_8031C30(u8 a)
void load_gfxc_health_bar(u8 a)
{
- LZDecompressWram(gUnknown_08D09C48, eVoidSharedArr);
+ LZDecompressWram(gUnknown_08D09C48, eBattleInterfaceGfxBuffer);
}
u8 battle_load_something(u8 *pState, u8 *b)
@@ -661,7 +661,7 @@ void sub_8031FC4(u8 a, u8 b, bool8 c)
&gMonBackPicTable[species],
gMonBackPicCoords[species].coords,
gMonBackPicCoords[species].y_offset,
- (void *)EWRAM,
+ eBattleInterfaceGfxBuffer,
gMonSpriteGfx_Sprite_ptr[0],
species,
gContestResources__moveAnim.unk10);
@@ -681,7 +681,7 @@ void sub_8031FC4(u8 a, u8 b, bool8 c)
&gMonBackPicTable[species],
gMonBackPicCoords[species].coords,
gMonBackPicCoords[species].y_offset,
- (void *)EWRAM,
+ eBattleInterfaceGfxBuffer,
gMonSpriteGfx_Sprite_ptr[r10],
species,
gTransformedPersonalities[a]);
@@ -694,7 +694,7 @@ void sub_8031FC4(u8 a, u8 b, bool8 c)
&gMonFrontPicTable[species],
gMonFrontPicCoords[species].coords,
gMonFrontPicCoords[species].y_offset,
- (void *)EWRAM,
+ eBattleInterfaceGfxBuffer,
gMonSpriteGfx_Sprite_ptr[r10],
species,
gTransformedPersonalities[a]);