Lum berry should cure status and confusion if possible
This commit is contained in:
parent
2b4dc9a4f0
commit
6016243caf
|
@ -114,7 +114,8 @@ export function getBerryEffectFunc(berryType: BerryType): BerryEffectFunc {
|
||||||
pokemon.scene.queueMessage(getPokemonMessage(pokemon, getStatusEffectHealText(pokemon.status.effect)));
|
pokemon.scene.queueMessage(getPokemonMessage(pokemon, getStatusEffectHealText(pokemon.status.effect)));
|
||||||
pokemon.resetStatus();
|
pokemon.resetStatus();
|
||||||
pokemon.updateInfo();
|
pokemon.updateInfo();
|
||||||
} else if (pokemon.getTag(BattlerTagType.CONFUSED))
|
}
|
||||||
|
if (pokemon.getTag(BattlerTagType.CONFUSED))
|
||||||
pokemon.lapseTag(BattlerTagType.CONFUSED);
|
pokemon.lapseTag(BattlerTagType.CONFUSED);
|
||||||
};
|
};
|
||||||
case BerryType.LIECHI:
|
case BerryType.LIECHI:
|
||||||
|
|
Loading…
Reference in New Issue