mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
DirectHits and EarnedMoney counters added (for summary)
This commit is contained in:
+10
@@ -1855,6 +1855,16 @@ EndOfFlight2
|
||||
lda HitFlag
|
||||
jeq NoHitAtEndOfFight ; RTS only !!!
|
||||
jmi NoTankHitAtEndOfFight
|
||||
; tank hit - increase direct hits points
|
||||
ldx TankNr
|
||||
inx
|
||||
cpx HitFlag ; we don't count suicides :)
|
||||
beq @+
|
||||
dex
|
||||
inc DirectHitsL,x
|
||||
bne @+
|
||||
inc DirectHitsH,x
|
||||
@
|
||||
; tank hit - check defensive weapon of this tank
|
||||
tax
|
||||
dex ; index of tank in X
|
||||
|
||||
Reference in New Issue
Block a user