Big Pecks

This commit is contained in:
Fontbane 2019-12-19 14:01:46 -05:00
parent 186822ed0c
commit 2fb6ea4fc4
2 changed files with 4 additions and 1 deletions

View file

@ -554,6 +554,8 @@ AI_CBM_AttackDown: @ 82DC387
AI_CBM_DefenseDown: @ 82DC39C AI_CBM_DefenseDown: @ 82DC39C
if_stat_level_equal AI_TARGET, STAT_DEF, 0, Score_Minus10 if_stat_level_equal AI_TARGET, STAT_DEF, 0, Score_Minus10
get_ability AI_TARGET
if_equal ABILITY_BIG_PECKS, Score_Minus10
goto CheckIfAbilityBlocksStatChange goto CheckIfAbilityBlocksStatChange
AI_CBM_SpeedDown: @ 82DC3A9 AI_CBM_SpeedDown: @ 82DC3A9

View file

@ -4262,7 +4262,8 @@ static void Cmd_playstatchangeanimation(void)
&& ability != ABILITY_CLEAR_BODY && ability != ABILITY_CLEAR_BODY
&& ability != ABILITY_WHITE_SMOKE && ability != ABILITY_WHITE_SMOKE
&& !(ability == ABILITY_KEEN_EYE && currStat == STAT_ACC) && !(ability == ABILITY_KEEN_EYE && currStat == STAT_ACC)
&& !(ability == ABILITY_HYPER_CUTTER && currStat == STAT_ATK)) && !(ability == ABILITY_HYPER_CUTTER && currStat == STAT_ATK)
&& !(ability == ABILITY_BIG_PECKS && currStat == STAT_DEF))
{ {
if (gBattleMons[gActiveBattler].statStages[currStat] > 0) if (gBattleMons[gActiveBattler].statStages[currStat] > 0)
{ {