Use BANK for hardcoded WRAM banks preceding FarCopyWRAM/GetFarWRAMByte calls.

This commit is contained in:
Adelaide Walter
2018-01-04 14:53:50 -05:00
parent 5fd3bfa832
commit fb422e8d9c
6 changed files with 16 additions and 16 deletions

View File

@@ -90,7 +90,7 @@ LoadGenderScreenPal: ; 48e47 (12:4e47)
ld hl, .Palette
ld de, wBGPals1
ld bc, 1 palettes
ld a, $5
ld a, BANK(wBGPals1)
call FarCopyWRAM
farcall ApplyPals
ret