And Human symbols on GameOver screen

This commit is contained in:
Pecusx
2023-05-11 15:33:24 +02:00
parent 3f4fe9839b
commit cc806b6cc0
4 changed files with 15 additions and 8 deletions
+13 -6
View File
@@ -1853,18 +1853,25 @@ NextChar
adw temp #19 displayposition
jsr displaydec5
mva #0 displayposition ; overwrite first digit
; put AI symbol
; put AI symbol or joystick
ldx TankNr
lda SkillTable,x
beq NotAItank
tay
bne ThisIsAI
ldy JoyNumber,x
iny ; tricky
ThisIsAI
lda digits,y
ldy #39
sta (temp),y ; and last zero
dey
lda #$5e ; Computer symbol
sta (temp),y ; and last zero
sta (temp),y ; AI level or joy number
ldy #$0a ; Joystick symbol
lda SkillTable,x
beq NotAItank
ldy #$5e ; Computer symbol
NotAItank
tya
ldy #38
sta (temp),y
; put earned money on the screen
lda EarnedMoneyL,x
sta decimal