Skip to content

Commit

Permalink
Fix 2013 HP DV bug in this too kek
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabomstew committed Apr 21, 2018
1 parent bc33f0a commit a1abeae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IVs.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public IVs(int newAtk, int newDef, int newSpd, int newSpc) {
}

private int calculateHP() {
return ((atk & 1) << 3) + ((def & 1) << 2) + ((spc & 1) << 1) + (spd & 1);
return ((atk & 1) << 3) + ((def & 1) << 2) + ((spd & 1) << 1) + (spc & 1);
}

public int getHPIV() {
Expand Down

0 comments on commit a1abeae

Please sign in to comment.