Fix label, optimize code

This commit is contained in:
jede
2019-07-10 21:44:07 +02:00
committed by greg-king5
parent a0a6537bda
commit 6f7f6b5119
5 changed files with 15 additions and 17 deletions

View File

@@ -9,11 +9,11 @@
.proc _textcolor
cmp CHARCOLOR ; Do we set the same color? If we don't detect it, we loose one char on the screen for each textcolor call with the same color
bne out ; yes
ldy #$00
sty CHARCOLOR_CHANGE
lda CHARCOLOR ; Return last color
; Return last color
rts
out: