ref: e5fa3f9a11fb6936709cd0c36e945bd6e018cb37
parent: a98ed77c836b348088772dc4ec138ff53a6598d5
author: xCrystal <rgr.crystal@gmail.com>
date: Mon Jan 1 16:05:00 EST 2018
Fix missing palred/palgreen/palblue constants
--- a/constants/credits_constants.asm
+++ b/constants/credits_constants.asm
@@ -1,4 +1,4 @@
-; CreditsStrings indexes (see data/credits_text.asm)
+; CreditsStrings indexes (see data/credits_strings.asm)
const_def
const SATOSHI_TAJIRI
const JUNICHI_MASUDA
--- a/mobile/mobile_42.asm
+++ b/mobile/mobile_42.asm
@@ -1484,7 +1484,7 @@
push af
ld a, $5
ld [rSVBK], a
- ld de, (31 << 10) + (31 << 5) + 31 ; $7fff
+ ld de, palred 31 + palgreen 31 + palblue 31
ld hl, wBGPals1
ld a, e
ld [hli], a
@@ -1500,7 +1500,7 @@
push af
ld a, $5
ld [rSVBK], a
- ld de, (15 << 10) + (31 << 5) + 18 ; $3ff2
+ ld de, palred 18 + palgreen 31 + palblue 15
ld hl, wBGPals2 + 4 palettes
ld c, $10
.loop
@@ -1525,11 +1525,11 @@
ld a, c
and $2
jr z, .Orange
- ld de, (31 << 10) + (31 << 5) + 31 ; $7fff
+ ld de, palred 31 + palgreen 31 + palblue 31
jr .load_pal
.Orange:
- ld de, ( 1 << 10) + (15 << 5) + 31 ; $05ff
+ ld de, palred 31 + palgreen 15 + palblue 1
.load_pal
ld a, e
ld [hli], a