summaryrefslogtreecommitdiff
path: root/home/palettes.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/palettes.asm')
-rw-r--r--home/palettes.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/home/palettes.asm b/home/palettes.asm
index 08dcdc85..af66e74b 100644
--- a/home/palettes.asm
+++ b/home/palettes.asm
@@ -1,3 +1,6 @@
+InitMapSprites::
+ jpfar _InitMapSprites
+
RestoreScreenTilesAndReloadTilePatterns::
call ClearSprites
ld a, $1
@@ -23,6 +26,9 @@ GBPalNormal::
ldh [rBGP], a
ld a, %11010000 ; 3100
ldh [rOBP0], a
+ call UpdateGBCPal_BGP
+ call UpdateGBCPal_OBP0
+ call UpdateGBCPal_OBP1
ret
GBPalWhiteOut::
@@ -31,6 +37,9 @@ GBPalWhiteOut::
ldh [rBGP], a
ldh [rOBP0], a
ldh [rOBP1], a
+ call UpdateGBCPal_BGP
+ call UpdateGBCPal_OBP0
+ call UpdateGBCPal_OBP1
ret
RunDefaultPaletteCommand::