Minor optimization

This commit is contained in:
Pecusx
2023-05-19 15:30:45 +02:00
parent 86631ce2b0
commit 8486645bc8
6 changed files with 1 additions and 6 deletions
-1
View File
@@ -1025,7 +1025,6 @@ MoveBarrel
jsr DisplayStatus.displayAngle
;
jsr CheckExitKeys
bit escFlag
spl:rts ;---Exit key pressed-quit game---
ldx TankNr
;
-1
View File
@@ -1420,7 +1420,6 @@ ColumnIsReady
beq FalloutOfLine
jsr CheckExitKeys ; Check for O, Esc or Start+Option keys
bit escFlag
spl:rts ; exit if pressed 'Exit keys'
lda IsEndOfTheFallFlag
+1
View File
@@ -592,6 +592,7 @@ DisplayAreYouSure
jsr AreYouSure
;---esc pressed-quit game---
nokeys
bit escFlag
rts
;
.endp
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
-4
View File
@@ -1099,7 +1099,6 @@ ContinueToCheckMaxForce2
notpressed
jsr CheckExitKeys ; Check for O, Esc or Start+Option keys
bit escFlag
spl:rts ; exit if pressed 'Exit keys'
ldx TankNr ; for optimize
@@ -1764,7 +1763,6 @@ nonowait
jsr shellDelay
;
jsr CheckExitKeys ; Check for O, Esc or Start+Option keys
bit escFlag
spl:rts ; exit if pressed 'Exit keys'
ldx TankNr
;
@@ -2104,7 +2102,6 @@ mrLoopi
;
phx
jsr CheckExitKeys ; Check for O, Esc or Start+Option keys
bit escFlag
bpl ExitnotPressed
plx
rts ; exit if pressed 'Exit keys'
@@ -2606,7 +2603,6 @@ KeyboardAndJoyCheck
LotOfFuel
notpressed
jsr CheckExitKeys
bit escFlag
spl:rts ;---Exit key pressed-quit game---
ldx TankNr