Add x=0 to textcolor
This commit is contained in:
@@ -39,6 +39,7 @@ txtcolor:
|
|||||||
@L1: lda #42
|
@L1: lda #42
|
||||||
@L2: ldy txtcolor
|
@L2: ldy txtcolor
|
||||||
sta txtcolor ; Store new textcolor
|
sta txtcolor ; Store new textcolor
|
||||||
|
ldx #0
|
||||||
tya
|
tya
|
||||||
bne @L3
|
bne @L3
|
||||||
rts ; Old colour was 0
|
rts ; Old colour was 0
|
||||||
|
|||||||
Reference in New Issue
Block a user