From 4325d62abd35b4f0617a4e3ac0e70ce08e8325d5 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Tue, 18 Oct 2022 18:35:00 -0400 Subject: [PATCH] Prevent Mario from trying to move in the main menu (#206) * Fixing my mistakes * Re-add stickX/Y resets --- src/game/level_update.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/level_update.c b/src/game/level_update.c index c880558e..570263b8 100644 --- a/src/game/level_update.c +++ b/src/game/level_update.c @@ -1477,6 +1477,8 @@ void update_menu_level(void) { gMarioState->controller->rawStickY = 0; gMarioState->controller->stickX = 0; gMarioState->controller->stickY = 0; + gMarioState->controller->stickMag = 0; + gMarioState->intendedMag = 0; // figure out music if (!configMenuSound || curLevel == LEVEL_CASTLE_GROUNDS) {