projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
482d58e
)
video: position adjustment now only affects enemies and the player
author
Lukas Krickl
<lukas@krickl.dev>
Sun, 5 Oct 2025 14:01:13 +0000
(16:01 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Sun, 5 Oct 2025 14:01:13 +0000
(16:01 +0200)
src/video.s
patch
|
blob
|
history
diff --git
a/src/video.s
b/src/video.s
index 7e5646bd325e5fe7cb309a906a518bbb4507767e..3975e712476d4e01be4f0eec02d7b005cfa940ee 100644
(file)
--- 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