summaryrefslogtreecommitdiff
path: root/src/battle/anim/thrashing.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-04 22:21:39 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-04 22:21:39 -0500
commit5b5fedfc78a9f2751d001a92c65be86e3ffefcc1 (patch)
treee1357a59a3d98cf1e976f948f98d799f87a00bf3 /src/battle/anim/thrashing.c
parentab06b56532026db85a9cba1c21c8b2235fcdf222 (diff)
parentf0e98a9204bf19981c0c9652bc9ed82ae95438e4 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into assert
Diffstat (limited to 'src/battle/anim/thrashing.c')
-rwxr-xr-xsrc/battle/anim/thrashing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle/anim/thrashing.c b/src/battle/anim/thrashing.c
index 9811c546a..3fde815ae 100755
--- a/src/battle/anim/thrashing.c
+++ b/src/battle/anim/thrashing.c
@@ -5,8 +5,8 @@
#include "sound.h"
extern s16 gBattleAnimArgs[];
-extern u8 gBattleAnimBankAttacker;
-extern u8 gBattleAnimBankTarget;
+extern u8 gAnimBankAttacker;
+extern u8 gAnimBankTarget;
extern struct AffineAnimFrameCmd gUnknown_083D77B0;
@@ -48,7 +48,7 @@ void sub_80D0AB8(u8 taskId)
task->data[7] = 0;
task->data[8] = 0;
task->data[9] = 2;
- if (GetBankSide(gBattleAnimBankAttacker) == 1)
+ if (GetBankSide(gAnimBankAttacker) == 1)
task->data[2] *= -1;
task->func = sub_80D0B3C;