Financial bonus for the winner

This commit is contained in:
Pecusx
2022-08-11 21:23:34 +02:00
parent bc65dafdac
commit 25ed106e02
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -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
View File
Binary file not shown.