Shield after Flag bug fixed #138 . Optimizations

This commit is contained in:
Pecusx
2023-05-17 10:55:53 +02:00
parent 145af2c4e7
commit 12c20c7637
5 changed files with 25 additions and 35 deletions
+2
View File
@@ -219,8 +219,10 @@ AngleTable ; 16 bytes ;ba w $348b L$3350
cmp #5
bcs EnoughEnergy
; lower than 5 units - white flag
jsr ClearTankNr ; we must hide tank to erase shields (issue #138)
lda #ind_White_Flag_____
sta ActiveDefenceWeapon,x
jsr PutTankNr ; and draw tank witch Flag
EnoughEnergy
rts
.endp