Made the Thick Club's effect use the new GET_BASE_SPECIES_ID macro
This commit is contained in:
parent
c90cbc0021
commit
a6b03d45a8
1 changed files with 2 additions and 3 deletions
|
@ -7116,9 +7116,8 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
|
|||
switch (GetBattlerHoldEffect(battlerAtk, TRUE))
|
||||
{
|
||||
case HOLD_EFFECT_THICK_CLUB:
|
||||
if ((gBattleMons[battlerAtk].species == SPECIES_CUBONE
|
||||
|| gBattleMons[battlerAtk].species == SPECIES_MAROWAK
|
||||
|| gBattleMons[battlerAtk].species == SPECIES_MAROWAK_ALOLAN)
|
||||
if ((GET_BASE_SPECIES_ID(battlerAtk) == SPECIES_CUBONE
|
||||
|| GET_BASE_SPECIES_ID(battlerAtk) == SPECIES_MAROWAK)
|
||||
&& IS_MOVE_PHYSICAL(move))
|
||||
MulModifier(&modifier, UQ_4_12(2.0));
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue