From 30332115e6e990ade1c3b4637567e0a9a9c7aa59 Mon Sep 17 00:00:00 2001 From: Pecusx Date: Tue, 11 Mar 2025 09:23:36 +0100 Subject: [PATCH] Faster --- art/animations.asm | 128 +++++---------------------------------------- lumber.xex | Bin 23042 -> 22408 bytes 2 files changed, 12 insertions(+), 116 deletions(-) diff --git a/art/animations.asm b/art/animations.asm index a488ac7..a6839a2 100644 --- a/art/animations.asm +++ b/art/animations.asm @@ -99,19 +99,10 @@ mwa #gamescreen_r_ph2p1 animation_addr jsr SetPMr2 WaitForSync - mwa #gamescreen_r_ph2p2 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p3 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p4 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_r_ph3p1 animation_addr - WaitForSync - jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p2 animation_addr WaitForSync + jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p3 animation_addr WaitForSync @@ -140,19 +131,10 @@ AnimationR2 = AnimationR1 mwa #gamescreen_l_ph2p1 animation_addr jsr SetPMl2 WaitForSync - mwa #gamescreen_l_ph2p2 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p3 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p4 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_l_ph3p1 animation_addr - WaitForSync - jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p2 animation_addr WaitForSync + jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p3 animation_addr WaitForSync @@ -181,19 +163,10 @@ AnimationL2 = AnimationL1 mwa #gamescreen_r_ph2p5 animation_addr jsr SetPMr2 WaitForSync - mwa #gamescreen_r_ph2p6 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p7 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p8 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_r_ph3p6 animation_addr - WaitForSync - jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p2 animation_addr WaitForSync + jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p3 animation_addr WaitForSync @@ -221,19 +194,10 @@ AnimationL2 = AnimationL1 mwa #gamescreen_l_ph2p5 animation_addr jsr SetPMl2 WaitForSync - mwa #gamescreen_l_ph2p6 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p7 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p8 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_l_ph3p6 animation_addr - WaitForSync - jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p2 animation_addr WaitForSync + jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p3 animation_addr WaitForSync @@ -261,19 +225,10 @@ AnimationL2 = AnimationL1 mwa #gamescreen_r_ph2p1 animation_addr jsr SetPMr2 WaitForSync - mwa #gamescreen_r_ph2p2 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p3 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p4 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_r_ph3p1 animation_addr - WaitForSync - jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p11 animation_addr WaitForSync + jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p12 animation_addr WaitForSync @@ -299,19 +254,10 @@ AnimationR5 = AnimationR4 mwa #gamescreen_l_ph2p1 animation_addr jsr SetPMl2 WaitForSync - mwa #gamescreen_l_ph2p2 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p3 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p4 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_l_ph3p1 animation_addr - WaitForSync - jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p11 animation_addr WaitForSync + jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p12 animation_addr WaitForSync @@ -337,19 +283,10 @@ AnimationL5 = AnimationL4 mwa #gamescreen_r_ph2p5 animation_addr jsr SetPMr2 WaitForSync - mwa #gamescreen_r_ph2p6 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p7 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p8 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_r_ph3p6 animation_addr - WaitForSync - jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p11 animation_addr WaitForSync + jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p12 animation_addr WaitForSync @@ -374,19 +311,10 @@ AnimationL5 = AnimationL4 mwa #gamescreen_l_ph2p5 animation_addr jsr SetPMl2 WaitForSync - mwa #gamescreen_l_ph2p6 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p7 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p8 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_l_ph3p6 animation_addr - WaitForSync - jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p11 animation_addr WaitForSync + jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p12 animation_addr WaitForSync @@ -411,17 +339,10 @@ AnimationL5 = AnimationL4 mwa #gamescreen_r_ph2p2 animation_addr jsr SetPMr2 WaitForSync - mwa #gamescreen_r_ph2p3 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p4 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_r_ph3p1 animation_addr - WaitForSync - jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p7 animation_addr WaitForSync + jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p8 animation_addr WaitForSync @@ -450,17 +371,10 @@ AnimationR8 = AnimationR7 mwa #gamescreen_l_ph2p2 animation_addr jsr SetPMl2 WaitForSync - mwa #gamescreen_l_ph2p3 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p4 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_l_ph3p1 animation_addr - WaitForSync - jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p7 animation_addr WaitForSync + jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p8 animation_addr WaitForSync @@ -489,19 +403,10 @@ AnimationL8 = AnimationL7 mwa #gamescreen_r_ph2p5 animation_addr jsr SetPMr2 WaitForSync - mwa #gamescreen_r_ph2p6 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p7 animation_addr - WaitForSync - mwa #gamescreen_r_ph2p8 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_r_ph3p6 animation_addr - WaitForSync - jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p7 animation_addr WaitForSync + jsr SetPMr3 jsr branches_go_down mwa #gamescreen_r_ph3p8 animation_addr WaitForSync @@ -529,19 +434,10 @@ AnimationL8 = AnimationL7 mwa #gamescreen_l_ph2p5 animation_addr jsr SetPMl2 WaitForSync - mwa #gamescreen_l_ph2p6 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p7 animation_addr - WaitForSync - mwa #gamescreen_l_ph2p8 animation_addr - jsr RestoreRedBar - WaitForSync - mwa #gamescreen_l_ph3p6 animation_addr - WaitForSync - jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p7 animation_addr WaitForSync + jsr SetPMl3 jsr branches_go_down mwa #gamescreen_l_ph3p8 animation_addr WaitForSync diff --git a/lumber.xex b/lumber.xex index 43a1f40fb75be2ca9aae9c3a8982c2ea900772a0..5c8bbf83233d9f0c1034b479078fc046bc14776c 100644 GIT binary patch delta 2617 zcmcguYfKzf6lP~xKxoK{HfdR_cPU0tv!SxJfF`X8)l%_M9u{J?V-*WV0<_vPcbIIY z43EW0TE`guu}!ndCSG)?q?+33nwn_ipf!^&@7E8Ft;UK=V!%gCJ$H7N-5IgzkK$&t zcfN1F`R1N;?!9L_KeY9pvVHJT4l^vAK9h6v{aGD+=$LvnnuT%%IkMyUUCjd8(u#W9 zNea4%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