mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-22 12:03:10 +00:00
Minor changes
Pretty pointless
This commit is contained in:
parent
5a9bdcdcf7
commit
7226ca4021
1 changed files with 7 additions and 7 deletions
14
Misc/PKX.cs
14
Misc/PKX.cs
|
@ -818,12 +818,12 @@ namespace PKHeX
|
|||
// Table Related
|
||||
|
||||
// Personal.dat
|
||||
public static PersonalParser PersonalGetter = new PersonalParser();
|
||||
public class PersonalParser
|
||||
internal static PersonalParser PersonalGetter = new PersonalParser();
|
||||
internal class PersonalParser
|
||||
{
|
||||
public byte[] file = (byte[])Properties.Resources.ResourceManager.GetObject("personal");
|
||||
public int EntryLength = 0xE;
|
||||
public struct Personal
|
||||
internal byte[] file = (byte[])Properties.Resources.personal;
|
||||
internal int EntryLength = 0xE;
|
||||
internal struct Personal
|
||||
{
|
||||
public byte[] BaseStats;
|
||||
public byte[] Abilities;
|
||||
|
@ -834,7 +834,7 @@ namespace PKHeX
|
|||
public byte FormPointer; // 721 + FormPointer + (FormID - 1) = SpeciesIndex
|
||||
}
|
||||
|
||||
public Personal GetPersonal(int species)
|
||||
internal Personal GetPersonal(int species)
|
||||
{
|
||||
Personal data = new Personal();
|
||||
byte[] MonData = new byte[EntryLength];
|
||||
|
@ -851,7 +851,7 @@ namespace PKHeX
|
|||
return data;
|
||||
}
|
||||
|
||||
public Personal GetPersonal(int species, int formID)
|
||||
internal Personal GetPersonal(int species, int formID)
|
||||
{
|
||||
Personal data = GetPersonal(species);
|
||||
if (formID > 0 && formID <= data.AltFormCount && data.AltFormCount > 0 && data.FormPointer > 0) // Working with an Alt Forme with a base stat change
|
||||
|
|
Loading…
Reference in a new issue