//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); }
public void makePrimal() { int?v = MultipleForms.getPrimalForm(this); if (v != null) { this.form = v.Value; } }
public void makeMega() { int?v = MultipleForms.getMegaForm(this); if (v != null) { this.form = v.Value; } }
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); }
public bool isPrimal() { int?v = MultipleForms.getPrimalForm(this); return(v != null && v.Value == @form); }
public bool hasPrimalForm() { int?v = MultipleForms.getPrimalForm(this); return(v != null); }
public bool isMega() { int?v = MultipleForms.getMegaForm(this); return(v != null && v.Value == @form); }