Made Alolan Marowak be affected by Thick Club
This commit is contained in:
parent
0af8cab87e
commit
da1f525d45
2 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
||||||
#define SPECIES_ZYGARDE 0 // 50%
|
#define SPECIES_ZYGARDE 0 // 50%
|
||||||
#define SPECIES_ZYGARDE_10 10011 // 10 %
|
#define SPECIES_ZYGARDE_10 10011 // 10 %
|
||||||
#define SPECIES_ZYGARDE_COMPLETE 10012 // 100 %
|
#define SPECIES_ZYGARDE_COMPLETE 10012 // 100 %
|
||||||
|
#define SPECIES_MAROWAK_ALOLAN 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Items with peculiar battle effects.
|
// Items with peculiar battle effects.
|
||||||
|
|
|
@ -7006,7 +7006,10 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
|
||||||
switch (GetBattlerHoldEffect(battlerAtk, TRUE))
|
switch (GetBattlerHoldEffect(battlerAtk, TRUE))
|
||||||
{
|
{
|
||||||
case HOLD_EFFECT_THICK_CLUB:
|
case HOLD_EFFECT_THICK_CLUB:
|
||||||
if ((gBattleMons[battlerAtk].species == SPECIES_CUBONE || gBattleMons[battlerAtk].species == SPECIES_MAROWAK) && IS_MOVE_PHYSICAL(move))
|
if ((gBattleMons[battlerAtk].species == SPECIES_CUBONE
|
||||||
|
|| gBattleMons[battlerAtk].species == SPECIES_MAROWAK
|
||||||
|
|| gBattleMons[battlerAtk].species == SPECIES_MAROWAK_ALOLAN)
|
||||||
|
&& IS_MOVE_PHYSICAL(move))
|
||||||
MulModifier(&modifier, UQ_4_12(2.0));
|
MulModifier(&modifier, UQ_4_12(2.0));
|
||||||
break;
|
break;
|
||||||
case HOLD_EFFECT_DEEP_SEA_TOOTH:
|
case HOLD_EFFECT_DEEP_SEA_TOOTH:
|
||||||
|
|
Loading…
Reference in a new issue