housekeeping

This commit is contained in:
scawful
2023-01-15 17:05:16 -06:00
parent ca0504b046
commit a3d8fc9a1a
2 changed files with 48 additions and 34 deletions

View File

@@ -1,18 +1,25 @@
; =============================================================================
; Zarby Feather
org $07AFF8
{
BIT $3A : BVS .return ;if Y or B are already pressed
LDA $6C : BNE .return ; if we are standing in a dooray or not
JSR $B073 : BCC .return; Check if we just pressed Y Button ; Link_CheckNewY_ButtonPress
; Link_CheckNewY_ButtonPress
JSR $B073 : BCC .return ; Check if we just pressed Y Button
JSL NewBookCode
.return
RTS
}
; =============================================================================
org $348000
NewBookCode:
{
JSL $07983A ; Reset swim state
LDA $46 : BNE .cantuseit
LDA #$02 : STA $5D ; state recoil
@@ -47,3 +54,4 @@ LDA $F4 : AND #$01 : BEQ .noRight
.noRight
.cantuseit
RTL
}

View File

@@ -1,6 +1,10 @@
; =============================================================================
org $07A3DB
LinkItem_Flute:
; =============================================================================
org $07A313
LinkItem_ShovelAndFlute:
{
@@ -9,6 +13,8 @@ LinkItem_ShovelAndFlute:
BRL LinkItem_Flute
}
; =============================================================================
; TODO: Make sure there's no inaccessible code issues past here
; LinkItem_Shovel
org $07A32C