mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 14:49:40 +02:00
Financial bonus for the winner
This commit is contained in:
@@ -238,6 +238,14 @@ CalculateGains
|
|||||||
; 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