From 6480fdbb9e006c0986edf366dda893b4e6987e55 Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 30 Mar 2024 16:46:30 -0400 Subject: [PATCH] Reformat JumpFeather hook in LinkItem_BugCatchingNet --- Items/jump_feather.asm | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/Items/jump_feather.asm b/Items/jump_feather.asm index c6e5106..3a7a320 100644 --- a/Items/jump_feather.asm +++ b/Items/jump_feather.asm @@ -1,18 +1,15 @@ -; ============================================================================= +; ========================================================= ; Zarby Feather org $07AFF8 ; LinkItem_BugCatchingNet { - BIT $3A : BVS .return ;if Y or B are already pressed - - LDA $6C : BNE .return ; if we are standing in a dooray or not - - ; Link_CheckNewY_ButtonPress - JSR $B073 : BCC .return ; Check if we just pressed Y Button - JSL NewBookCode - -.return - RTS + BIT $3A : BVS .return ;if Y or B are already pressed + LDA $6C : BNE .return ; if we are standing in a dooray or not + ; Link_CheckNewY_ButtonPress + JSR $B073 : BCC .return ; Check if we just pressed Y Button + JSL LinkItem_JumpFeather + .return + RTS } ; =============================================================================