Add a uniquely striking pair of brackets (#6068)

This commit is contained in:
Pawkkie 2025-01-20 17:53:21 -05:00 committed by GitHub
parent 27c8ec07c2
commit 8184737868
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5410,6 +5410,7 @@ static s32 AI_PredictSwitch(u32 battlerAtk, u32 battlerDef, u32 move, s32 score)
switch (moveEffect)
{
case EFFECT_PURSUIT:
{
u32 hitsToKO = GetNoOfHitsToKOBattler(battlerAtk, battlerDef, AI_THINKING_STRUCT->movesetIndex);
if (hitsToKO == 2)
ADJUST_SCORE(GOOD_EFFECT);
@ -5418,6 +5419,7 @@ static s32 AI_PredictSwitch(u32 battlerAtk, u32 battlerDef, u32 move, s32 score)
// else if (IsPredictedToUsePursuitableMove(battlerDef, battlerAtk) && !MoveWouldHitFirst(move, battlerAtk, battlerDef)) //Pursuit against fast U-Turn
// ADJUST_SCORE(GOOD_EFFECT);
break;
}
case EFFECT_FOCUS_PUNCH:
ADJUST_SCORE(DECENT_EFFECT);