mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 12:07:38 +01:00
Merge pull request #1435 from LOuroboros/defeatist
Fixed Defeatist's check
This commit is contained in:
commit
8bc91f9d23
@ -7350,7 +7350,7 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
|
||||
MulModifier(&modifier, UQ_4_12(1.5));
|
||||
break;
|
||||
case ABILITY_DEFEATIST:
|
||||
if (gBattleMons[battlerAtk].hp <= (gBattleMons[battlerDef].maxHP / 2))
|
||||
if (gBattleMons[battlerAtk].hp <= (gBattleMons[battlerAtk].maxHP / 2))
|
||||
MulModifier(&modifier, UQ_4_12(0.5));
|
||||
break;
|
||||
case ABILITY_FLASH_FIRE:
|
||||
|
Loading…
Reference in New Issue
Block a user