diff options
author | garak <garakmon@gmail.com> | 2018-12-17 23:34:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-17 23:34:16 -0500 |
commit | 2fb6c5bb7f81c285d973d602dbbe4bbf8fc8aba1 (patch) | |
tree | 003c2daccebd740c288e537216afed0265bfbc59 /src/battle/anim/thrashing.c | |
parent | 32c7ec313deaccb4e3dcef5f9da7d9062d09fc27 (diff) | |
parent | 5f202c744b92dcde829c1d24ad323d824c769fec (diff) |
Merge branch 'master' into createsprite
Diffstat (limited to 'src/battle/anim/thrashing.c')
-rw-r--r-- | src/battle/anim/thrashing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle/anim/thrashing.c b/src/battle/anim/thrashing.c index 38dccb83f..2f00b1acc 100644 --- a/src/battle/anim/thrashing.c +++ b/src/battle/anim/thrashing.c @@ -5,8 +5,8 @@ #include "sound.h" extern s16 gBattleAnimArgs[]; -extern u8 gAnimBankAttacker; -extern u8 gAnimBankTarget; +extern u8 gBattleAnimAttacker; +extern u8 gBattleAnimTarget; static void sub_80D0A8C(u8 taskId); static void sub_80D0B3C(u8 taskId); @@ -56,7 +56,7 @@ void sub_80D0AB8(u8 taskId) task->data[7] = 0; task->data[8] = 0; task->data[9] = 2; - if (GetBattlerSide(gAnimBankAttacker) == 1) + if (GetBattlerSide(gBattleAnimAttacker) == 1) task->data[2] *= -1; task->func = sub_80D0B3C; |