summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-01-01 16:54:45 -0500
committerGitHub <noreply@github.com>2018-01-01 16:54:45 -0500
commitf27f79488a460f0a89670f3611e1e9e175baf5d6 (patch)
tree92134b1da650d7894a2fde59e0048f75d36c7dbf /home.asm
parent8c3905c4cdb4f24810473da51d52cc3e16062173 (diff)
parente5fa3f9a11fb6936709cd0c36e945bd6e018cb37 (diff)
Merge pull request #455 from xCrystal/master
Use more palette(s) constants, rename BG/OBP wram addresses, and rBGPI+rOBPI auto-increment constants (from Rangi)
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home.asm b/home.asm
index 4c59d1d1a..8e4b3b171 100644
--- a/home.asm
+++ b/home.asm
@@ -680,11 +680,11 @@ ClearPalettes:: ; 3317
ld a, [rSVBK]
push af
- ld a, BANK(BGPals)
+ ld a, BANK(wBGPals2)
ld [rSVBK], a
-; Fill BGPals and OBPals with $ffff (white)
- ld hl, BGPals
+; Fill wBGPals2 and wOBPals2 with $ffff (white)
+ ld hl, wBGPals2
ld bc, 16 palettes
ld a, $ff
call ByteFill