Strong port flaut fixed! Again :)

And better wind speed display.
This commit is contained in:
Pecusx
2024-03-14 19:47:23 +01:00
parent 630c5eaa1a
commit 0e699ce41a
7 changed files with 14 additions and 17 deletions
+4 -4
View File
@@ -745,11 +745,11 @@ NotNegativeShieldEnergy
mva #$00 Wind+1
sta Wind+2
sta Wind+3
lda random
cmp MaxWind
bcs GetRandomWind ; if more than MaxWind then randomize again
@ lda random
sta Wind
beq noWind
beq noWind ; if 0 then nothing to do
cmp MaxWind
bcs @- ; if more than MaxWind then randomize again
; multiply Wind by 16
; two bytes of Wind are treated as a decimal part of vx variable
:4 aslw Wind