From 2fb6ea4fc484754f061c6c505c35c8535717ee36 Mon Sep 17 00:00:00 2001 From: Fontbane <36677462+Fontbane@users.noreply.github.com> Date: Thu, 19 Dec 2019 14:01:46 -0500 Subject: [PATCH] Big Pecks --- data/battle_ai_scripts.s | 2 ++ src/battle_script_commands.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/data/battle_ai_scripts.s b/data/battle_ai_scripts.s index 39e96f5cd2..91c0917771 100644 --- a/data/battle_ai_scripts.s +++ b/data/battle_ai_scripts.s @@ -554,6 +554,8 @@ AI_CBM_AttackDown: @ 82DC387 AI_CBM_DefenseDown: @ 82DC39C if_stat_level_equal AI_TARGET, STAT_DEF, 0, Score_Minus10 + get_ability AI_TARGET + if_equal ABILITY_BIG_PECKS, Score_Minus10 goto CheckIfAbilityBlocksStatChange AI_CBM_SpeedDown: @ 82DC3A9 diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index eb95ea07e6..6d3f94825d 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -4262,7 +4262,8 @@ static void Cmd_playstatchangeanimation(void) && ability != ABILITY_CLEAR_BODY && ability != ABILITY_WHITE_SMOKE && !(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) {