mirror of
https://github.com/Pecusx/Young-lumberjack.git
synced 2026-05-20 22:33:54 +02:00
Fast animations ready
This commit is contained in:
+117
-127
@@ -6,29 +6,21 @@
|
||||
; - (last position)
|
||||
; - phase 2 page 1
|
||||
; - phase 2 page 2
|
||||
; - phase 2 page 3
|
||||
; - phase 2 page 4
|
||||
; - phase 3 page 1
|
||||
; - phase 3 page 2
|
||||
; - phase 3 page 3
|
||||
; - phase 3 page 4
|
||||
; - phase 3 page 5
|
||||
; - phase 2 page 1
|
||||
; - phase 2 page 3
|
||||
; - phase 2 page 4
|
||||
; - phase 1 page 1 (new position)
|
||||
;
|
||||
; v3 - if the branch opposite the lumberjack and no branch and none above
|
||||
; v3 - if the branch opposite the lumberjack and no branch above
|
||||
;
|
||||
; - (last position)
|
||||
; - phase 2 page 5
|
||||
; - phase 2 page 6
|
||||
; - phase 2 page 7
|
||||
; - phase 2 page 8
|
||||
; - phase 3 page 6
|
||||
; - phase 3 page 2
|
||||
; - phase 3 page 3
|
||||
; - phase 3 page 4
|
||||
; - phase 3 page 5
|
||||
; - phase 2 page 1
|
||||
; - phase 2 page 3
|
||||
; - phase 2 page 4
|
||||
; - phase 1 page 1 (new position)
|
||||
;
|
||||
; v4 - if no branch at the level of the lumberjack and branch above (kill)
|
||||
@@ -36,28 +28,22 @@
|
||||
;
|
||||
; - (last position)
|
||||
; - phase 2 page 1
|
||||
; - phase 2 page 2
|
||||
; - phase 2 page 3
|
||||
; - phase 2 page 4
|
||||
; - phase 3 page 1
|
||||
; - phase 3 page 11
|
||||
; - phase 3 page 12
|
||||
; - phase 3 page 13
|
||||
; - phase 3 page 14
|
||||
; - phase 2 page 11
|
||||
; - phase 3 page 9
|
||||
; - phase 3 page 10
|
||||
; - phase 2 page 12
|
||||
; - phase 2 page 13
|
||||
; - phase 1 page 1 (new position) - killed
|
||||
;
|
||||
; v6 - if the branch opposite the lumberjack and branch above (kill)
|
||||
;
|
||||
; - (last position)
|
||||
; - phase 2 page 5
|
||||
; - phase 2 page 6
|
||||
; - phase 2 page 7
|
||||
; - phase 2 page 8
|
||||
; - phase 3 page 6
|
||||
; - phase 2 page 14
|
||||
; - phase 3 page 11
|
||||
; - phase 3 page 12
|
||||
; - phase 3 page 13
|
||||
; - phase 3 page 14
|
||||
; - phase 2 page 12
|
||||
; - phase 2 page 13
|
||||
; - phase 1 page 1 (new position) - killed
|
||||
;
|
||||
; v7 - if no branch at the level of the lumberjack and branch above on the other side
|
||||
@@ -65,30 +51,22 @@
|
||||
;
|
||||
; - (last position)
|
||||
; - phase 2 page 1
|
||||
; - phase 2 page 2
|
||||
; - phase 2 page 3
|
||||
; - phase 2 page 4
|
||||
; - phase 3 page 1
|
||||
; - phase 3 page 7
|
||||
; - phase 3 page 8
|
||||
; - phase 3 page 9
|
||||
; - phase 3 page 10
|
||||
; - phase 2 page 5
|
||||
; - phase 2 page 7
|
||||
; - phase 3 page 5
|
||||
; - phase 3 page 6
|
||||
; - phase 2 page 8
|
||||
; - phase 2 page 9
|
||||
; - phase 1 page 2 (new position)
|
||||
;
|
||||
; v9 - if the branch opposite the lumberjack and branch above on the other side
|
||||
;
|
||||
; - (last position)
|
||||
; - phase 2 page 5
|
||||
; - phase 2 page 6
|
||||
; - phase 2 page 7
|
||||
; - phase 2 page 8
|
||||
; - phase 3 page 6
|
||||
; - phase 2 page 10
|
||||
; - phase 3 page 7
|
||||
; - phase 3 page 8
|
||||
; - phase 3 page 9
|
||||
; - phase 3 page 10
|
||||
; - phase 2 page 5
|
||||
; - phase 2 page 8
|
||||
; - phase 2 page 9
|
||||
; - phase 1 page 2 (new position)
|
||||
;
|
||||
;--------------------------------------------------
|
||||
@@ -100,23 +78,23 @@
|
||||
jsr SetPMr2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p2 animation_addr
|
||||
mwa #gamescreen_r_ph2p2 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p3 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p4 animation_addr
|
||||
mwa #gamescreen_r_ph3p2 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p5 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p1 animation_addr
|
||||
mwa #gamescreen_r_ph2p3 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p4 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_r_ph1p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr1
|
||||
@@ -133,23 +111,23 @@ AnimationR2 = AnimationR1
|
||||
jsr SetPMl2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p2 animation_addr
|
||||
mwa #gamescreen_l_ph2p2 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p3 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p4 animation_addr
|
||||
mwa #gamescreen_l_ph3p2 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p5 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p1 animation_addr
|
||||
mwa #gamescreen_l_ph2p3 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p4 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_l_ph1p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl1
|
||||
@@ -166,23 +144,23 @@ AnimationL2 = AnimationL1
|
||||
jsr SetPMr2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p2 animation_addr
|
||||
mwa #gamescreen_r_ph2p6 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p3 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p4 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p5 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p1 animation_addr
|
||||
mwa #gamescreen_r_ph2p3 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p4 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_r_ph1p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr1
|
||||
@@ -198,23 +176,23 @@ AnimationL2 = AnimationL1
|
||||
jsr SetPMl2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p2 animation_addr
|
||||
mwa #gamescreen_l_ph2p6 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p3 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p4 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p5 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p1 animation_addr
|
||||
mwa #gamescreen_l_ph2p3 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p4 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_l_ph1p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl1
|
||||
@@ -230,20 +208,23 @@ AnimationL2 = AnimationL1
|
||||
jsr SetPMr2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p11 animation_addr
|
||||
mwa #gamescreen_r_ph2p11 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p9 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p12 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p13 animation_addr
|
||||
mwa #gamescreen_r_ph3p10 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p14 animation_addr
|
||||
mwa #gamescreen_r_ph2p12 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p13 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_r_ph1p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr1
|
||||
@@ -260,20 +241,23 @@ AnimationR5 = AnimationR4
|
||||
jsr SetPMl2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p11 animation_addr
|
||||
mwa #gamescreen_l_ph2p11 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p9 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p12 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p13 animation_addr
|
||||
mwa #gamescreen_l_ph3p10 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p14 animation_addr
|
||||
mwa #gamescreen_l_ph2p12 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p13 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_l_ph1p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl1
|
||||
@@ -290,20 +274,23 @@ AnimationL5 = AnimationL4
|
||||
jsr SetPMr2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p14 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p11 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p12 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p13 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p14 animation_addr
|
||||
mwa #gamescreen_r_ph2p12 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p13 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_r_ph1p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr1
|
||||
@@ -319,20 +306,23 @@ AnimationL5 = AnimationL4
|
||||
jsr SetPMl2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p14 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p11 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p12 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p13 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p14 animation_addr
|
||||
mwa #gamescreen_l_ph2p12 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p13 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_l_ph1p1 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl1
|
||||
@@ -344,27 +334,27 @@ AnimationL5 = AnimationL4
|
||||
;--------------------------------------------------
|
||||
mva #>font_game_lower_right LowCharsetBase
|
||||
mwa #last_line_r lastline_addr
|
||||
mwa #gamescreen_r_ph2p2 animation_addr
|
||||
mwa #gamescreen_r_ph2p1 animation_addr
|
||||
jsr SetPMr2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p7 animation_addr
|
||||
mwa #gamescreen_r_ph2p7 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p5 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p8 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p9 animation_addr
|
||||
mwa #gamescreen_r_ph3p6 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p10 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p5 animation_addr
|
||||
mwa #gamescreen_r_ph2p8 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p9 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_r_ph1p2 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr1
|
||||
@@ -377,27 +367,27 @@ AnimationR8 = AnimationR7
|
||||
;--------------------------------------------------
|
||||
mva #>font_game_lower_left LowCharsetBase
|
||||
mwa #last_line_l lastline_addr
|
||||
mwa #gamescreen_l_ph2p2 animation_addr
|
||||
mwa #gamescreen_l_ph2p1 animation_addr
|
||||
jsr SetPMl2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p7 animation_addr
|
||||
mwa #gamescreen_l_ph2p7 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p5 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p8 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p9 animation_addr
|
||||
mwa #gamescreen_l_ph3p6 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p10 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p5 animation_addr
|
||||
mwa #gamescreen_l_ph2p8 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p9 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_l_ph1p2 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl1
|
||||
@@ -414,23 +404,23 @@ AnimationL8 = AnimationL7
|
||||
jsr SetPMr2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p10 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p7 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p8 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p9 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph3p10 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p5 animation_addr
|
||||
mwa #gamescreen_r_ph2p8 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_r_ph2p9 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_r_ph1p2 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMr1
|
||||
@@ -446,23 +436,23 @@ AnimationL8 = AnimationL7
|
||||
jsr SetPMl2
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p10 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p7 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl3
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p8 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p9 animation_addr
|
||||
jsr RestoreRedBar
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph3p10 animation_addr
|
||||
WaitForSync
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p5 animation_addr
|
||||
mwa #gamescreen_l_ph2p8 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl2
|
||||
jsr branches_go_down
|
||||
mwa #gamescreen_l_ph2p9 animation_addr
|
||||
WaitForSync
|
||||
mwa #gamescreen_l_ph1p2 animation_addr
|
||||
WaitForSync
|
||||
jsr SetPMl1
|
||||
|
||||
Reference in New Issue
Block a user