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
|
||||
tax
|
||||
NotHigher
|
||||
; 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
|
||||
@
|
||||
inw modify
|
||||
cpw modify #(mountaintable+screenwidth)
|
||||
bne nextPointChecking
|
||||
txa
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user