summaryrefslogtreecommitdiff
path: root/src/battle/anim/ghost.c
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-21 16:44:49 +0800
committernullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-21 16:44:49 +0800
commit80de1483c6d4b2e42fc2d71195cff1c6fddfac5a (patch)
treef739f2861c46e5b325275fb5f23d52452d1d1360 /src/battle/anim/ghost.c
parente8b149e80e7b1411ce7a128e36ebc5d5490133e1 (diff)
Port water.s from pokeemerald
Diffstat (limited to 'src/battle/anim/ghost.c')
-rw-r--r--src/battle/anim/ghost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle/anim/ghost.c b/src/battle/anim/ghost.c
index f67035ac7..6ff44ed15 100644
--- a/src/battle/anim/ghost.c
+++ b/src/battle/anim/ghost.c
@@ -349,7 +349,7 @@ void sub_80DDDF0(u8 taskId)
REG_BLDCNT = 0x3F40;
REG_BLDALPHA = 0x1000;
spriteId = GetAnimBattlerSpriteId(0);
- sub_8078E70(spriteId, 1);
+ PrepareBattlerSpriteForRotScale(spriteId, 1);
obj_id_set_rotscale(spriteId, 128, 128, 0);
gSprites[spriteId].invisible = FALSE;
gTasks[taskId].data[0] = 128;