mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Minor optimization
This commit is contained in:
+4
-5
@@ -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
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user