summaryrefslogtreecommitdiff
path: root/src/dark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dark.c')
-rw-r--r--src/dark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dark.c b/src/dark.c
index 142366fea..e8b0b7e62 100644
--- a/src/dark.c
+++ b/src/dark.c
@@ -799,7 +799,7 @@ void AnimTask_MetallicShine(u8 taskId)
else
species = GetMonData(&gPlayerParty[gBattlerPartyIndexes[gBattleAnimAttacker]], MON_DATA_SPECIES);
spriteId = GetAnimBattlerSpriteId(ANIM_ATTACKER);
- newSpriteId = sub_8076E34(gBattleAnimAttacker, spriteId, species);
+ newSpriteId = CreateCloneOfSpriteInWindowMode(gBattleAnimAttacker, spriteId, species);
GetBattleAnimBg1Data(&animBg);
AnimLoadCompressedBgTilemap(animBg.bgId, gMetalShineTilemap);
AnimLoadCompressedBgGfx(animBg.bgId, gMetalShineGfx, animBg.tilesOffset);