Shooter fix

This commit is contained in:
2022-07-03 14:01:51 -04:00
parent 3fb83583c3
commit 97c01d2c61
2 changed files with 14 additions and 4 deletions
+13 -3
View File
@@ -80,11 +80,21 @@ AIRoutines
beq firstShoot
lda PreviousAngle,x
cmp #90
bcs shootingLeftAtThisMomentOfTime
; shooting right at this moment of time
sec
sbc #5
cmp #10
bcs @+ ;not smaller than 10
bcc firstShoot ; GET THE aim againg
shootingLeftAtThisMomentOfTime
clc
adc #5
cmp #180
bcc @+
lda #0
cmp #170 ; maximum shooter angle
bcs firstShoot
@
sta NewAngle
BIN
View File
Binary file not shown.