summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/palettes.asm7
1 files changed, 5 insertions, 2 deletions
diff --git a/home/palettes.asm b/home/palettes.asm
index 99bf7c3c3..666aff6b7 100644
--- a/home/palettes.asm
+++ b/home/palettes.asm
@@ -289,16 +289,19 @@ CopyPals:: ; d50
; d79
-Functiond79:: ; d79
+ClearVBank1:: ; d79
ld a, [hCGB]
and a
ret z
+
ld a, 1
ld [rVBK], a
+
ld hl, VTiles0
- ld bc, $2000
+ ld bc, VRAM_End - VTiles0
xor a
call ByteFill
+
ld a, 0
ld [rVBK], a
ret