mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 06:39:46 +02:00
Boucy Castle sfx
This commit is contained in:
+1
-1
@@ -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
Binary file not shown.
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user