Cyborg's battery SFX and optimization

This commit is contained in:
Pecusx
2023-06-21 21:15:47 +02:00
parent 7eef3851e7
commit 8569f8be8e
4 changed files with 4 additions and 9 deletions
+3 -8
View File
@@ -219,18 +219,12 @@ AngleTable ; 16 bytes ;ba w $348b L$3350
lda Energy,x
cmp #60
bcs EnoughEnergy
; lower than 30 units - check battery
; lower than 60 units - check battery
ldy #ind_Battery
lda (temp),y ; has address of TanksWeaponsTable
cmp #2
bcc LowBatteries
; we have more than 2 batteries - use one
sec
sbc #1
sta (temp),y
lda #99
sta Energy,x
jsr MaxForceCalculate
bcs UseBattery.UseIt
EnoughEnergy
LowBatteries
; if low energy ten use battery (no RTS :) )
@@ -262,6 +256,7 @@ EnoughEnergy
lda (temp),y ; has address of TanksWeaponsTable
beq NoBatteries
; we have batteries - use one
UseIt
sec
sbc #1
sta (temp),y
+1 -1
View File
@@ -639,7 +639,7 @@ CreditsStart
dta d" "*
dta d"Ideas, help and QA"^
dta d"Bocianu, Probabilitydragon,"^
dta d"EnderDude, Dracon, TDC,"^
dta d"EnderDude, Dracon, Jakub Husak, TDC,"^
dta d"Beeblebrox, KrzysRog, lopezpb,"^
dta d"brad-colbert, archon800, nowy80,"^
dta d"Shaggy the Atarian, RetroBorsuk, ZPH"
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.