From ce0d3947d887737c553e21fba24844f3d47ff165 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Fri, 10 Oct 2025 06:41:56 +0200 Subject: [PATCH] video: reverted rectangle despawn to use bottom corner This will need some rework later. Using the bottom corner caps the possible size of rectangles. --- src/video.s | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/video.s b/src/video.s index 33f3bc4..d584386 100644 --- a/src/video.s +++ b/src/video.s @@ -151,11 +151,7 @@ scroll_up_adjust: pop de push de - ; go to r_h - inc hl ; hl = r_h - sub a, [hl] - capunderflow - ; despawn if *top* corner is far off-screen + ; despawn if *bottom* corner is far off-screen cp a, 0xA0 call nc, rect_despawn -- 2.30.2