Add check for MULTI_HIT moves in IsMoveAffectedByParentalBond (#4570)

This commit is contained in:
Isaac Rivera 2024-05-14 07:32:44 -04:00 committed by GitHub
parent 9cd3fbb232
commit dd6e91eaf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15778,7 +15778,8 @@ bool32 IsMoveAffectedByParentalBond(u32 move, u32 battler)
if (move != MOVE_NONE && move != MOVE_UNAVAILABLE && move != MOVE_STRUGGLE
&& !gMovesInfo[move].parentalBondBanned
&& gMovesInfo[move].category != DAMAGE_CATEGORY_STATUS
&& gMovesInfo[move].strikeCount < 2)
&& gMovesInfo[move].strikeCount < 2
&& gMovesInfo[move].effect != EFFECT_MULTI_HIT)
{
if (gBattleTypeFlags & BATTLE_TYPE_DOUBLE)
{