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 .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
View File
Binary file not shown.