From 6ee6c7512bdbc836642dfdd607854faced55dfc3 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 8 Jul 2026 09:31:14 +0200 Subject: Remove unused labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since commit 6a9dea943c07 ("Add a new 'check' stage in assemble()"), nasm is now able to detect unused labels. This was then tried on this repository the cleanup labels which were never used. Signed-off-by: Miquel Sabaté Solà --- src/player.s | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/player.s') diff --git a/src/player.s b/src/player.s index 5060e87..e230fab 100644 --- a/src/player.s +++ b/src/player.s @@ -474,7 +474,6 @@ sbc #0 sta zp_position_x + 1 - @end: rts .endproc @@ -739,7 +738,7 @@ cmp #2 beq @animation2 ;; NOTE: fallthrough for either 0 or even buggy states. - @still: + ldx #$21 ldy #$20 bne @heading @@ -861,7 +860,6 @@ ora #%00001000 sta Player::zp_state - @skip_life_update: ;; Move the player's sprites out of the screen. ldx #0 lda #$FF -- cgit v1.2.3