From 2347cf8ef8236692149770ac868cfcacd9647e46 Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 7 Jul 2024 17:27:50 -0400 Subject: [PATCH] prevent dashing as deku link --- Masks/mask_routines.asm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Masks/mask_routines.asm b/Masks/mask_routines.asm index 35678cf..437e0e7 100644 --- a/Masks/mask_routines.asm +++ b/Masks/mask_routines.asm @@ -502,6 +502,16 @@ DekuLink_HoverBasedOnInput: RTL } +DekuLink_CheckForDash: +{ + LDA.w $02B2 : CMP.b #$01 : BNE + + STZ.b $F2 + + + LDA.b #$00 + STA.b $4F + RTL +} + pushpc org $088399 @@ -512,6 +522,9 @@ org $08FFDA ; Bank 08 Free space JSL Ancilla0E_MagicBubbleLong RTS +org $07903F + JSL DekuLink_CheckForDash + pullpc DekuLink_ShootBubbleOrStartHover: