Walls added! #50

And Battery activation fix :)
This commit is contained in:
Pecusx
2022-08-22 19:27:02 +02:00
parent 18dfe4a725
commit 7f85a7ed6a
8 changed files with 78 additions and 8 deletions
+3 -1
View File
@@ -204,7 +204,7 @@ OptionSetLoop
; next option
adw temp #40 ;jump to next line
inc:lda temp2
cmp #maxoptions ;number of options
cmp #maxOptions ;number of options
bne OptionsSetMainLoop
;inversing the first few chars of the selected line (OptionsY)
@@ -853,7 +853,9 @@ invSelectDef
; if activate battery, we do it differently
mva #sfx_battery sfx_effect
mva #99 Energy,x
phy
jsr MaxForceCalculate
ply
jmp DecreaseDefensive ; bypass activation
NotBattery
cmp #ind_Long_Barrel____