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.
This commit is contained in:
yenatch
2015-02-10 18:21:38 -08:00
parent c0c081d60f
commit 956b990cd2
6 changed files with 80 additions and 80 deletions

View File

@@ -1428,13 +1428,13 @@ Functioncc91a: ; cc91a
ld a, $5
ld [rSVBK], a
ld hl, BGPals
ld de, wd000
ld de, Unkn1Pals
ld a, [rBGP]
ld b, a
ld c, $7
call CopyPals
ld hl, OBPals
ld de, MartPointer
ld de, Unkn2Pals
ld a, [rBGP]
ld b, a
ld c, $2

View File

@@ -8449,7 +8449,7 @@ Function3f568: ; 3f568
push af
ld a, $6
ld [rSVBK], a
ld hl, wd000
ld hl, w6_d000
ld bc, $400
ld a, $2
call ByteFill
@@ -8457,7 +8457,7 @@ Function3f568: ; 3f568
push af
ld a, $1
ld [rVBK], a
ld de, wd000
ld de, w6_d000
ld hl, VBGMap0
ld bc, $0f40
call Request2bpp
@@ -9329,11 +9329,11 @@ Function3fbd6: ; 3fbd6
push af
ld a, $6
ld [rSVBK], a
ld hl, wd000
ld hl, w6_d000
ld bc, $400
ld a, $7f
call ByteFill
ld de, wd000
ld de, w6_d000
ld hl, VBGMap0
lb bc, BANK(Function3fbd6), $40
call Request2bpp