Exemplo n.º 1
0
        public int GetDexFormIndex(int spec, int fc, int f)
        {
            var index = Parent.USUM
                ? DexFormUtil.GetDexFormIndexUSUM(spec, fc, f)
                : DexFormUtil.GetDexFormIndexSM(spec, fc, f);

            if (index < 0)
            {
                return(index);
            }
            return(index + Parent.MaxSpeciesID - 1);
        }
Exemplo n.º 2
0
 public int GetDexFormStart(int spec, int fc)
 {
     return(Parent.USUM
         ? DexFormUtil.GetDexFormIndexUSUM(spec, fc, Parent.MaxSpeciesID - 1)
         : DexFormUtil.GetDexFormIndexSM(spec, fc, Parent.MaxSpeciesID - 1));
 }