private static void TastyBerry(PokemonProxy pm) { if (ATs.Gluttony(pm) && pm.CanHpRecover(false)) { pm.HpRecoverByOneNth(2, false, Ls.ItemHpRecover, pm.Pokemon.Item, true); if (pm.Pokemon.Nature.DislikeTaste(ITs.GetTaste(pm.Pokemon.Item))) { pm.AddState(pm, AttachedState.Confuse, false); } } }