From: Lukas Krickl Date: Sun, 5 Oct 2025 14:01:13 +0000 (+0200) Subject: video: position adjustment now only affects enemies and the player X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=46c5b199e77616bdbcf0bd3d41e91e87a92fa019;p=gbrg%2F.git video: position adjustment now only affects enemies and the player --- diff --git a/src/video.s b/src/video.s index 7e5646b..3975e71 100644 --- a/src/video.s +++ b/src/video.s @@ -75,8 +75,10 @@ video_map_adjust_scroll: ; adjusts all actors and rectangles positions ; when a scroll occurs scroll_up_adjust: - ld b, ACTS_MAX - ld hl, actors + ; only adjust enemies + ; do not adjust projectiles or player here + ld b, ACTS_ENEMY + ld hl, actors_enemy @act_loop: push hl