mirror of
https://github.com/Pecusx/Young-lumberjack.git
synced 2026-05-20 22:33:54 +02:00
GFX fixes and faster foot animation
This commit is contained in:
+5
-5
@@ -5,9 +5,9 @@
|
||||
dta $00,$00,$00,$2E,$B9,$00,$00,$00,$05,$06,$1E,$07,$37,$1D,$25,$1D,$37,$06,$15,$22,$37,$06,$11,$2A,$2C,$00,$00,$00,$2F,$00,$00,$00
|
||||
dta $00,$00,$00,$2E,$B9,$00,$00,$00,$08,$09,$1F,$0A,$08,$09,$26,$27,$19,$09,$16,$17,$19,$14,$28,$2B,$2C,$00,$00,$00,$2F,$00,$00,$00
|
||||
dta $00,$00,$00,$2E,$00,$00,$00,$00,$B3,$31,$31,$35,$B3,$31,$35,$00,$32,$31,$31,$31,$32,$31,$B3,$31,$00,$00,$00,$00,$2F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$20,$21,$20,$21,$20,$21,$20,$21,$20,$21,$31,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$20,$21,$20,$21,$20,$21,$20,$21,$20,$21,$31,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$20,$21,$20,$21,$20,$21,$20,$21,$20,$21,$31,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$20,$21,$20,$21,$20,$21,$20,$21,$20,$21,$31,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$5E,$00,$00,$0C,$0D,$0C,$0D,$0C,$0D,$0C,$0D,$31,$00,$20,$21,$20,$21,$20,$21,$20,$21,$20,$21,$31,$00,$5F,$00,$00,$00
|
||||
dta $00,$00,$00,$2E,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$2F,$00,$00,$00
|
||||
|
||||
+5
-5
@@ -12,7 +12,7 @@
|
||||
|
||||
;---------------------------------------------------
|
||||
.macro build
|
||||
dta d"0.60" ; number of this build (4 bytes)
|
||||
dta d"0.61" ; number of this build (4 bytes)
|
||||
.endm
|
||||
|
||||
.macro RMTSong
|
||||
@@ -765,14 +765,14 @@ no_eyes_animation
|
||||
beq no_foot ; eyes up (no animation)
|
||||
; continue foot animation
|
||||
inx
|
||||
cpx #65 ; after last phase of foot animation (one frame = 8, one "step" = 2 frames = 8 .... +1 (ending frame) - 65 = 8(step)*4+1
|
||||
cpx #33 ; after last phase of foot animation (one frame = 4, one "step" = 2 frames = 8 .... +1 (ending frame) - 33 = 8(step)*4+1
|
||||
bne not_end_f
|
||||
ldx #0
|
||||
not_end_f
|
||||
stx FootPhase
|
||||
cpx #10
|
||||
cpx #8
|
||||
bne no_eyes_up
|
||||
; foot animation phase 10 - eyes up :) 50/50
|
||||
; foot animation phase 8 - eyes up :) 50/50
|
||||
bit RANDOM
|
||||
bmi no_eyes_up
|
||||
mvx #5 EyesPhase
|
||||
@@ -3171,7 +3171,7 @@ AutoScreen
|
||||
;--------------------------------------------------
|
||||
; set eyes to phase in X register
|
||||
txa
|
||||
:3 lsr ; 8 times lower animation speed
|
||||
:2 lsr ; 4 times lower animation speed
|
||||
and #%00000001
|
||||
tax
|
||||
lda title_animf_tableL,x
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user