Timing change
This commit is contained in:
+6
-7
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
;---------------------------------------------------
|
;---------------------------------------------------
|
||||||
.macro build
|
.macro build
|
||||||
dta d"0.46" ; number of this build (4 bytes)
|
dta d"0.47" ; number of this build (4 bytes)
|
||||||
.endm
|
.endm
|
||||||
|
|
||||||
.macro RMTSong
|
.macro RMTSong
|
||||||
@@ -624,7 +624,7 @@ not_end_v2
|
|||||||
no_eyes
|
no_eyes
|
||||||
; no animation in progress let's make new
|
; no animation in progress let's make new
|
||||||
lda AnimTimer
|
lda AnimTimer
|
||||||
cmp #20
|
cmp #15
|
||||||
bne no_timber_animation
|
bne no_timber_animation
|
||||||
mva #0 AnimTimer ; reset timer
|
mva #0 AnimTimer ; reset timer
|
||||||
lda RANDOM
|
lda RANDOM
|
||||||
@@ -635,15 +635,14 @@ no_eyes
|
|||||||
; eyes change (or not :) )
|
; eyes change (or not :) )
|
||||||
ldx #5 ; eyes up
|
ldx #5 ; eyes up
|
||||||
lda RANDOM
|
lda RANDOM
|
||||||
and #%00000001
|
and #%00000111
|
||||||
bne @+
|
beq @+ ; eyes up (0)
|
||||||
tax ; eyes down (0)
|
ldx #0 ; eyes down (1-7)
|
||||||
@ stx EyesPhase
|
@ stx EyesPhase
|
||||||
jsr MenuEyesSet
|
jsr MenuEyesSet
|
||||||
jmp no_timber_animation
|
jmp no_timber_animation
|
||||||
no_eyes_change
|
no_eyes_change
|
||||||
cmp #2
|
; %10 and %11 - eyes animation
|
||||||
bne no_timber_animation ; %11 - no animation
|
|
||||||
inc EyesPhase
|
inc EyesPhase
|
||||||
ldx EyesPhase
|
ldx EyesPhase
|
||||||
jsr MenuEyesSet
|
jsr MenuEyesSet
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user