From 20e0098013c92f55cd00b5c711e956e27917c95b Mon Sep 17 00:00:00 2001 From: Pecusx Date: Sun, 2 Mar 2025 00:18:41 +0100 Subject: [PATCH] Power flash --- art/animations.asm | 12 ++++++++++++ lumber.asm | 8 ++++++++ lumber.xex | Bin 19809 -> 19856 bytes 3 files changed, 20 insertions(+) diff --git a/art/animations.asm b/art/animations.asm index 46a868d..bc1b5c7 100644 --- a/art/animations.asm +++ b/art/animations.asm @@ -103,6 +103,7 @@ mwa #gamescreen_r_ph2p3 animation_addr waitRTC mwa #gamescreen_r_ph2p4 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_r_ph3p1 animation_addr waitRTC @@ -138,6 +139,7 @@ AnimationR2 = AnimationR1 mwa #gamescreen_l_ph2p3 animation_addr waitRTC mwa #gamescreen_l_ph2p4 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_l_ph3p1 animation_addr waitRTC @@ -173,6 +175,7 @@ AnimationL2 = AnimationL1 mwa #gamescreen_r_ph2p7 animation_addr waitRTC mwa #gamescreen_r_ph2p8 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_r_ph3p6 animation_addr waitRTC @@ -207,6 +210,7 @@ AnimationL2 = AnimationL1 mwa #gamescreen_l_ph2p7 animation_addr waitRTC mwa #gamescreen_l_ph2p8 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_l_ph3p6 animation_addr waitRTC @@ -241,6 +245,7 @@ AnimationL2 = AnimationL1 mwa #gamescreen_r_ph2p3 animation_addr waitRTC mwa #gamescreen_r_ph2p4 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_r_ph3p1 animation_addr waitRTC @@ -274,6 +279,7 @@ AnimationR5 = AnimationR4 mwa #gamescreen_l_ph2p3 animation_addr waitRTC mwa #gamescreen_l_ph2p4 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_l_ph3p1 animation_addr waitRTC @@ -307,6 +313,7 @@ AnimationL5 = AnimationL4 mwa #gamescreen_r_ph2p7 animation_addr waitRTC mwa #gamescreen_r_ph2p8 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_r_ph3p6 animation_addr waitRTC @@ -339,6 +346,7 @@ AnimationL5 = AnimationL4 mwa #gamescreen_l_ph2p7 animation_addr waitRTC mwa #gamescreen_l_ph2p8 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_l_ph3p6 animation_addr waitRTC @@ -371,6 +379,7 @@ AnimationL5 = AnimationL4 mwa #gamescreen_r_ph2p3 animation_addr waitRTC mwa #gamescreen_r_ph2p4 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_r_ph3p1 animation_addr waitRTC @@ -406,6 +415,7 @@ AnimationR8 = AnimationR7 mwa #gamescreen_l_ph2p3 animation_addr waitRTC mwa #gamescreen_l_ph2p4 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_l_ph3p1 animation_addr waitRTC @@ -441,6 +451,7 @@ AnimationL8 = AnimationL7 mwa #gamescreen_r_ph2p7 animation_addr waitRTC mwa #gamescreen_r_ph2p8 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_r_ph3p6 animation_addr waitRTC @@ -475,6 +486,7 @@ AnimationL8 = AnimationL7 mwa #gamescreen_l_ph2p7 animation_addr waitRTC mwa #gamescreen_l_ph2p8 animation_addr + jsr RestoreRedBar waitRTC mwa #gamescreen_l_ph3p6 animation_addr waitRTC diff --git a/lumber.asm b/lumber.asm index ad1764c..0dc665c 100644 --- a/lumber.asm +++ b/lumber.asm @@ -453,6 +453,13 @@ LevelOver bpl @- rts .endp + +;-------------------------------------------------- +.proc RestoreRedBar +;-------------------------------------------------- + mva #$38 COLOR2 ; red + rts +.endp ;-------------------------------------------------- .proc initialize ;-------------------------------------------------- @@ -621,6 +628,7 @@ not_max_lev ;-------------------------------------------------- .proc PowerUp ;-------------------------------------------------- + mva #$3F COLOR2 ; red inc PowerValue lda PowerValue cmp #49 diff --git a/lumber.xex b/lumber.xex index a6f1a79002181767739c6d9cf92fc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