AI optimisations

This commit is contained in:
Pecusx
2022-07-31 22:49:34 +02:00
parent 025afbce91
commit 6a0c3a91e9
5 changed files with 19 additions and 14 deletions
+8 -3
View File
@@ -609,11 +609,16 @@ skipThisPlayer
lda OptionsTable+2 ; selected gravity
asl
tay
clc
lda AIForceTable,y
sta ForceTableL,x
sta RandBoundaryLow
adc #60
sta RandBoundaryHigh
lda AIForceTable+1,y
sta ForceTableH,x
jsr RandomizeForce.LimitForce
sta RandBoundaryLow+1
adc #0
sta RandBoundaryHigh+1
jsr RandomizeForce
lda ForceTableL,x
sta Force
lda ForceTableH,x