Revert "Made Thousand Arrows bypass type immunity"
This commit is contained in:
parent
f8d3029537
commit
8a49d66622
1 changed files with 1 additions and 5 deletions
|
@ -7871,11 +7871,7 @@ static u16 CalcTypeEffectivenessMultiplierInternal(u16 move, u8 moveType, u8 bat
|
||||||
|
|
||||||
if (moveType == TYPE_GROUND && !IsBattlerGrounded(battlerDef))
|
if (moveType == TYPE_GROUND && !IsBattlerGrounded(battlerDef))
|
||||||
{
|
{
|
||||||
if (move == MOVE_THOUSAND_ARROWS)
|
modifier = UQ_4_12(0.0);
|
||||||
modifier = UQ_4_12(1.0);
|
|
||||||
else
|
|
||||||
modifier = UQ_4_12(0.0);
|
|
||||||
|
|
||||||
if (recordAbilities && GetBattlerAbility(battlerDef) == ABILITY_LEVITATE)
|
if (recordAbilities && GetBattlerAbility(battlerDef) == ABILITY_LEVITATE)
|
||||||
{
|
{
|
||||||
gLastUsedAbility = ABILITY_LEVITATE;
|
gLastUsedAbility = ABILITY_LEVITATE;
|
||||||
|
|
Loading…
Reference in a new issue