mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-19 01:44:20 +01:00
Moody small fix
This commit is contained in:
parent
ad481c8688
commit
726af8efaa
@ -3134,7 +3134,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA
|
|||||||
case ABILITY_MOODY:
|
case ABILITY_MOODY:
|
||||||
if (gDisableStructs[battler].isFirstTurn != 2)
|
if (gDisableStructs[battler].isFirstTurn != 2)
|
||||||
{
|
{
|
||||||
u32 validToRaise = 0, validToLower;
|
u32 validToRaise = 0, validToLower = 0;
|
||||||
u32 statsNum = (B_MOODY_ACC_EVASION != GEN_8) ? NUM_BATTLE_STATS : NUM_STATS;
|
u32 statsNum = (B_MOODY_ACC_EVASION != GEN_8) ? NUM_BATTLE_STATS : NUM_STATS;
|
||||||
|
|
||||||
for (i = STAT_ATK; i < statsNum; i++)
|
for (i = STAT_ATK; i < statsNum; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user