fix nightmare status only being healed in doubles
this came up in a conversation on discord. its not tested.
This commit is contained in:
parent
2eabcea86e
commit
7d4807d956
1 changed files with 3 additions and 2 deletions
|
@ -16506,9 +16506,10 @@ void BS_ItemCureStatus(void) {
|
|||
{
|
||||
gBattleMons[gBattlerAttacker].status2 &= ~GetItemStatus2Mask(gLastUsedItem);
|
||||
gBattlerTarget = BATTLE_PARTNER(gBattlerAttacker);
|
||||
}
|
||||
|
||||
if (GetItemStatus1Mask(gLastUsedItem) & STATUS1_SLEEP)
|
||||
gBattleMons[gBattlerAttacker].status2 &= ~STATUS2_NIGHTMARE;
|
||||
}
|
||||
|
||||
PREPARE_SPECIES_BUFFER(gBattleTextBuff1, GetMonData(&party[gBattleStruct->itemPartyIndex[gBattlerAttacker]], MON_DATA_SPECIES));
|
||||
gBattlescriptCurrInstr = cmd->nextInstr;
|
||||
|
|
Loading…
Reference in a new issue