Cyborg aiming fix

This commit is contained in:
Pecusx
2022-08-01 23:12:48 +02:00
parent 9eb0f8adff
commit 84da6fb7a0
2 changed files with 3 additions and 2 deletions
+3 -2
View File
@@ -441,8 +441,9 @@ HighForce
; direcion of shoot in A (0 - left, >0 - right) ; direcion of shoot in A (0 - left, >0 - right)
;---------------------------------------------- ;----------------------------------------------
jsr MakeLowResDistances jsr MakeLowResDistances
lda #$ff lda #101
sta temp2 ; max possible energy sta temp2 ; max possible energy
lda #0
sta tempor2 ; direction of shoot sta tempor2 ; direction of shoot
;ldx TankNr ;ldx TankNr
ldy NumberOfPlayers ldy NumberOfPlayers
@@ -635,7 +636,7 @@ skipThisPlayer
mva #$ff TestFlightFlag mva #$ff TestFlightFlag
; check targeting direction ; check targeting direction
lda tempor2 lda tempor2
jeq AimingLeft jne AimingLeft
AimingRight AimingRight
; make test Shoot (Flight) ; make test Shoot (Flight)
jsr SetStartAndFlight jsr SetStartAndFlight
BIN
View File
Binary file not shown.