mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Dot does not fire MIRV :)
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
+10
-5
@@ -1751,10 +1751,13 @@ Loopi
|
|||||||
bpl StillUp
|
bpl StillUp
|
||||||
; where we know that the bullet starts to fall down
|
; where we know that the bullet starts to fall down
|
||||||
; we check if it is MIRV and if so, jump to MIRV routine
|
; we check if it is MIRV and if so, jump to MIRV routine
|
||||||
|
bit TestFlightFlag
|
||||||
|
bmi NoTestForMIRV
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
lda ActiveWeapon,x
|
lda ActiveWeapon,x
|
||||||
cmp #ind_MIRV___________ ; MIRV
|
cmp #ind_MIRV___________ ; MIRV
|
||||||
jeq MIRVdownLoop
|
jeq MIRVdownLoop
|
||||||
|
NoTestForMIRV
|
||||||
NoGravity
|
NoGravity
|
||||||
StillUp
|
StillUp
|
||||||
|
|
||||||
@@ -2102,11 +2105,13 @@ MIRVcopyParameters
|
|||||||
ldx #$FF ; it will turn 0 in a moment anyway
|
ldx #$FF ; it will turn 0 in a moment anyway
|
||||||
stx MirvMissileCounter
|
stx MirvMissileCounter
|
||||||
mrLoopi
|
mrLoopi
|
||||||
inc:lda MirvMissileCounter
|
ldx MirvMissileCounter
|
||||||
cmp #5
|
inx
|
||||||
sne:mva #0 MirvMissileCounter
|
cpx #5
|
||||||
|
bne @+
|
||||||
ldx MirvMissileCounter
|
ldx #0
|
||||||
|
@ stx MirvMissileCounter
|
||||||
|
|
||||||
; Y changes only for bullet number 0
|
; Y changes only for bullet number 0
|
||||||
; because rest of the bullets have the same Y (height)
|
; because rest of the bullets have the same Y (height)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user