Clear variables optimisation and better text screen init

This commit is contained in:
Pecusx
2022-08-07 16:01:09 +02:00
parent 5b90bc571e
commit 2d274b05d0
3 changed files with 5 additions and 16 deletions
-15
View File
@@ -925,8 +925,6 @@ deletePtr = temp
jsr WeaponCleanup
mva #TextBackgroundColor colpf2s
mva #TextForegroundColor colpf3s
mva #>WeaponFont chbas
;parameter for old plot (unPlot) max 5 points
@@ -964,19 +962,6 @@ MakeTanksVisible
dex
bpl MakeTanksVisible
ldx #0
txa
ClearResults
sta ResultsTable,x
sta DirectHitsL,x
sta DirectHitsH,x
sta EarnedMoneyL,x
sta EarnedMoneyH,x
inx
cpx #MaxPlayers
bne ClearResults
mva #1 CurrentRoundNr ;we start from round 1
mva #6 NTSCcounter