mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Fix missing palred/palgreen/palblue constants
This commit is contained in:
parent
a98ed77c83
commit
e5fa3f9a11
@ -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
|
||||
|
@ -1484,7 +1484,7 @@ Function108b45: ; 108b45
|
||||
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 @@ Function108b5a: ; 108b5a
|
||||
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 @@ Function108b78: ; 108b78
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user