Lum berry should cure status and confusion if possible

pull/533/head
Matthew Ross 2024-05-05 21:15:00 -07:00
parent c41546b680
commit 7b0691f086
1 changed files with 2 additions and 1 deletions

View File

@ -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: