fixed pallet inversion

This commit is contained in:
Samuel Walker 2025-03-21 06:34:48 -06:00
parent 05cb38bd84
commit f668e96974
Signed by: piwalker
GPG Key ID: 616B1928705EA4C9

7
main.s
View File

@ -28,7 +28,7 @@ skip:
rts rts
reset: reset:
ldx #15 ldx #0
lda #$3F lda #$3F
sta $2006 sta $2006
lda #$00 lda #$00
@ -36,8 +36,9 @@ reset:
loop: loop:
lda bg_pallets, x lda bg_pallets, x
sta $2007 sta $2007
dex inx
bpl loop cpx #16
bne loop
lda #173 lda #173
sta $00 sta $00
lda #0 lda #0