mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 00:54:44 -05:00
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:
@@ -2020,7 +2020,7 @@ internal static string[] getFormList(int species, string[] t, string[] f, string
|
||||
/// <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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user