Ejemplo n.º 1
0
        //public override bool hasPrimalForm { get { if (effects.Transform) return false; return base.hasPrimalForm; } }
        public bool hasMegaForm()
        {
            //v=MultipleForms.getMegaForm(this);
            int?v = MultipleForms.getMegaForm(this);

            return(v != null);
        }
Ejemplo n.º 2
0
        public void makePrimal()
        {
            int?v = MultipleForms.getPrimalForm(this);

            if (v != null)
            {
                this.form = v.Value;
            }
        }
Ejemplo n.º 3
0
        public void makeMega()
        {
            int?v = MultipleForms.getMegaForm(this);

            if (v != null)
            {
                this.form = v.Value;
            }
        }
Ejemplo n.º 4
0
        public void pbOnEnteringBattle(Combat.Battle battle, Monster.Pokemon pokemon)
        {
            //int? f=MultipleForms.call("getFormOnEnteringBattle",pokemon);
            int?f = MultipleForms.getFormOnEnteringBattle(pokemon);

            if (f.HasValue)
            {
                //pokemon.form=f.Value;
                pokemon.SetForm(f.Value);
            }
            //pokemon.SetForm(f);
        }
Ejemplo n.º 5
0
        public bool isPrimal()
        {
            int?v = MultipleForms.getPrimalForm(this);

            return(v != null && v.Value == @form);
        }
Ejemplo n.º 6
0
        public bool hasPrimalForm()
        {
            int?v = MultipleForms.getPrimalForm(this);

            return(v != null);
        }
Ejemplo n.º 7
0
        public bool isMega()
        {
            int?v = MultipleForms.getMegaForm(this);

            return(v != null && v.Value == @form);
        }