private static void RecoverBerry(PokemonProxy pm, int hp) { if (pm.Hp << 1 <= pm.Pokemon.MaxHp) { pm.HpRecover(hp, false, Ls.ItemHpRecover, pm.Pokemon.Item, true); } }