aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-02-03 21:40:46 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-02-03 21:49:34 +0100
commit4ef68e136eb6276cd7dc39426720ce5d7e87d2d4 (patch)
tree69e76ecfb26bd4663ae66f0f1ddc5958fb1e71e1
parent26bcd31f15812022d448a894b7a5954710e104cd (diff)
downloadjetpac.nes-4ef68e136eb6276cd7dc39426720ce5d7e87d2d4.tar.gz
jetpac.nes-4ef68e136eb6276cd7dc39426720ce5d7e87d2d4.zip
Increase the upper Y limit for sprites
Some sprites like enemies and objects are meant to appear maximum at a certain Y coordinate. Increase that as the former could mean sprites going on about the scores, whereas that shouldn't be possible. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
-rw-r--r--src/background.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background.s b/src/background.s
index 26d38c6..a9dfbaf 100644
--- a/src/background.s
+++ b/src/background.s
@@ -3,7 +3,7 @@
.scope Background
;; Screen coordinate on the Y axis where elements can begin to appear (e.g.
;; upper bound for new enemies, starting point for falling items, etc.).
- UPPER_MARGIN_Y_COORD = $10
+ UPPER_MARGIN_Y_COORD = $1A
;; Screen coordinates on the Y axis for the ground.
GROUND_Y_COORD = $C8