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
commit 71dad6aec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: