Merge pull request #2533 from ghoulslash/be/aifix

Fix Helping Hand AI
This commit is contained in:
Eduardo Quezada D'Ottone 2022-12-21 16:17:52 -03:00 committed by GitHub
commit 341d2abdd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2702,7 +2702,7 @@ static s16 AI_DoubleBattle(u8 battlerAtk, u8 battlerDef, u16 move, s16 score)
switch (gBattleMoves[AI_DATA->partnerMove].effect)
{
case EFFECT_HELPING_HAND:
if (IS_MOVE_STATUS(move))
if (!IS_MOVE_STATUS(move))
score += 5;
break;
case EFFECT_PERISH_SONG: