You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user