housekeeping
This commit is contained in:
@@ -1,18 +1,25 @@
|
|||||||
|
; =============================================================================
|
||||||
; Zarby Feather
|
; Zarby Feather
|
||||||
|
|
||||||
org $07AFF8
|
org $07AFF8
|
||||||
|
{
|
||||||
BIT $3A : BVS .return ;if Y or B are already pressed
|
BIT $3A : BVS .return ;if Y or B are already pressed
|
||||||
|
|
||||||
LDA $6C : BNE .return ; if we are standing in a dooray or not
|
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
|
JSL NewBookCode
|
||||||
|
|
||||||
.return
|
.return
|
||||||
RTS
|
RTS
|
||||||
|
}
|
||||||
|
|
||||||
|
; =============================================================================
|
||||||
|
|
||||||
org $348000
|
org $348000
|
||||||
NewBookCode:
|
NewBookCode:
|
||||||
|
{
|
||||||
JSL $07983A ; Reset swim state
|
JSL $07983A ; Reset swim state
|
||||||
LDA $46 : BNE .cantuseit
|
LDA $46 : BNE .cantuseit
|
||||||
LDA #$02 : STA $5D ; state recoil
|
LDA #$02 : STA $5D ; state recoil
|
||||||
@@ -47,3 +54,4 @@ LDA $F4 : AND #$01 : BEQ .noRight
|
|||||||
.noRight
|
.noRight
|
||||||
.cantuseit
|
.cantuseit
|
||||||
RTL
|
RTL
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
|
; =============================================================================
|
||||||
|
|
||||||
org $07A3DB
|
org $07A3DB
|
||||||
LinkItem_Flute:
|
LinkItem_Flute:
|
||||||
|
|
||||||
|
; =============================================================================
|
||||||
|
|
||||||
org $07A313
|
org $07A313
|
||||||
LinkItem_ShovelAndFlute:
|
LinkItem_ShovelAndFlute:
|
||||||
{
|
{
|
||||||
@@ -9,6 +13,8 @@ LinkItem_ShovelAndFlute:
|
|||||||
BRL LinkItem_Flute
|
BRL LinkItem_Flute
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; =============================================================================
|
||||||
|
|
||||||
; TODO: Make sure there's no inaccessible code issues past here
|
; TODO: Make sure there's no inaccessible code issues past here
|
||||||
; LinkItem_Shovel
|
; LinkItem_Shovel
|
||||||
org $07A32C
|
org $07A32C
|
||||||
|
|||||||
Reference in New Issue
Block a user