Uncommenting out No Retreat, Clangorous Soul, and Extreme Evoboost from CheckBadMove (#7541)
This commit is contained in:
parent
69cbd866aa
commit
9e49f55aaa
@ -2853,18 +2853,18 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score)
|
||||
|| GetBattlerWeight(battlerDef) >= 2000) //200.0 kg
|
||||
ADJUST_SCORE(-10);
|
||||
break;
|
||||
/*case EFFECT_NO_RETREAT:
|
||||
if (TrappedByNoRetreat(battlerAtk))
|
||||
case EFFECT_NO_RETREAT:
|
||||
if (gDisableStructs[battlerAtk].noRetreat)
|
||||
ADJUST_SCORE(-10);
|
||||
break;
|
||||
case EFFECT_EXTREME_EVOBOOST:
|
||||
if (MainStatsMaxed(battlerAtk))
|
||||
if (AreBattlersStatsMaxed(battlerAtk))
|
||||
ADJUST_SCORE(-10);
|
||||
break;
|
||||
case EFFECT_CLANGOROUS_SOUL:
|
||||
if (gBattleMons[battlerAtk].hp <= gBattleMons[battlerAtk].maxHP / 3)
|
||||
ADJUST_SCORE(-10);
|
||||
break;*/
|
||||
break;
|
||||
case EFFECT_REVIVAL_BLESSING:
|
||||
if (GetFirstFaintedPartyIndex(battlerAtk) == PARTY_SIZE)
|
||||
ADJUST_SCORE(-10);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user