summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/home.asm b/home.asm
index 42feefde4..8cb0d25b3 100644
--- a/home.asm
+++ b/home.asm
@@ -569,7 +569,7 @@ LoadEDTile:: ; 323d
jr .LoadEDTile
; 323f
-.unreferenced_323f ; 323f
+; XXX
callba Function104000
ret
; 3246
@@ -661,18 +661,18 @@ SetPalettes:: ; 32f9
ld a, [hCGB]
and a
jr nz, .SetPalettesForGameBoyColor
- ld a, $e4
+ ld a, %11100100
ld [rBGP], a
- ld a, $d0
+ ld a, %11010000
ld [rOBP0], a
ld [rOBP1], a
ret
.SetPalettesForGameBoyColor
push de
- ld a, $e4
+ ld a, %11100100
call DmgToCgbBGPals
- ld de, $e4e4
+ lb de, %11100100, %11100100
call DmgToCgbObjPals
pop de
ret
@@ -702,7 +702,7 @@ ClearPalettes:: ; 3317
; Fill BGPals and OBPals with $ffff (white)
ld hl, BGPals
- ld bc, $80
+ ld bc, 16 palettes
ld a, $ff
call ByteFill