Small gradient optimization (one variable gone).

This commit is contained in:
Pecusx
2022-12-28 14:43:41 +01:00
parent a45a892dc7
commit 3b53968fe3
4 changed files with 16 additions and 52 deletions
+1 -7
View File
@@ -114,18 +114,12 @@ OptionsNoRight
OptionsNoReturn
cmp #@kbcode._tab ; Tab key
bne OptionsNoTab
bit Gradient
bmi NextGradientNr
lda Gradient
@ eor #$80
sta Gradient
NextGradientNr
ldy GradientNr
iny
cpy #$03
bne NoGradientLoop
mva #$ff GradientNr
bne @-
ldy #$00
NoGradientLoop
sty GradientNr
lda GradientAddrL,y