private static void EnemySwitchedOutEventHandler(object sender, SwitchedOutEventArgs args) { Console.WriteLine("Enemy " + args.pokemon.Nickname + " was withdrawn!"); Thread.Sleep(2200); Console.WriteLine("Go " + args.switchIn.Nickname + "!"); Thread.Sleep(2200); }
//===================================================================================// // BATTLE POKEMON EVENT HANDLERS // //===================================================================================// private static void MySwitchedOutEventHandler(object sender, SwitchedOutEventArgs args) { Console.WriteLine("Come back " + args.pokemon.Nickname + "!"); Thread.Sleep(2200); Console.WriteLine("Go " + args.switchIn.Nickname + "!"); Thread.Sleep(2200); }