mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 12:07:38 +01:00
Removed the BattleScript from Inner Focus
Any questions shall be directed to Mr. Junichi Masuda.
This commit is contained in:
parent
480e6a1ffc
commit
4d773ef40c
@ -2739,18 +2739,9 @@ void SetMoveEffect(bool32 primary, u32 certain)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MOVE_EFFECT_FLINCH:
|
case MOVE_EFFECT_FLINCH:
|
||||||
if (GetBattlerAbility(gEffectBattler) == ABILITY_INNER_FOCUS)
|
if (gBattleMons[gEffectBattler].ability == ABILITY_INNER_FOCUS)
|
||||||
{
|
{
|
||||||
if (primary == TRUE || certain == MOVE_EFFECT_CERTAIN)
|
gBattlescriptCurrInstr++;
|
||||||
{
|
|
||||||
gLastUsedAbility = ABILITY_INNER_FOCUS;
|
|
||||||
RecordAbilityBattle(gEffectBattler, ABILITY_INNER_FOCUS);
|
|
||||||
gBattlescriptCurrInstr = BattleScript_FlinchPrevention;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
gBattlescriptCurrInstr++;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user