mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
Update battle_util.c
This commit is contained in:
parent
b4db3b6a81
commit
8f8705929a
@ -7769,7 +7769,6 @@ u8 ItemBattleEffects(u8 caseID, u8 battlerId, bool8 moveTurn)
|
|||||||
effect = ItemHealHp(battlerId, gLastUsedItem, TRUE, TRUE);
|
effect = ItemHealHp(battlerId, gLastUsedItem, TRUE, TRUE);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case HOLD_EFFECT_JABOCA_BERRY: // consume and damage attacker if used physical move
|
case HOLD_EFFECT_JABOCA_BERRY: // consume and damage attacker if used physical move
|
||||||
if (IsBattlerAlive(battlerId)
|
if (IsBattlerAlive(battlerId)
|
||||||
&& TARGET_TURN_DAMAGED
|
&& TARGET_TURN_DAMAGED
|
||||||
|
Loading…
Reference in New Issue
Block a user