aboutsummaryrefslogtreecommitdiff
path: root/.nasm
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-02 14:40:12 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-02 14:40:12 +0200
commitcb1111055f7b03989daac63675d27bfd156a4e21 (patch)
treea3038f24c830b053dc7b63e7935f63e0bd50f7b3 /.nasm
parentba2711cb490c26e05c1b8f6cd3e1d081309d15fd (diff)
downloadjetpac.nes-cb1111055f7b03989daac63675d27bfd156a4e21.tar.gz
jetpac.nes-cb1111055f7b03989daac63675d27bfd156a4e21.zip
Cycle the kind of shuttle to be used
In preparation to having multiple kinds of shuttles as in the original game, introduce the 'Globals::zp_shuttle_kind' variable, which is just a helper value by masking out the 'Globals::zp_level' variable. This in turn will be the index for selecting which tile IDs for each shuttle part. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to '.nasm')
-rw-r--r--.nasm/memory.txt7
-rw-r--r--.nasm/segments.txt2
2 files changed, 5 insertions, 4 deletions
diff --git a/.nasm/memory.txt b/.nasm/memory.txt
index b7a16bc..35133c5 100644
--- a/.nasm/memory.txt
+++ b/.nasm/memory.txt
@@ -22,8 +22,9 @@ $21: zp_prev
$22: zp_buttons
$24: zp_level
$25: zp_level_kind
-$26: zp_multiplayer
-$27: zp_extra_flags
+$26: zp_shuttle_kind
+$27: zp_multiplayer
+$28: zp_extra_flags
$2E: zp_blink_status
$2F: zp_blink_timer
$30: zp_title_timer
@@ -84,4 +85,4 @@ $4016: m_joypad
$4017: m_frame_counter
--- Summary (in bytes) ---
-- Internal RAM: 438/2048 (21.39%)
+- Internal RAM: 439/2048 (21.44%)
diff --git a/.nasm/segments.txt b/.nasm/segments.txt
index a741401..229318f 100644
--- a/.nasm/segments.txt
+++ b/.nasm/segments.txt
@@ -1,4 +1,4 @@
- HEADER: 16/16 (100%)
-- ROM0: 9120/32762 (27.84%)
+- ROM0: 9136/32762 (27.89%)
- ROMV: 6/6 (100%)
- ROM2: 8192/8192 (100%)