aboutsummaryrefslogtreecommitdiff
path: root/space/src/space.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-03-10 22:52:15 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-03-10 22:52:15 +0100
commit1a74e6a1856673072a61abd0861759901bc2d939 (patch)
treebb1b54a7c27280d7d9e83c031233dd8402f1e721 /space/src/space.s
parentff22231f8a2f3714df701fd7c12b07915adc15e9 (diff)
downloadcode.nes-1a74e6a1856673072a61abd0861759901bc2d939.tar.gz
code.nes-1a74e6a1856673072a61abd0861759901bc2d939.zip
Bring code style to better standards
Be more careful on everything and try to follow along style.nes from my repository. This might change in the future, but it's in a much better state now. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'space/src/space.s')
-rw-r--r--space/src/space.s5
1 files changed, 2 insertions, 3 deletions
diff --git a/space/src/space.s b/space/src/space.s
index 1d39e7a..4db273d 100644
--- a/space/src/space.s
+++ b/space/src/space.s
@@ -9,7 +9,6 @@
;;
;; The subpixel movement is largely based on:
;; https://github.com/NesHacker/PlatformerMovement.
-;;;
.segment "HEADER"
.byte 'N', 'E', 'S', $1A
@@ -77,10 +76,10 @@
jsr Bullets::update
;; This is a hand-shake between the code on `main` and the code on the
- ;; `nmi`. See Game::flags for more.
+ ;; `nmi`. See Game::zp_flags for more.
SET_RENDER_FLAG
@wait_for_render:
- bit Game::flags
+ bit Game::zp_flags
bmi @wait_for_render
;; Rendering is done, we can perform another iteration of the loop!