From f45ff5125c0c594efd9fbee07eeaabb22b19d3bf Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 7 Sep 2015 13:02:18 -0700 Subject: [PATCH] Fix Hidden Power Argument Usage getHPType's input order needed to be updated -- the form usage was changed via the characteristic fix commit. --- Misc/PKX.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/PKX.cs b/Misc/PKX.cs index 6c5bf4a05..7b6cc6986 100644 --- a/Misc/PKX.cs +++ b/Misc/PKX.cs @@ -2020,7 +2020,7 @@ internal static string[] getFormList(int species, string[] t, string[] f, string /// 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) {