Merge pull request #2037 from ghoulslash/be/harvest

Fix harvest activation msg
This commit is contained in:
Eduardo Quezada D'Ottone 2022-01-16 16:34:49 -03:00 committed by GitHub
commit 8ce9b2241a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4577,6 +4577,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
&& gBattleStruct->changedItems[battler] == ITEM_NONE // Will not inherit an item
&& ItemId_GetPocket(GetUsedHeldItem(battler)) == POCKET_BERRIES)
{
gLastUsedItem = GetUsedHeldItem(battler);
BattleScriptPushCursorAndCallback(BattleScript_HarvestActivates);
effect++;
}