Use constants for rBGPI+rOBPI auto-increment

Fix some documentation
This commit is contained in:
Remy Oukaour
2018-01-01 13:43:02 -05:00
parent 8c3905c4cd
commit 2d0ed1159e
8 changed files with 55 additions and 55 deletions

View File

@@ -30,7 +30,7 @@ ForceUpdateCGBPals:: ; c37
ld hl, BGPals
; copy 8 pals to bgpd
ld a, %10000000 ; auto increment, index 0
ld a, 1 << rBGPI_AUTO_INCREMENT
ld [rBGPI], a
ld c, LOW(rBGPD)
ld b, 8 / 2
@@ -46,7 +46,7 @@ endr
; hl is now OBPals
; copy 8 pals to obpd
ld a, %10000000 ; auto increment, index 0
ld a, 1 << rOBPI_AUTO_INCREMENT
ld [rOBPI], a
ld c, LOW(rOBPD)
ld b, 8 / 2