Minor optimization

This commit is contained in:
Pecusx
2023-01-25 14:10:50 +01:00
parent 6b2eabd1ca
commit 793d494fc5
3 changed files with 4 additions and 5 deletions
+4 -5
View File
@@ -551,16 +551,15 @@ NotHigherByte02
sec
lda xtankstableL,x
sbc #$0f
; and clear lowest bit to be sure that the X coordinate is even
; (this is to have P/M background look nice)
; "AND" does not change "Carry" bit.
and #$fe
sta xtankstableL,x
bcs NotHigherByte01
dec xtankstableH,x
NotHigherByte01
; and clear lowest bit to be sure that the X coordinate is even
; (this is to have P/M background look nice)
lda xtankstableL,x
and #$fe
sta xtankstableL,x
inx
Cpx NumberOfPlayers
bne StillRandomize02