Dynamaxed Pokemon do not get an -ate boost, TODO: write tests
This commit is contained in:
parent
1acddfa38a
commit
60720c0182
@ -5536,7 +5536,8 @@ void SetTypeBeforeUsingMove(u16 move, u8 battlerAtk)
|
||||
)
|
||||
{
|
||||
gBattleStruct->dynamicMoveType = ateType | F_DYNAMIC_TYPE_2;
|
||||
gBattleStruct->ateBoost[battlerAtk] = 1;
|
||||
if (!IsDynamaxed(battlerAtk))
|
||||
gBattleStruct->ateBoost[battlerAtk] = 1;
|
||||
}
|
||||
else if (gBattleMoves[move].type != TYPE_NORMAL
|
||||
&& gBattleMoves[move].effect != EFFECT_HIDDEN_POWER
|
||||
@ -5544,7 +5545,8 @@ void SetTypeBeforeUsingMove(u16 move, u8 battlerAtk)
|
||||
&& attackerAbility == ABILITY_NORMALIZE)
|
||||
{
|
||||
gBattleStruct->dynamicMoveType = TYPE_NORMAL | F_DYNAMIC_TYPE_2;
|
||||
gBattleStruct->ateBoost[battlerAtk] = 1;
|
||||
if (!IsDynamaxed(battlerAtk))
|
||||
gBattleStruct->ateBoost[battlerAtk] = 1;
|
||||
}
|
||||
else if (gBattleMoves[move].flags & FLAG_SOUND
|
||||
&& attackerAbility == ABILITY_LIQUID_VOICE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user