mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Minor optimization
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
+4
-8
@@ -1168,8 +1168,7 @@ afterInventory
|
|||||||
NoSpyHard
|
NoSpyHard
|
||||||
RmtSong song_ingame
|
RmtSong song_ingame
|
||||||
mva #0 escFlag
|
mva #0 escFlag
|
||||||
jsr WaitForKeyRelease
|
jmp ReleaseAndLoop
|
||||||
jmp BeforeFire
|
|
||||||
@
|
@
|
||||||
cmp #$80|@kbcode._up
|
cmp #$80|@kbcode._up
|
||||||
jeq CTRLPressedUp
|
jeq CTRLPressedUp
|
||||||
@@ -1383,8 +1382,7 @@ pressedTAB
|
|||||||
lda ActiveWeapon,x
|
lda ActiveWeapon,x
|
||||||
jsr HowManyBullets ; and we have qty of owned shells. Ufff....
|
jsr HowManyBullets ; and we have qty of owned shells. Ufff....
|
||||||
beq pressedTAB
|
beq pressedTAB
|
||||||
jsr WaitForKeyRelease
|
bne ReleaseAndLoop
|
||||||
jmp BeforeFire
|
|
||||||
|
|
||||||
CTRLpressedTAB
|
CTRLpressedTAB
|
||||||
mva #sfx_purchase sfx_effect
|
mva #sfx_purchase sfx_effect
|
||||||
@@ -1401,16 +1399,14 @@ CTRLpressedTAB
|
|||||||
lda ActiveWeapon,x
|
lda ActiveWeapon,x
|
||||||
jsr HowManyBullets ; and we have qty of owned shells. Ufff....
|
jsr HowManyBullets ; and we have qty of owned shells. Ufff....
|
||||||
beq CTRLpressedTAB
|
beq CTRLpressedTAB
|
||||||
jsr WaitForKeyRelease
|
bne ReleaseAndLoop
|
||||||
jmp BeforeFire
|
|
||||||
|
|
||||||
pressedM
|
pressedM
|
||||||
; have you tried turning the music off and on again?
|
; have you tried turning the music off and on again?
|
||||||
lda #$ff
|
lda #$ff
|
||||||
eor:sta noMusic
|
eor:sta noMusic
|
||||||
RmtSong song_ingame
|
RmtSong song_ingame
|
||||||
jsr WaitForKeyRelease
|
jmp ReleaseAndLoop
|
||||||
jmp BeforeFire
|
|
||||||
|
|
||||||
pressedS
|
pressedS
|
||||||
; have you tried turning sfx off and on again?
|
; have you tried turning sfx off and on again?
|
||||||
|
|||||||
Reference in New Issue
Block a user