Battery power fix

This commit is contained in:
Pecusx
2022-08-22 23:58:02 +02:00
parent c413deacb1
commit 36d029bb87
3 changed files with 2 additions and 1 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -852,8 +852,8 @@ invSelectDef
bne NotBattery bne NotBattery
; if activate battery, we do it differently ; if activate battery, we do it differently
mva #sfx_battery sfx_effect mva #sfx_battery sfx_effect
mva #99 Energy,x
phy phy
mva #99 Energy,x
jsr MaxForceCalculate jsr MaxForceCalculate
ply ply
jmp DecreaseDefensive ; bypass activation jmp DecreaseDefensive ; bypass activation
+1
View File
@@ -861,6 +861,7 @@ dirtLoop
lda radius lda radius
cmp ExplosionRadius cmp ExplosionRadius
bne dirtLoop bne dirtLoop
mva #sfx_silencer sfx_effect
rts rts
.endp .endp
; ----------------- ; -----------------