Small loop ptimisation

This commit is contained in:
Pecusx
2022-07-31 23:56:47 +02:00
parent 6a0c3a91e9
commit 8e0aa974e7
2 changed files with 5 additions and 5 deletions
+5 -5
View File
@@ -519,16 +519,16 @@ AfterExplode
NoFallDown2 NoFallDown2
;here tanks are falling down ;here tanks are falling down
mva tankNr tempor2 mva tankNr tempor2
mvx #0 TankNr ldx NumberOfPlayers
dex
TanksFallDown TanksFallDown
stx TankNr
lda eXistenZ,x lda eXistenZ,x
beq NoExistNoFall beq NoExistNoFall
jsr TankFalls jsr TankFalls
NoExistNoFall NoExistNoFall
inc:ldx TankNr dex
cpx NumberOfPlayers bpl TanksFallDown
bne TanksFallDown
mva tempor2 TankNr mva tempor2 TankNr
missed missed
BIN
View File
Binary file not shown.