Merge pull request #2384 from May8th1995/confuseAI

Fix AI issue giving decrementing score to confuse hit instead of confuse
This commit is contained in:
Eduardo Quezada D'Ottone
2022-10-13 12:16:00 -03:00
committed by GitHub

View File

@@ -1333,7 +1333,7 @@ bool32 IsConfusionMoveEffect(u16 moveEffect)
{
switch (moveEffect)
{
case EFFECT_CONFUSE_HIT:
case EFFECT_CONFUSE:
case EFFECT_SWAGGER:
case EFFECT_FLATTER:
case EFFECT_TEETER_DANCE: