summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-01 13:43:02 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-01 13:43:02 -0500
commit2d0ed1159e187d7dcdefd982fc6babea9f303f1e (patch)
treef896beb76c6e31b51692a329bb7eb69296ea15d7 /home
parent8c3905c4cdb4f24810473da51d52cc3e16062173 (diff)
Use constants for rBGPI+rOBPI auto-increment
Fix some documentation
Diffstat (limited to 'home')
-rw-r--r--home/palettes.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/palettes.asm b/home/palettes.asm
index bf414eee7..c519fe4e4 100644
--- a/home/palettes.asm
+++ b/home/palettes.asm
@@ -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