mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Financial bonus for the winner
This commit is contained in:
+9
-1
@@ -237,7 +237,15 @@ CalculateGains
|
||||
; Important! If player has 10 energy and gets a central hit
|
||||
; from nuke that would take 90 energy points, his loss
|
||||
; is 90, not 10
|
||||
|
||||
|
||||
; adding the remaining energy of the tank to gain
|
||||
; winner gets more ! :)
|
||||
lda Energy,x
|
||||
adc gainL,x
|
||||
sta gainL,x
|
||||
bcc @+
|
||||
inc gainH,x
|
||||
@
|
||||
; add gain * 2
|
||||
asl gainL,x
|
||||
rol gainH,x
|
||||
|
||||
Reference in New Issue
Block a user