mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Hovercraft is hovering too high bug - fixed!
This commit is contained in:
+2
-13
@@ -1590,19 +1590,8 @@ 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
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user