mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
If a white flag, robotanks targeting makes no sense. But - no memory!
This commit is contained in:
@@ -536,7 +536,7 @@ skipThisPlayer
|
|||||||
; in temp2 we have x distance divided by 8
|
; in temp2 we have x distance divided by 8
|
||||||
ldy temp2+1
|
ldy temp2+1
|
||||||
lda tempor2
|
lda tempor2
|
||||||
rts
|
End rts
|
||||||
.endp
|
.endp
|
||||||
|
|
||||||
;----------------------------------------------
|
;----------------------------------------------
|
||||||
@@ -546,6 +546,9 @@ skipThisPlayer
|
|||||||
; returns angle and power of shoot tank X (TankNr)
|
; returns angle and power of shoot tank X (TankNr)
|
||||||
; in the appropriate variables (Angle and Force)
|
; in the appropriate variables (Angle and Force)
|
||||||
;----------------------------------------------
|
;----------------------------------------------
|
||||||
|
; lda ActiveDefenceWeapon,x ; sorry memory !!!
|
||||||
|
; cmp #ind_White_Flag ; if a white flag, targeting makes no sense
|
||||||
|
; beq FindBestTarget2.End ; nearest RTS
|
||||||
mva #$ff SecondTryFlag
|
mva #$ff SecondTryFlag
|
||||||
NoSecondTry
|
NoSecondTry
|
||||||
lda ActiveWeapon,x
|
lda ActiveWeapon,x
|
||||||
|
|||||||
Reference in New Issue
Block a user