Rocky Helmet softlock fix
This commit is contained in:
parent
5698af3742
commit
59ddebd727
1 changed files with 1 additions and 0 deletions
|
@ -4891,6 +4891,7 @@ u8 ItemBattleEffects(u8 caseID, u8 battlerId, bool8 moveTurn)
|
|||
case HOLD_EFFECT_ROCKY_HELMET:
|
||||
if (TARGET_TURN_DAMAGED
|
||||
&& IsMoveMakingContact(gCurrentMove, gBattlerAttacker)
|
||||
&& IsBattlerAlive(gBattlerAttacker)
|
||||
&& GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD)
|
||||
{
|
||||
gBattleMoveDamage = gBattleMons[gBattlerAttacker].maxHP / 6;
|
||||
|
|
Loading…
Reference in a new issue