mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
PAUSE ellimintation
This commit is contained in:
+6
-2
@@ -791,11 +791,15 @@ tankflash_loop
|
|||||||
mva #1 Erase
|
mva #1 Erase
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
jsr DrawTankNr.SkipHidingPM ; it's necessary becouse DrawTankNr skips tanks with no energy !
|
jsr DrawTankNr.SkipHidingPM ; it's necessary becouse DrawTankNr skips tanks with no energy !
|
||||||
PAUSE 2
|
;PAUSE 2
|
||||||
|
ldy #1
|
||||||
|
jsr PauseYFrames
|
||||||
mva #0 Erase
|
mva #0 Erase
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
jsr DrawTankNr.SkipHidingPM
|
jsr DrawTankNr.SkipHidingPM
|
||||||
PAUSE 2
|
;PAUSE 2
|
||||||
|
ldy #1
|
||||||
|
jsr PauseYFrames
|
||||||
dec fs
|
dec fs
|
||||||
jne tankflash_loop
|
jne tankflash_loop
|
||||||
rts
|
rts
|
||||||
|
|||||||
+14
-3
@@ -1253,7 +1253,7 @@ MoveBarrel
|
|||||||
jsr DisplayStatus.displayAngle
|
jsr DisplayStatus.displayAngle
|
||||||
; ldx TankNr
|
; ldx TankNr
|
||||||
mva #1 Erase
|
mva #1 Erase
|
||||||
PAUSE 1
|
jsr WaitOneFrame
|
||||||
jsr DrawTankNr.BarrelChange
|
jsr DrawTankNr.BarrelChange
|
||||||
mva #0 Erase
|
mva #0 Erase
|
||||||
lda NewAngle
|
lda NewAngle
|
||||||
@@ -1437,8 +1437,9 @@ checkForHuman ; if all in skillTable other than 0 then switch to DEMO MODE
|
|||||||
dex
|
dex
|
||||||
bpl checkForHuman
|
bpl checkForHuman
|
||||||
; no people, just wait a bit
|
; no people, just wait a bit
|
||||||
pause 250
|
;pause 150
|
||||||
pause 50
|
ldy #75
|
||||||
|
jsr PauseYFrames
|
||||||
jmp noKey
|
jmp noKey
|
||||||
|
|
||||||
peopleAreHere
|
peopleAreHere
|
||||||
@@ -1450,6 +1451,16 @@ noKey
|
|||||||
wait
|
wait
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
.proc PauseYFrames
|
||||||
|
; Y - number of frames to wait (divided by 2)
|
||||||
|
; pauses for maximally 510 frames (255 * 2)
|
||||||
|
@ jsr WaitOneFrame
|
||||||
|
jsr WaitOneFrame
|
||||||
|
dey
|
||||||
|
bne @-
|
||||||
|
rts
|
||||||
|
.endp
|
||||||
|
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
.proc RmtSongSelect
|
.proc RmtSongSelect
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user