mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-30 14:20:42 +01:00
fixed heal party bug, thanks to jaizu for poitning it out
This commit is contained in:
parent
5bb92efa5b
commit
edc476f863
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user