From edc476f863fedf9ec43d9005a08edf3e0e61e3c2 Mon Sep 17 00:00:00 2001 From: TheXaman Date: Mon, 30 Nov 2020 11:29:13 +0100 Subject: [PATCH] fixed heal party bug, thanks to jaizu for poitning it out --- src/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index c4d5b1ecf9..e0db6988ef 100644 --- a/src/debug.c +++ b/src/debug.c @@ -683,6 +683,7 @@ static void DebugAction_Util_HealParty(u8 taskId) { PlaySE(SE_USE_ITEM); HealPlayerParty(); + EnableBothScriptContexts(); Debug_DestroyMenu(taskId); } static void DebugAction_Util_Fly(u8 taskId) @@ -944,8 +945,8 @@ static void DebugAction_Util_Trainer_Gender(u8 taskId) gSaveBlock2Ptr->playerGender = 1; else gSaveBlock2Ptr->playerGender = 0; - Debug_DestroyMenu(taskId); EnableBothScriptContexts(); + Debug_DestroyMenu(taskId); } static void DebugAction_Util_Trainer_Id(u8 taskId) {