mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-29 23:04:10 +01:00
Revert "Made Thousand Arrows bypass type immunity"
This commit is contained in:
parent
f8d3029537
commit
8a49d66622
@ -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…
x
Reference in New Issue
Block a user