From 0c5af85cc0cb9bb39a3a72548e735b92daf0a28f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 4 Mar 2026 22:53:35 +0100 Subject: Add collision with the player MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows for explosions to run after making the player to disappear, and it re-runs the entering scene timer. Signed-off-by: Miquel Sabaté Solà --- .nasm/memory.txt | 9 ++++++++- .nasm/segments.txt | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to '.nasm') diff --git a/.nasm/memory.txt b/.nasm/memory.txt index c52be55..9f9f561 100644 --- a/.nasm/memory.txt +++ b/.nasm/memory.txt @@ -20,6 +20,7 @@ $34: zp_first_bullet $35: zp_bullet_timer $36: zp_first_enemy $37: zp_next_enemy_cycle +$38: zp_moved_out $40: zp_screen_y $41-$42: zp_position_y $44: zp_velocity_y @@ -30,9 +31,11 @@ $50: zp_state $51: zp_walk_counter $60-$6B: zp_enemies_pool_base $70-$7B: zp_pool_base +$7C: zp_active $80: zp_control $81: zp_mask $A0-$BD: zp_bullets_pool_base +$CF: zp_player_tile_bottom $D0: zp_enemies_pool_size $D1: zp_enemy_tiles $D2-$D3: zp_enemy_movement_fn @@ -43,6 +46,10 @@ $E1: zp_last_allocated_index $E2: zp_current_bullet_y $E3: zp_current_bullet_x $F0-$FB: zp_current_tiles +$FC: zp_player_tile_left +$FD: zp_player_tile_right +$FE: zp_player_tile_top +$FF: zp_player_tile_waist $0200-$02FF: m_sprites $2000: m_control $2001: m_mask @@ -57,4 +64,4 @@ $4016: m_joypad1 $4017: m_frame_counter --- Summary (in bytes) --- -- Internal RAM: 366/2048 (17.87%) +- Internal RAM: 373/2048 (18.21%) diff --git a/.nasm/segments.txt b/.nasm/segments.txt index ab31677..a9fd7db 100644 --- a/.nasm/segments.txt +++ b/.nasm/segments.txt @@ -1,4 +1,4 @@ - HEADER: 16/16 (100%) -- ROM0: 5854/32762 (17.87%) +- ROM0: 6085/32762 (18.57%) - ROMV: 6/6 (100%) - ROM2: 8192/8192 (100%) -- cgit v1.2.3