Remove JMP instruction to RTS

develop
Christophe Parent 2024-05-29 00:39:00 -07:00
parent 59f2a9b312
commit 54d1bc7511
1 changed files with 1 additions and 2 deletions

View File

@ -14095,7 +14095,7 @@ NotRsNum:
sta Sprite_Tilenumber,y ; put tile numbers into both sprites sta Sprite_Tilenumber,y ; put tile numbers into both sprites
lda #$fb ; that resemble "200" lda #$fb ; that resemble "200"
sta Sprite_Tilenumber+4,y sta Sprite_Tilenumber+4,y
jmp ExJCGfx ; then jump to leave (why not an rts here instead?) rts ; leave
JumpingCoinTiles: JumpingCoinTiles:
.byte $60, $61, $62, $63 .byte $60, $61, $62, $63
@ -14126,7 +14126,6 @@ JCoinGfxHandler:
lda #$82 lda #$82
sta Sprite_Attributes+4,y ; set attribute byte with vertical flip in second sprite sta Sprite_Attributes+4,y ; set attribute byte with vertical flip in second sprite
ldx ObjectOffset ; get misc object offset ldx ObjectOffset ; get misc object offset
ExJCGfx:
rts ; leave rts ; leave
;------------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------------