engine/pokegear.asm

This commit is contained in:
PikalaxALT
2015-11-16 21:07:26 -05:00
parent 435b0cf686
commit ba871547ed
8 changed files with 3122 additions and 3110 deletions

View File

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