Merge pull request #2179 from LOuroboros/pinch
Removed global and unused IsPinchBerryItemEffect
This commit is contained in:
commit
24bb2f7ed0
1 changed files with 0 additions and 19 deletions
19
src/item.c
19
src/item.c
|
@ -948,25 +948,6 @@ u8 ItemId_GetSecondaryId(u16 itemId)
|
||||||
return gItems[SanitizeItemId(itemId)].secondaryId;
|
return gItems[SanitizeItemId(itemId)].secondaryId;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool32 IsPinchBerryItemEffect(u16 holdEffect)
|
|
||||||
{
|
|
||||||
switch (holdEffect)
|
|
||||||
{
|
|
||||||
case HOLD_EFFECT_ATTACK_UP:
|
|
||||||
case HOLD_EFFECT_DEFENSE_UP:
|
|
||||||
case HOLD_EFFECT_SPEED_UP:
|
|
||||||
case HOLD_EFFECT_SP_ATTACK_UP:
|
|
||||||
case HOLD_EFFECT_SP_DEFENSE_UP:
|
|
||||||
case HOLD_EFFECT_CRITICAL_UP:
|
|
||||||
case HOLD_EFFECT_RANDOM_STAT_UP:
|
|
||||||
case HOLD_EFFECT_CUSTAP_BERRY:
|
|
||||||
case HOLD_EFFECT_MICLE_BERRY:
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
u8 ItemId_GetFlingPower(u16 itemId)
|
u8 ItemId_GetFlingPower(u16 itemId)
|
||||||
{
|
{
|
||||||
return gItems[SanitizeItemId(itemId)].flingPower;
|
return gItems[SanitizeItemId(itemId)].flingPower;
|
||||||
|
|
Loading…
Reference in a new issue