summaryrefslogtreecommitdiff
path: root/src/battle/anim/withdraw.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-12-30 23:50:49 -0600
committerGitHub <noreply@github.com>2017-12-30 23:50:49 -0600
commit153ddde3b90c893b47d5c844b2a58c707038e6b4 (patch)
tree8e3e5ab774b89399bf91e9ca110f270fa9bfffde /src/battle/anim/withdraw.c
parent86a36767dba19e84297047addf1d1d776e2efdec (diff)
parentc21bde059812ed521952512e4d800038e0e1deb7 (diff)
Merge pull request #502 from huderlem/misc_ports
Misc ports from pokeemerald
Diffstat (limited to 'src/battle/anim/withdraw.c')
-rwxr-xr-xsrc/battle/anim/withdraw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/battle/anim/withdraw.c b/src/battle/anim/withdraw.c
index 9abcff32d..e67248b9f 100755
--- a/src/battle/anim/withdraw.c
+++ b/src/battle/anim/withdraw.c
@@ -5,8 +5,8 @@
#include "sound.h"
extern s16 gBattleAnimArgs[];
-extern u8 gBattleAnimBankAttacker;
-extern u8 gBattleAnimBankTarget;
+extern u8 gAnimBankAttacker;
+extern u8 gAnimBankTarget;
extern u8 gObjectBankIDs[];
@@ -17,15 +17,15 @@ static void sub_80CF514(u8 taskId);
void sub_80CF4D8(u8 taskId)
{
- sub_8078E70(gObjectBankIDs[gBattleAnimBankAttacker], 0);
+ sub_8078E70(gObjectBankIDs[gAnimBankAttacker], 0);
gTasks[taskId].func = sub_80CF514;
}
void sub_80CF514(u8 taskId)
{
- u8 a = gObjectBankIDs[gBattleAnimBankAttacker];
+ u8 a = gObjectBankIDs[gAnimBankAttacker];
s16 b;
- if (GetBankSide(gBattleAnimBankAttacker) == 0)
+ if (GetBankSide(gAnimBankAttacker) == 0)
{
b = -gTasks[taskId].data[0];
}