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,19 +2739,10 @@ void SetMoveEffect(bool32 primary, u32 certain)
|
||||
}
|
||||
break;
|
||||
case MOVE_EFFECT_FLINCH:
|
||||
if (GetBattlerAbility(gEffectBattler) == ABILITY_INNER_FOCUS)
|
||||
{
|
||||
if (primary == TRUE || certain == MOVE_EFFECT_CERTAIN)
|
||||
{
|
||||
gLastUsedAbility = ABILITY_INNER_FOCUS;
|
||||
RecordAbilityBattle(gEffectBattler, ABILITY_INNER_FOCUS);
|
||||
gBattlescriptCurrInstr = BattleScript_FlinchPrevention;
|
||||
}
|
||||
else
|
||||
if (gBattleMons[gEffectBattler].ability == ABILITY_INNER_FOCUS)
|
||||
{
|
||||
gBattlescriptCurrInstr++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GetBattlerTurnOrderNum(gEffectBattler) > gCurrentTurnActionNumber)
|
||||
|
Loading…
Reference in New Issue
Block a user