mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Bouncing Kastel bounces Laser - fixed
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
+12
-2
@@ -1876,6 +1876,8 @@ EndOfFlight2
|
|||||||
beq JNoDefence
|
beq JNoDefence
|
||||||
cmp #ind_Smoke_Tracer___
|
cmp #ind_Smoke_Tracer___
|
||||||
beq JNoDefence
|
beq JNoDefence
|
||||||
|
cmp #ind_Laser__________ ; Bouncy and Mag not fire by Laser
|
||||||
|
beq JNoDefence
|
||||||
lda ActiveDefenceWeapon,x
|
lda ActiveDefenceWeapon,x
|
||||||
cmp #ind_Bouncy_Castle__ ; Auto Defence
|
cmp #ind_Bouncy_Castle__ ; Auto Defence
|
||||||
jeq BouncyCastle
|
jeq BouncyCastle
|
||||||
@@ -2926,9 +2928,17 @@ CheckCollisionWithTankLoop
|
|||||||
cmp ydraw
|
cmp ydraw
|
||||||
bcs OverTheTank
|
bcs OverTheTank
|
||||||
; with or without shield ?
|
; with or without shield ?
|
||||||
lda ShieldEnergy,x
|
/*
|
||||||
|
lda ActiveDefenceWeapon,x
|
||||||
|
cmp #ind_Mag_Deflector__ ; first shielded weapon
|
||||||
|
bcc CheckCollisionWithNotShieldedTank
|
||||||
|
cmp #ind_Bouncy_Castle__+1 ; last shielded weapon
|
||||||
|
bcs CheckCollisionWithShieldedTank ; tank with shield is bigger :)
|
||||||
|
*/
|
||||||
|
lda ShieldEnergy,x ; there is wrong method to check shield :)
|
||||||
bne CheckCollisionWithShieldedTank ; tank with shield is bigger :)
|
bne CheckCollisionWithShieldedTank ; tank with shield is bigger :)
|
||||||
|
|
||||||
|
CheckCollisionWithNotShieldedTank
|
||||||
lda xtankstableH,x
|
lda xtankstableH,x
|
||||||
cmp xdraw+1
|
cmp xdraw+1
|
||||||
bne @+
|
bne @+
|
||||||
|
|||||||
Reference in New Issue
Block a user