mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
Defensive name in statusbar fix.
This commit is contained in:
+6
-4
@@ -1860,10 +1860,6 @@ ThisIsAI
|
|||||||
lda #char_computer ; Auto Defense symbol
|
lda #char_computer ; Auto Defense symbol
|
||||||
@
|
@
|
||||||
sta statusBuffer+80+21
|
sta statusBuffer+80+21
|
||||||
lda #char_bracketO ; (
|
|
||||||
sta statusBuffer+80+22
|
|
||||||
lda #char_bracketC ; )
|
|
||||||
sta statusBuffer+80+39
|
|
||||||
lda ActiveDefenceWeapon,x
|
lda ActiveDefenceWeapon,x
|
||||||
bne ActiveDefence
|
bne ActiveDefence
|
||||||
; clear brackets
|
; clear brackets
|
||||||
@@ -1873,8 +1869,14 @@ ThisIsAI
|
|||||||
; lda #0 ; #space == #0
|
; lda #0 ; #space == #0
|
||||||
tay
|
tay
|
||||||
jsr DisplayWeaponName.ClearingOnly
|
jsr DisplayWeaponName.ClearingOnly
|
||||||
|
beq NoDefenceName ; like JMP
|
||||||
ActiveDefence
|
ActiveDefence
|
||||||
jsr DisplayWeaponName
|
jsr DisplayWeaponName
|
||||||
|
lda #char_bracketO ; (
|
||||||
|
sta statusBuffer+80+22
|
||||||
|
lda #char_bracketC ; )
|
||||||
|
sta statusBuffer+80+39
|
||||||
|
NoDefenceName
|
||||||
|
|
||||||
;=========================
|
;=========================
|
||||||
;displaying the energy of a tank
|
;displaying the energy of a tank
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user