diff --git a/main.s b/main.s index 680b183..a87163b 100644 --- a/main.s +++ b/main.s @@ -28,7 +28,7 @@ skip: rts reset: - ldx #15 + ldx #0 lda #$3F sta $2006 lda #$00 @@ -36,8 +36,9 @@ reset: loop: lda bg_pallets, x sta $2007 - dex - bpl loop + inx + cpx #16 + bne loop lda #173 sta $00 lda #0