mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +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
|
; Important! If player has 10 energy and gets a central hit
|
||||||
; from nuke that would take 90 energy points, his loss
|
; from nuke that would take 90 energy points, his loss
|
||||||
; is 90, not 10
|
; 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
|
; add gain * 2
|
||||||
asl gainL,x
|
asl gainL,x
|
||||||
rol gainH,x
|
rol gainH,x
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user