From ec785dafb6f9fb388d41444b25e3b3fdaff793a1 Mon Sep 17 00:00:00 2001 From: scawful Date: Thu, 21 Nov 2024 15:09:56 -0500 Subject: [PATCH] Clear new inputs and add timer check to new R button press --- Masks/mask_routines.asm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Masks/mask_routines.asm b/Masks/mask_routines.asm index 8209b66..66c6ea9 100644 --- a/Masks/mask_routines.asm +++ b/Masks/mask_routines.asm @@ -1361,11 +1361,14 @@ CheckForTwoWayMirror: CheckNewRButtonPress: { + ; F6 is the NEW input from the current frame + ; For the AXLR buttons + ; $1A is a timer which increases every frame the game is not lagging LDA $F6 : BIT #$10 : BEQ .fail - - SEC - RTL - + STZ $F6 + LDA $1A : AND #$0F : BEQ .fail + SEC + RTL .fail CLC RTL