LDA/TAY -> LDY opty

This commit is contained in:
Pecusx
2023-09-27 13:26:30 +02:00
parent 160fa615ca
commit a38b8bfe94
5 changed files with 4 additions and 8 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ unPlotAfterX
lda oldplotH,x lda oldplotH,x
sta oldplot+1 sta oldplot+1
lda oldply,x ldy oldply,x
tay
lda oldora,x lda oldora,x
sta (oldplot),y sta (oldplot),y
+3 -6
View File
@@ -1114,12 +1114,10 @@ LastNameChar
CheckKeys CheckKeys
jsr HighlightLevel ; setting choosen level of the opponent (Moron, etc) jsr HighlightLevel ; setting choosen level of the opponent (Moron, etc)
ldx TankNr ldx TankNr
lda JoyNumber,x ldy JoyNumber,x
tay
lda digits+1,y lda digits+1,y
sta NameScreen2+11 ; display joystick port number sta NameScreen2+11 ; display joystick port number
lda TankShape,x ldy TankShape,x
tay
lda digits+1,y lda digits+1,y
sta NameScreen2+15 ; display tank shape number sta NameScreen2+15 ; display tank shape number
jsr CursorDisplay jsr CursorDisplay
@@ -1626,8 +1624,7 @@ NextChar
mva #0 displayposition ; overwrite first digit mva #0 displayposition ; overwrite first digit
; put AI symbol or joystick ; put AI symbol or joystick
ldx TankNr ldx TankNr
lda SkillTable,x ldy SkillTable,x
tay
bne ThisIsAI bne ThisIsAI
ldy JoyNumber,x ldy JoyNumber,x
iny ; tricky iny ; tricky
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.