public void AttemptToCatchPokemon(Player player) { if (EncounterOver == true) { return; } if (PokemonCatchable() == true) { Console.WriteLine($"Player caught {AIPokemon.Name}!"); PlayerPokemon caughtPokemon = new PlayerPokemon(AIPokemon.Name, AIPokemon.HP, AIPokemon.AttackStat, AIPokemon.DefenseStat, AIPokemon.Type); player.AddPokemon(caughtPokemon); EncounterOver = true; } else { Console.WriteLine($"Player failed to catch {AIPokemon.Name}"); Turn.AITurn(AIPokemon, PlayerPokemon); } }