mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Long Schlong gives miraculous power
This commit is contained in:
@@ -435,6 +435,7 @@ HighForce
|
||||
; jsr MakeLowResDistances
|
||||
lda #202
|
||||
sta temp2 ; max possible energy
|
||||
stx temp2+1 ; set target tank to himself (if it doesn't find targets - Long Shlong :) )
|
||||
lda #0
|
||||
sta tempor2 ; direction of shoot
|
||||
;ldx TankNr
|
||||
@@ -446,7 +447,9 @@ loop01
|
||||
beq skipThisPlayer
|
||||
lda eXistenZ,y
|
||||
beq skipThisPlayer
|
||||
|
||||
lda BarrelLength,y
|
||||
cmp #LongBarrel ; if target has Long Schlong do not aim
|
||||
beq skipThisPlayer
|
||||
lda skilltable,y
|
||||
beq ItIsHuman
|
||||
lda PreferHumansFlag
|
||||
@@ -493,6 +496,7 @@ skipThisPlayer
|
||||
;----------------------------------------------
|
||||
; jsr MakeLowResDistances
|
||||
mva #$ff temp2 ; min possible distance
|
||||
stx temp2+1 ; set target tank to himself (if it doesn't find targets - Long Shlong :) )
|
||||
mva #0 tempor2 ; direction of shoot
|
||||
|
||||
;ldx TankNr
|
||||
@@ -504,6 +508,9 @@ loop01
|
||||
beq skipThisPlayer
|
||||
lda eXistenZ,y
|
||||
beq skipThisPlayer
|
||||
lda BarrelLength,y
|
||||
cmp #LongBarrel ; if target has Long Schlong do not aim
|
||||
beq skipThisPlayer
|
||||
|
||||
lda LowResDistances,x
|
||||
cmp LowResDistances,y
|
||||
|
||||
Reference in New Issue
Block a user