Use gBattlerPositions constants

This commit is contained in:
GriffinR
2019-09-04 17:45:04 -04:00
committed by GitHub
parent 4a0cad80b0
commit c647a8329f
6 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -1181,7 +1181,7 @@ void sub_8109DBC(u8 taskId)
{
struct Task *task = &gTasks[taskId];
task->data[12] = !GetBattlerSide(gBattleAnimAttacker) ? B_SIDE_OPPONENT : -1;
task->data[12] = !GetBattlerSide(gBattleAnimAttacker) ? 1 : -1;
task->data[13] = IsBattlerSpriteVisible(gBattleAnimTarget ^ 2) + 1;
task->data[14] = GetAnimBattlerSpriteId(1);
task->data[15] = GetAnimBattlerSpriteId(3);