From 7a669565ccfed309f515ee6253fe582d19ccb1f1 Mon Sep 17 00:00:00 2001 From: TheXaman <48356183+TheXaman@users.noreply.github.com> Date: Tue, 14 Dec 2021 10:04:57 +0100 Subject: [PATCH] fixed the back button, didnt work as intended --- src/pokemon_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokemon_debug.c b/src/pokemon_debug.c index 029ee1447c..8fdf7003e1 100644 --- a/src/pokemon_debug.c +++ b/src/pokemon_debug.c @@ -1490,7 +1490,7 @@ static void Handle_Input_Debug_Pokemon(u8 taskId) SetConstSpriteValues(data); PrintInstructionsOnWindow(data); } - else if (JOY_HELD(B_BUTTON)) + else if (JOY_NEW(B_BUTTON)) { BeginNormalPaletteFade(PALETTES_ALL, 0, 0, 0x10, RGB_BLACK); gTasks[taskId].func = Exit_Debug_Pokemon;