Timing change

This commit is contained in:
Pecusx
2025-05-24 20:52:50 +02:00
parent 828a42e01e
commit 72afeb8c6e
2 changed files with 6 additions and 7 deletions
+6 -7
View File
@@ -9,7 +9,7 @@
;---------------------------------------------------
.macro build
dta d"0.46" ; number of this build (4 bytes)
dta d"0.47" ; number of this build (4 bytes)
.endm
.macro RMTSong
@@ -624,7 +624,7 @@ not_end_v2
no_eyes
; no animation in progress let's make new
lda AnimTimer
cmp #20
cmp #15
bne no_timber_animation
mva #0 AnimTimer ; reset timer
lda RANDOM
@@ -635,15 +635,14 @@ no_eyes
; eyes change (or not :) )
ldx #5 ; eyes up
lda RANDOM
and #%00000001
bne @+
tax ; eyes down (0)
and #%00000111
beq @+ ; eyes up (0)
ldx #0 ; eyes down (1-7)
@ stx EyesPhase
jsr MenuEyesSet
jmp no_timber_animation
no_eyes_change
cmp #2
bne no_timber_animation ; %11 - no animation
; %10 and %11 - eyes animation
inc EyesPhase
ldx EyesPhase
jsr MenuEyesSet
BIN
View File
Binary file not shown.