Merge pull request #2037 from ghoulslash/be/harvest
Fix harvest activation msg
This commit is contained in:
commit
8ce9b2241a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
&& gBattleStruct->changedItems[battler] == ITEM_NONE // Will not inherit an item
|
||||||
&& ItemId_GetPocket(GetUsedHeldItem(battler)) == POCKET_BERRIES)
|
&& ItemId_GetPocket(GetUsedHeldItem(battler)) == POCKET_BERRIES)
|
||||||
{
|
{
|
||||||
|
gLastUsedItem = GetUsedHeldItem(battler);
|
||||||
BattleScriptPushCursorAndCallback(BattleScript_HarvestActivates);
|
BattleScriptPushCursorAndCallback(BattleScript_HarvestActivates);
|
||||||
effect++;
|
effect++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue