From 4d86c45506504d6cf23d826ed47a28e18e18191c Mon Sep 17 00:00:00 2001
From: Yahya14 <yahyathai@gmail.com>
Date: Tue, 18 Jul 2017 17:57:59 -0400
Subject: [PATCH] Another fix for splatoon's in-game menu bug

---
 src/patcher/gambit_functions.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/patcher/gambit_functions.c b/src/patcher/gambit_functions.c
index abece13..bfc7c47 100644
--- a/src/patcher/gambit_functions.c
+++ b/src/patcher/gambit_functions.c
@@ -15,7 +15,7 @@ void gambitDRC()
 {
 	if (*inkstrikeEq == 2 && *spTimer != 0)
 		swapForce = 1;
-	else if (AButton && *ptr2 > 0x1C000000)
+	else if (AButton)
 		swapForce = 1;
 	else
 		swapForce = 0;
@@ -135,5 +135,9 @@ void gambitPatches(VPADData *buffer)
 				touchVal = D_NEUTRAL;
 			}
 		}
+		else
+		{
+			AButton = false;
+		}
 	}
 }