From 0b81c08d8d1a795ea8e90c94619211bf3c4ca2f0 Mon Sep 17 00:00:00 2001 From: Christophe Parent Date: Thu, 8 Feb 2024 23:52:24 -0800 Subject: [PATCH] Remove JMP instruction to RTS --- src/main.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.asm b/src/main.asm index b8ab9fa..115bb3b 100644 --- a/src/main.asm +++ b/src/main.asm @@ -14111,7 +14111,7 @@ NotRsNum: sta Sprite_Tilenumber,y ; put tile numbers into both sprites lda #$fb ; that resemble "200" sta Sprite_Tilenumber+4,y - jmp ExJCGfx ; then jump to leave (why not an rts here instead?) + rts ; leave JumpingCoinTiles: .byte $60, $61, $62, $63 @@ -14142,7 +14142,6 @@ JCoinGfxHandler: lda #$82 sta Sprite_Attributes+4,y ; set attribute byte with vertical flip in second sprite ldx ObjectOffset ; get misc object offset -ExJCGfx: rts ; leave ;-------------------------------------------------------------------------------------