mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Tank No fix and optimizations
This commit is contained in:
+13
-3
@@ -1590,14 +1590,24 @@ nextPointChecking
|
|||||||
lda (modify),y
|
lda (modify),y
|
||||||
tax
|
tax
|
||||||
NotHigher
|
NotHigher
|
||||||
inw modify
|
; inw modify
|
||||||
cpw modify #(mountaintable+screenwidth)
|
; cpw modify #(mountaintable+screenwidth)
|
||||||
|
; --
|
||||||
|
; better code (with Y reg)
|
||||||
|
iny
|
||||||
|
bne @+
|
||||||
|
inc modify+1
|
||||||
|
@
|
||||||
|
lda modify+1
|
||||||
|
cmp #>(mountaintable+screenwidth)
|
||||||
|
bne @+
|
||||||
|
cpy #<screenwidth
|
||||||
|
@
|
||||||
bne nextPointChecking
|
bne nextPointChecking
|
||||||
txa
|
txa
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
|
||||||
|
|
||||||
; -----------------------------------------
|
; -----------------------------------------
|
||||||
.proc unPlot
|
.proc unPlot
|
||||||
; plots a point and saves the plotted byte, reverts the previous plot.
|
; plots a point and saves the plotted byte, reverts the previous plot.
|
||||||
|
|||||||
BIN
Binary file not shown.
+1
-1
@@ -1059,7 +1059,7 @@ NoArrowDown
|
|||||||
sta difficultyLevel
|
sta difficultyLevel
|
||||||
inx
|
inx
|
||||||
stx decimal
|
stx decimal
|
||||||
mwa #(NameScreen+41) displayposition
|
mwa #(NameScreen2+9) displayposition
|
||||||
jsr displaybyte
|
jsr displaybyte
|
||||||
jsr HighlightLevel ; setting choosen level of the opponent (Moron, etc)
|
jsr HighlightLevel ; setting choosen level of the opponent (Moron, etc)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user