AI level display

This commit is contained in:
Pecusx
2023-05-02 14:22:53 +02:00
parent fdccc9ddda
commit b83e4f7169
3 changed files with 12 additions and 1 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+12 -1
View File
@@ -2033,17 +2033,20 @@ EndOfCredits
.proc DisplayStatus .proc DisplayStatus
;------------------------------------------------- ;-------------------------------------------------
ldx TankNr
;========================= ;=========================
; displaying number of active controller port ; displaying number of active controller port
;========================= ;=========================
ldy SkillTable,x
bne LevelOfAI
ldy JoystickNumber ldy JoystickNumber
LevelOfAI
lda digits+1,y lda digits+1,y
sta statusBuffer+17 sta statusBuffer+17
;========================= ;=========================
;displaying symbol of the weapon ;displaying symbol of the weapon
;========================= ;=========================
ldx TankNr
ldy ActiveWeapon,x ldy ActiveWeapon,x
lda WeaponSymbols,y lda WeaponSymbols,y
sta statusBuffer+19 sta statusBuffer+19
@@ -2254,6 +2257,14 @@ NextChar02
iny iny
cpy #$08 cpy #$08
bne NextChar02 bne NextChar02
; memory !!!!
; ldx TankNr
; ldy #$5e ; Computer symbol
; lda SkillTable,x
; bne ThisIsAI
; ldy #$0a ; Joystick symbol
;ThisIsAI
; sty statusBuffer+16
rts rts
.endp .endp
;------------------------------------------------- ;-------------------------------------------------