mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-11 16:22:19 +01:00
Made Thousand Arrows bypass type immunity
This commit is contained in:
parent
d270dee6bc
commit
228f711bf6
@ -7872,7 +7872,11 @@ static u16 CalcTypeEffectivenessMultiplierInternal(u16 move, u8 moveType, u8 bat
|
||||
|
||||
if (moveType == TYPE_GROUND && !IsBattlerGrounded(battlerDef))
|
||||
{
|
||||
modifier = UQ_4_12(0.0);
|
||||
if (move == MOVE_THOUSAND_ARROWS)
|
||||
modifier = UQ_4_12(1.0);
|
||||
else
|
||||
modifier = UQ_4_12(0.0);
|
||||
|
||||
if (recordAbilities && GetBattlerAbility(battlerDef) == ABILITY_LEVITATE)
|
||||
{
|
||||
gLastUsedAbility = ABILITY_LEVITATE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user