fixed heal party bug, thanks to jaizu for poitning it out

This commit is contained in:
TheXaman 2020-11-30 11:29:13 +01:00
parent 5bb92efa5b
commit edc476f863

View File

@ -683,6 +683,7 @@ static void DebugAction_Util_HealParty(u8 taskId)
{ {
PlaySE(SE_USE_ITEM); PlaySE(SE_USE_ITEM);
HealPlayerParty(); HealPlayerParty();
EnableBothScriptContexts();
Debug_DestroyMenu(taskId); Debug_DestroyMenu(taskId);
} }
static void DebugAction_Util_Fly(u8 taskId) static void DebugAction_Util_Fly(u8 taskId)
@ -944,8 +945,8 @@ static void DebugAction_Util_Trainer_Gender(u8 taskId)
gSaveBlock2Ptr->playerGender = 1; gSaveBlock2Ptr->playerGender = 1;
else else
gSaveBlock2Ptr->playerGender = 0; gSaveBlock2Ptr->playerGender = 0;
Debug_DestroyMenu(taskId);
EnableBothScriptContexts(); EnableBothScriptContexts();
Debug_DestroyMenu(taskId);
} }
static void DebugAction_Util_Trainer_Id(u8 taskId) static void DebugAction_Util_Trainer_Id(u8 taskId)
{ {