Various cleanup

This commit is contained in:
Remy Oukaour
2017-12-26 20:33:41 -05:00
parent 8259136911
commit b3f0e11567
13 changed files with 36 additions and 38 deletions

View File

@@ -246,7 +246,7 @@ CopyPals:: ; d50
; copy c palettes in order b from de to hl
push bc
ld c, 4 ; NUM_PAL_COLORS
ld c, NUM_PAL_COLORS
.loop
push de
push hl
@@ -280,7 +280,7 @@ CopyPals:: ; d50
jr nz, .loop
; de += 8 (next pal)
ld a, 1 palettes ; NUM_PAL_COLORS * 2 ; bytes per pal
ld a, NUM_PAL_COLORS * 2
add e
jr nc, .ok
inc d