diff options
Diffstat (limited to 'src/ghost.c')
-rw-r--r-- | src/ghost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghost.c b/src/ghost.c index 0464d1491..3135004da 100644 --- a/src/ghost.c +++ b/src/ghost.c @@ -1171,7 +1171,7 @@ void sub_8112C6C(u8 taskId) task->data[11] = (sub_80A861C(gBattleAnimAttacker, 1) / 2) + 8; task->data[7] = 0; task->data[5] = sub_80A8328(gBattleAnimAttacker); - task->data[6] = sub_80A82E4(gBattleAnimAttacker) - 2; + task->data[6] = GetBattlerSubpriority(gBattleAnimAttacker) - 2; task->data[3] = 0; task->data[4] = 16; SetGpuReg(REG_OFFSET_BLDCNT, (BLDCNT_EFFECT_BLEND | BLDCNT_TGT2_ALL)); |