From cb1111055f7b03989daac63675d27bfd156a4e21 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 2 Apr 2026 14:40:12 +0200 Subject: Cycle the kind of shuttle to be used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- .nasm/memory.txt | 7 ++++--- .nasm/segments.txt | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to '.nasm') 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%) -- cgit v1.2.3