Boucy Castle sfx

This commit is contained in:
2022-08-11 00:54:00 -04:00
parent bb826b680d
commit 268d99ffaf
4 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ FirstSTART
; one time zero variables in RAM (non zero page)
lda #0
ldy #OneTimeZeroVariablesCount-1
@ sta OneTimeZeroVariables
@ sta OneTimeZeroVariables,y
dey
bpl @-
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -2026,7 +2026,7 @@ RandomizeTankPos
adc #0
sta XtankstableH,x
lda random
cmp #8 ; like 1:32
cmp #32 ; like 1:8
bcc NowFastTank
lda #0
sta ActiveDefenceWeapon,x
+1
View File
@@ -1922,6 +1922,7 @@ NoDefence
lsrw Force ; Force = Force / 2 - because earlier we multiplied by 2
rts ; END !!!
BouncyCastle
mva #sfx_shield_on sfx_effect
; now run defensive-aggressive weapon - Bouncy Castle (previously known as Auto Defence)!
sbb #180 LeapFrogAngle Angle ; swap angle (LeapFrogAngle - because we have strored angle in this variable)
lsrw Force ; Force = Force / 2 - because earlier we multiplied by 2