mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
0 weapon bug fixed!
It allowed for multiple firing of weapons despite the lack of missiles
This commit is contained in:
+12
-9
@@ -613,14 +613,6 @@ continueMainRoundLoopAfterSeppuku
|
|||||||
|
|
||||||
|
|
||||||
AfterExplode
|
AfterExplode
|
||||||
; TODO: IS IT OK??? possibly a fix here needed for #56
|
|
||||||
ldy WeaponDepleted
|
|
||||||
bne @+
|
|
||||||
ldx TankNr
|
|
||||||
tya
|
|
||||||
sta ActiveWeapon,x
|
|
||||||
@
|
|
||||||
|
|
||||||
;temporary tanks removal (would fall down with soil)
|
;temporary tanks removal (would fall down with soil)
|
||||||
mva #1 Erase
|
mva #1 Erase
|
||||||
jsr drawtanks
|
jsr drawtanks
|
||||||
@@ -642,9 +634,17 @@ TanksFallDown
|
|||||||
NoExistNoFall
|
NoExistNoFall
|
||||||
dex
|
dex
|
||||||
bpl TanksFallDown
|
bpl TanksFallDown
|
||||||
mva tempor2 TankNr
|
mvx tempor2 TankNr
|
||||||
missed
|
missed
|
||||||
|
|
||||||
|
; TODO: IS IT OK??? possibly a fix here needed for #56
|
||||||
|
ldy WeaponDepleted
|
||||||
|
bne @+
|
||||||
|
ldx TankNr
|
||||||
|
tya
|
||||||
|
sta ActiveWeapon,x
|
||||||
|
@
|
||||||
|
|
||||||
;here we clear offensive text (after a shoot)
|
;here we clear offensive text (after a shoot)
|
||||||
;shit -- it's second time, but it must be like this
|
;shit -- it's second time, but it must be like this
|
||||||
ldy TankNr
|
ldy TankNr
|
||||||
@@ -1605,8 +1605,11 @@ noKey
|
|||||||
.proc RmtSongSelect
|
.proc RmtSongSelect
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
; starting song line 0-255 to A reg
|
; starting song line 0-255 to A reg
|
||||||
|
cmp #song_ingame
|
||||||
|
bne noingame ; noMusic blck onlu ingame song
|
||||||
bit noMusic
|
bit noMusic
|
||||||
spl:lda #song_silencio
|
spl:lda #song_silencio
|
||||||
|
noingame
|
||||||
mvx #$ff RMT_blocked
|
mvx #$ff RMT_blocked
|
||||||
ldx #<MODUL ;low byte of RMT module to X reg
|
ldx #<MODUL ;low byte of RMT module to X reg
|
||||||
ldy #>MODUL ;hi byte of RMT module to Y reg
|
ldy #>MODUL ;hi byte of RMT module to Y reg
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user