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

@@ -2348,7 +2348,7 @@ Pokedex_BlackOutBG: ; 41401 (10:5401)
; Make BG palettes black so that the BG becomes all black.
ld a, [rSVBK]
push af
ld a, $5
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, wBGPals1
ld bc, 8 palettes