summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-02-10 18:21:38 -0800
committeryenatch <yenatch@gmail.com>2015-02-10 18:21:38 -0800
commit956b990cd23bb821d665d56775e946ea07091690 (patch)
tree7c15520a68327b7382bbf20b2a1c93be2865593d /engine
parentc0c081d60fa2e23fdfbd938994506ca63fd44780 (diff)
Fix a bunch of palette copying errors and wram bank conflicts.
There are probably a bunch more labels with wrong banks. This takes care of the most noticeable ones.
Diffstat (limited to 'engine')
-rw-r--r--engine/color.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/color.asm b/engine/color.asm
index 4e56b7001..694f9b7bf 100644
--- a/engine/color.asm
+++ b/engine/color.asm
@@ -406,10 +406,10 @@ Function8c8a: ; 8c8a
ld [rSVBK], a
ld a, [hli]
ld [Unkn1Pals], a
- ld [wd010], a
+ ld [Unkn1Pals + 8 * 2], a
ld a, [hl]
- ld [wd001], a
- ld [wd011], a
+ ld [Unkn1Pals + 1], a
+ ld [Unkn1Pals + 8 * 2 + 1], a
pop af
ld [rSVBK], a
call Function96a4
@@ -835,7 +835,7 @@ Function977a: ; 977a
dec c
jr nz, .asm_9787
ld hl, Palettes_979c
- ld de, wd050
+ ld de, Unkn2Pals + 8 * 2
ld bc, $0010
ld a, $5
call FarCopyWRAM
@@ -2031,7 +2031,7 @@ Functionb1de: ; b1de
inc hl
.asm_b26d
- ld de, wd032
+ ld de, Unkn1Pals + 8 * 6 + 2
ld bc, $0004
ld a, $5
call FarCopyWRAM