Fix Hidden Power Argument Usage

getHPType's input order needed to be updated -- the form usage was
changed via the characteristic fix commit.
This commit is contained in:
Kurt 2015-09-07 13:02:18 -07:00
parent 5c1cc4dfb3
commit f45ff5125c

View file

@ -2020,7 +2020,7 @@ namespace PKHeX
/// <returns></returns>
internal static int getHPType(int[] ivs)
{
return (15 * ((ivs[0] & 1) + 2 * (ivs[1] & 1) + 4 * (ivs[2] & 1) + 8 * (ivs[5] & 1) + 16 * (ivs[3] & 1) + 32 * (ivs[4] & 1))) / 63;
return (15 * ((ivs[0] & 1) + 2 * (ivs[1] & 1) + 4 * (ivs[2] & 1) + 8 * (ivs[3] & 1) + 16 * (ivs[4] & 1) + 32 * (ivs[5] & 1))) / 63;
}
internal static int[] setHPIVs(int type, int[] ivs)
{