Preparing for better AI (invisible shot)

This commit is contained in:
Pecusx
2022-07-28 21:38:38 +02:00
parent 4d090f1766
commit f9fc25ec0f
3 changed files with 14 additions and 3 deletions
+4 -1
View File
@@ -77,6 +77,7 @@
.zpvar UnderTank1 .byte
.zpvar UnderTank2 .byte
;----------------------------
.zpvar TestFlightFlag .byte ; For AI test flights ($ff - test, $00 - standard shoot flight)
.zpvar weaponPointer .word
.zpvar dliCounter .byte
.zpvar pressTimer .byte
@@ -335,7 +336,9 @@ SettingEnergies
jsr drawmountains ;draw them
jsr drawtanks ;finally draw tanks
mva #0 TankSequencePointer
lda #$00
sta TankSequencePointer
sta TestFlightFlag
;---------round screen is ready---------
mva #TextForegroundColor colpf1s ; status line "on"
rts