From: Lukas Krickl Date: Fri, 10 Oct 2025 04:41:56 +0000 (+0200) Subject: video: reverted rectangle despawn to use bottom corner X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=ce0d3947d887737c553e21fba24844f3d47ff165;p=gbrg%2F.git video: reverted rectangle despawn to use bottom corner This will need some rework later. Using the bottom corner caps the possible size of rectangles. --- 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