public void ShowTrainerDialogue()
        {
            Console.WriteLine("Hey, welcome to the All-Stars Pokemon League!");
            Console.WriteLine("My name's Brock. I'm the pewter city's gym leader, and your first challenge.");
            ConsoleUtils.WaitFourSeconds();

            ConsoleUtils.EnemyPhraseBeforeBattle("I hope you give me a good challenge and we both have a lot of fun.");
            ConsoleBattleInfoTrainer.EnemyTrainerWantsToBattle(this);
        }
Example #2
0
        public void ShowTrainerDialogue()
        {
            Console.WriteLine("Hello, trainer, and welcome to the new Pokemon League.");
            Console.WriteLine("It takes a lot of courage to be here, and you must keep going strong to face the challenges up ahead.");
            ConsoleUtils.WaitFourSeconds();

            ConsoleUtils.EnemyPhraseBeforeBattle("Do you think you can handle me and my Pokemon?");
            ConsoleBattleInfoTrainer.EnemyTrainerWantsToBattle(this);
        }
Example #3
0
        public void ShowTrainerDialogue()
        {
            Console.WriteLine("Congratulations on getting all the way here, trainer.");
            Console.WriteLine("You look strong and like someone who has faced a lot of tough battles.");
            Console.WriteLine("And with that said...");
            ConsoleUtils.WaitFourSeconds();

            ConsoleUtils.EnemyPhraseBeforeBattle("May you who have come to challenge me, fulfill my desire for a good battle!");
            ConsoleBattleInfoTrainer.EnemyTrainerWantsToBattle(this);
        }
Example #4
0
        public void ShowTrainerDialogue()
        {
            Console.WriteLine("Hi, welcome to the new Pokemon League. Congratulations on beating Brock and Bruno.");
            Console.WriteLine("But I can guarantee that I won't be that much of a pushover like those two.");
            ConsoleUtils.WaitFourSeconds();

            ConsoleUtils.EnemyPhraseBeforeBattle("Are you ready to take a beating?");
            ConsoleUtils.EnemyPhraseBeforeBattle("By the way, have you seen my cat?");
            ConsoleBattleInfoTrainer.EnemyTrainerWantsToBattle(this);
        }
        public int KeepPlayerChoosingPokemon()
        {
            int chosenPokemonIndex = -1;

            while (chosenPokemonIndex <= -1 || IsNotValidPokemonIndex(chosenPokemonIndex))
            {
                ConsoleBattleInfoTrainer.ShowAllTrainersPokemon(Player);
                chosenPokemonIndex = ConsoleUtils.GetPlayerChosenIndex(Console.ReadLine());
            }

            return(chosenPokemonIndex);
        }
Example #6
0
        public void ShowTrainerDialogue()
        {
            Console.WriteLine("Hey, I'm Blue, former Pokemon League Champion. Since you got here, I hope you give me a good battle");
            Console.WriteLine("because the last trainers that got here were really disapointing...");
            Console.WriteLine("And you're ugly.");
            ConsoleUtils.WaitTwoSeconds();

            ConsoleUtils.TrainerAction <EnemyAction>("I hope you're ready to have your butt handed over to you.");
            ConsoleUtils.WaitTwoSeconds();
            ConsoleUtils.ClearScreen();
            ConsoleBattleInfoTrainer.EnemyTrainerWantsToBattle(this);
        }
 private void FinishBattle(bool enemyTrainerLost)
 {
     if (enemyTrainerLost)
     {
         ConsoleBattleInfoTrainer.TrainerHasNoPokemonLeft(EnemyTrainer);
         ConsoleBattleInfoTrainer.ShowTrainerWins(Player);
     }
     else
     {
         ConsoleBattleInfoTrainer.TrainerHasNoPokemonLeft(Player);
         ConsoleBattleInfoTrainer.ShowTrainerWins(EnemyTrainer);
     }
 }
Example #8
0
        private bool PromptPlayerToSelectPokemon()
        {
            var keepBattleGoingAfterPokemonSelection = false;

            if (Player.PokemonTeam.Where(pkmn => !pkmn.Fainted).Count() == 1)
            {
                ConsoleBattleInfoTrainer.ShowPlayerThereAreNoPokemonLeftToSwitch();
                return(keepBattleGoingAfterPokemonSelection);
            }

            int chosenPokemonIndex = BattleAux.KeepPlayerChoosingPokemon();

            SwitchCurrentPokemon(chosenPokemonIndex);
            keepBattleGoingAfterPokemonSelection = true;

            return(keepBattleGoingAfterPokemonSelection);
        }
Example #9
0
 public void ShowTrainerDialogue()
 {
     RedsDialogue();
     ConsoleBattleInfoTrainer.EnemyTrainerWantsToBattle(this);
 }