Cleanup Maku Tree

This commit is contained in:
scawful
2024-10-04 09:11:43 -04:00
parent c271be37f7
commit 25cf8bf7e3

View File

@@ -36,16 +36,16 @@
Sprite_MakuTree_Long: Sprite_MakuTree_Long:
{ {
PHB : PHK : PLB PHB : PHK : PLB
JSL Sprite_CheckActive ; Check if game is not paused JSL Sprite_CheckActive ; Check if game is not paused
BCC .SpriteIsNotActive ; Skip Main code is sprite is innactive BCC .SpriteIsNotActive ; Skip Main code is sprite is innactive
JSR Sprite_MakuTree_Main ; Call the main sprite code JSR Sprite_MakuTree_Main ; Call the main sprite code
.SpriteIsNotActive .SpriteIsNotActive
PLB ; Get back the databank we stored previously PLB ; Get back the databank we stored previously
RTL ; Go back to original code RTL ; Go back to original code
} }
; ========================================================= ; =========================================================
@@ -88,7 +88,6 @@ Sprite_MakuTree_Main:
LDA.l $7EF3D4 : CMP.b #$01 : BEQ .has_met_link LDA.l $7EF3D4 : CMP.b #$01 : BEQ .has_met_link
%GotoAction(1) %GotoAction(1)
RTS RTS
.has_met_link .has_met_link
%GotoAction(3) %GotoAction(3)
RTS RTS