Small LiquidDirt optimisation/bugfix ?

This commit is contained in:
Pecusx
2022-05-07 18:40:16 +02:00
parent dde29e2c96
commit 326e6c9a33
2 changed files with 1 additions and 11 deletions
BIN
View File
Binary file not shown.
+1 -11
View File
@@ -882,8 +882,6 @@ UpNotYet2
sta HeightRol
sbc #1
sta ydraw
jsr unPlot
; let's go the right direction
lda HowMuchToFall
cmp #1
beq HowMuchToFallRight3
@@ -898,15 +896,7 @@ HowMuchToFallRight3
cpw xdraw screenwidth
jne RollinContinuesLiquid
FillNow
mwa xdraw xcircle ; we must store somewhere (BAD)
mva ydraw ycircle ; xdraw and ydraw (BAD)
mwa #0 xdraw
mva #screenheight-1 ydraw
jsr unPlot
mwa xcircle xdraw ;(bad)
mva ycircle ydraw ;(bad)
; finally one pixel more
; finally one pixel more
ldy #0
lda HowMuchToFall
bmi FillHole