Fixes dmax move base power not seen by ai (#5299)

This commit is contained in:
Alex 2024-09-01 18:07:18 +02:00 committed by GitHub
parent e09a59a7e4
commit 6648498e2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8820,6 +8820,9 @@ static inline u32 CalcMoveBasePower(u32 move, u32 battlerAtk, u32 battlerDef, u3
if (GetActiveGimmick(battlerAtk) == GIMMICK_Z_MOVE)
return GetZMovePower(gBattleStruct->zmove.baseMoves[battlerAtk]);
if (GetActiveGimmick(battlerAtk) == GIMMICK_DYNAMAX)
return GetMaxMovePower(move);
switch (gMovesInfo[move].effect)
{
case EFFECT_PLEDGE: