summaryrefslogtreecommitdiff
path: root/engine/battle_anims/functions.asm
diff options
context:
space:
mode:
authorAdelaide Walter <adelaidekwalter@gmail.com>2018-01-03 19:12:45 -0500
committerAdelaide Walter <adelaidekwalter@gmail.com>2018-01-03 19:12:45 -0500
commit9d0ba6bfd3b2f10fae9969a784aa7b2b573e8411 (patch)
treea902a39f67c16fb0468580af87d0ec0236c47406 /engine/battle_anims/functions.asm
parent501ec9b283927a54023c85e8098cc56a32623817 (diff)
Use BANK for hardcoded WRAM banks (except where bankswitches appear unnecessary).
Diffstat (limited to 'engine/battle_anims/functions.asm')
-rwxr-xr-xengine/battle_anims/functions.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle_anims/functions.asm b/engine/battle_anims/functions.asm
index ea9fb70b3..1a66ed51d 100755
--- a/engine/battle_anims/functions.asm
+++ b/engine/battle_anims/functions.asm
@@ -428,9 +428,9 @@ GetBallAnimPal: ; cd249 (33:5249)
ld hl, BallColors
ld a, [rSVBK]
push af
- ld a, $1
+ ld a, BANK(CurItem)
ld [rSVBK], a
- ld a, [CurItem] ; CurItem
+ ld a, [CurItem]
ld e, a
pop af
ld [rSVBK], a