Ejemplo n.º 1
0
        public void TRANSFORM(RBYPokemon Attacker, RBYPokemon Defender)
        {
            if (Attacker.Owner == 0)
            {
                Trainer1.TransformedPoke = (RBYPokemon)Attacker.Clone();
            }
            else
            {
                Trainer2.TransformedPoke = (RBYPokemon)Attacker.Clone();
            }

            Attacker             = new RBYPokemon(Defender, Attacker.Level);
            Attacker.Transformed = true;
            Defender.NonDmgHit();
        }
Ejemplo n.º 2
0
        public void Switch(int index, RBYPokemon CurrentPoke)
        {
            if (CurrentPoke.Transformed)
            {
                CurrentPoke = (RBYPokemon)TransformedPoke.Clone();
            }

            _iSwitched  = true;
            IndexPicked = index;
        }