mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-09 18:56:20 -05:00
@@ -334,7 +334,10 @@ private string ParseLineMove(string line)
|
||||
string type = moveString.Remove(0, 13);
|
||||
type = ReplaceAll(type, string.Empty, "[", "]", "(", ")"); // Trim out excess data
|
||||
int hpVal = Array.IndexOf(hptypes, type); // Get HP Type
|
||||
if (hpVal >= 0)
|
||||
|
||||
if (IVs.Any(z => z != 31))
|
||||
{ } // don't modify IVs
|
||||
else if (hpVal >= 0)
|
||||
IVs = PKX.SetHPIVs(hpVal, IVs); // Get IVs
|
||||
else
|
||||
InvalidLines.Add($"Invalid Hidden Power Type: {type}");
|
||||
|
||||
Reference in New Issue
Block a user