mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 13:58:33 +00: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:
parent
5c1cc4dfb3
commit
f45ff5125c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue