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
|
||||
tax
|
||||
NotHigher
|
||||
inw modify
|
||||
cpw modify #(mountaintable+screenwidth)
|
||||
; inw modify
|
||||
; 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
|
||||
txa
|
||||
rts
|
||||
.endp
|
||||
|
||||
|
||||
; -----------------------------------------
|
||||
.proc unPlot
|
||||
; 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
|
||||
inx
|
||||
stx decimal
|
||||
mwa #(NameScreen+41) displayposition
|
||||
mwa #(NameScreen2+9) displayposition
|
||||
jsr displaybyte
|
||||
jsr HighlightLevel ; setting choosen level of the opponent (Moron, etc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user