Made MOVE_EFFECT_DIRE_CLAW a tiny bit prettier

This commit is contained in:
LOuroboros 2023-01-05 03:07:28 -03:00
parent 72566e6323
commit f39f48fc51

View File

@ -3654,11 +3654,7 @@ void SetMoveEffect(bool32 primary, u32 certain)
gBattlescriptCurrInstr = BattleScript_DoubleShockRemoveType;
break;
case MOVE_EFFECT_DIRE_CLAW:
if (gBattleMons[gEffectBattler].status1)
{
gBattlescriptCurrInstr++;
}
else
if (!gBattleMons[gEffectBattler].status1)
{
static const u8 sDireClawEffects[] = { MOVE_EFFECT_POISON, MOVE_EFFECT_PARALYSIS, MOVE_EFFECT_SLEEP };
gBattleScripting.moveEffect = sDireClawEffects[Random() % 3];