mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
Merge pull request #1969 from LOuroboros/patch-2
Removed ITEM_ENIGMA_BERRY_E_READER usage
This commit is contained in:
commit
ae1d124a0c
@ -3169,11 +3169,7 @@ void SetMoveEffect(bool32 primary, u32 certain)
|
|||||||
RecordAbilityBattle(gBattlerTarget, gLastUsedAbility);
|
RecordAbilityBattle(gBattlerTarget, gLastUsedAbility);
|
||||||
}
|
}
|
||||||
else if (gBattleMons[gBattlerAttacker].item != 0
|
else if (gBattleMons[gBattlerAttacker].item != 0
|
||||||
#ifdef ITEM_EXPANSION
|
|
||||||
|| gBattleMons[gBattlerTarget].item == ITEM_ENIGMA_BERRY_E_READER
|
|
||||||
#else
|
|
||||||
|| gBattleMons[gBattlerTarget].item == ITEM_ENIGMA_BERRY
|
|| gBattleMons[gBattlerTarget].item == ITEM_ENIGMA_BERRY
|
||||||
#endif
|
|
||||||
|| gBattleMons[gBattlerTarget].item == 0)
|
|| gBattleMons[gBattlerTarget].item == 0)
|
||||||
{
|
{
|
||||||
gBattlescriptCurrInstr++;
|
gBattlescriptCurrInstr++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user