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/thought.c | |
parent | 32c7ec313deaccb4e3dcef5f9da7d9062d09fc27 (diff) | |
parent | 5f202c744b92dcde829c1d24ad323d824c769fec (diff) |
Merge branch 'master' into createsprite
Diffstat (limited to 'src/battle/anim/thought.c')
-rw-r--r-- | src/battle/anim/thought.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/battle/anim/thought.c b/src/battle/anim/thought.c index fcaf6a9a8..ee387040f 100644 --- a/src/battle/anim/thought.c +++ b/src/battle/anim/thought.c @@ -5,8 +5,8 @@ #include "sound.h" extern s16 gBattleAnimArgs[]; -extern u8 gAnimBankAttacker; -extern u8 gAnimBankTarget; +extern u8 gBattleAnimAttacker; +extern u8 gBattleAnimTarget; void sub_80CEF9C(struct Sprite* sprite); static void sub_80CF008(struct Sprite* sprite); @@ -84,9 +84,9 @@ void sub_80CEF9C(struct Sprite* sprite) u8 a; u8 bank; if (gBattleAnimArgs[0] == 0) - bank = gAnimBankAttacker; + bank = gBattleAnimAttacker; else - bank = gAnimBankTarget; + bank = gBattleAnimTarget; sub_80CEF44(bank, sprite); a = (GetBattlerSide(bank) == 0) ? 0 : 1; |