Use BANK for hardcoded WRAM banks (except where bankswitches appear unnecessary).

This commit is contained in:
Adelaide Walter
2018-01-03 19:12:45 -05:00
parent 501ec9b283
commit 9d0ba6bfd3
33 changed files with 102 additions and 99 deletions

View File

@@ -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