Macro "wait" as procedure.
This commit is contained in:
+1
-1
@@ -1085,7 +1085,7 @@ EndOfFCycle
|
|||||||
; here we draw parachute
|
; here we draw parachute
|
||||||
ldx TankNr
|
ldx TankNr
|
||||||
jsr DrawTankParachute
|
jsr DrawTankParachute
|
||||||
wait ; onli if tank with patachute
|
jsr WaitOneFrame ; onli if tank with patachute
|
||||||
RapidFalling
|
RapidFalling
|
||||||
DoNotDrawParachute
|
DoNotDrawParachute
|
||||||
lda EndOfTheFallFlag
|
lda EndOfTheFallFlag
|
||||||
|
|||||||
+4
-1
@@ -1441,7 +1441,10 @@ peopleAreHere
|
|||||||
noKey
|
noKey
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
.proc WaitOneFrame
|
||||||
|
wait
|
||||||
|
rts
|
||||||
|
.endp
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
.proc RmtSongSelect
|
.proc RmtSongSelect
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
|
|||||||
BIN
Binary file not shown.
+5
-5
@@ -893,8 +893,8 @@ Rollin
|
|||||||
sta HeightRol ; relative point
|
sta HeightRol ; relative point
|
||||||
|
|
||||||
RollinContinues
|
RollinContinues
|
||||||
wait
|
jsr WaitOneFrame
|
||||||
wait
|
jsr WaitOneFrame
|
||||||
; new point is set
|
; new point is set
|
||||||
adw xdraw #mountaintable tempXROLLER
|
adw xdraw #mountaintable tempXROLLER
|
||||||
ldy #0
|
ldy #0
|
||||||
@@ -1031,7 +1031,7 @@ NoColor ; jump here with color=0 to clean dirt
|
|||||||
; current dirt width
|
; current dirt width
|
||||||
sta magic
|
sta magic
|
||||||
NextRow
|
NextRow
|
||||||
wait
|
jsr WaitOneFrame
|
||||||
ldy magic
|
ldy magic
|
||||||
NextLine
|
NextLine
|
||||||
lda random
|
lda random
|
||||||
@@ -1168,7 +1168,7 @@ ContinueToCheckMaxForce2
|
|||||||
|
|
||||||
jsr DrawTankNr
|
jsr DrawTankNr
|
||||||
|
|
||||||
wait ; best after drawing a tank
|
jsr WaitOneFrame ; best after drawing a tank
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -2360,7 +2360,7 @@ NextLine1
|
|||||||
dex
|
dex
|
||||||
bpl NextLine1
|
bpl NextLine1
|
||||||
;
|
;
|
||||||
wait ; wait uses A and Y
|
jsr WaitOneFrame ; wait uses A only
|
||||||
; second loop - inverse again and put random "snow" to column of bytes
|
; second loop - inverse again and put random "snow" to column of bytes
|
||||||
ldx #120
|
ldx #120
|
||||||
ldy magic
|
ldy magic
|
||||||
|
|||||||
Reference in New Issue
Block a user