cleanup maku tree

This commit is contained in:
scawful
2024-07-05 17:26:31 -04:00
parent a1bd408711
commit 4d18be2777

View File

@@ -51,10 +51,10 @@ Sprite_MakuTree_Long:
Sprite_MakuTree_Prep: Sprite_MakuTree_Prep:
{ {
PHB : PHK : PLB PHB : PHK : PLB
PLB PLB
RTL RTL
} }
; ========================================================= ; =========================================================
@@ -68,19 +68,19 @@ Sprite_MakuTree_Main:
dw MakuTree_Handler dw MakuTree_Handler
dw MakuTree_MeetLink dw MakuTree_MeetLink
dw MakuTree_GiveMoonPearl dw MakuTree_SpawnHeartContainer
dw MakuTree_HasMetLink dw MakuTree_HasMetLink
MakuTree_Handler: MakuTree_Handler:
{ {
; Check the progress flags ; Check the progress flags
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
} }
MakuTree_MeetLink: MakuTree_MeetLink:
@@ -94,7 +94,7 @@ Sprite_MakuTree_Main:
RTS RTS
} }
MakuTree_GiveMoonPearl: MakuTree_SpawnHeartContainer:
{ {
; Give Link a heart container ; Give Link a heart container
LDY #$3E : JSL Link_ReceiveItem LDY #$3E : JSL Link_ReceiveItem