mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
Add more usum prep
Closes #1438 ; SM evo table wasn't being loaded as the gameversion was changed to USUM. Will see if there's any evo changes soon!
This commit is contained in:
parent
229d752d7a
commit
9f8cbf3e46
3 changed files with 9 additions and 2 deletions
|
@ -70,6 +70,10 @@
|
|||
case GameVersion.MN:
|
||||
return GameVersion.SM;
|
||||
|
||||
case GameVersion.US:
|
||||
case GameVersion.UM:
|
||||
return GameVersion.USUM;
|
||||
|
||||
default:
|
||||
return GameVersion.Invalid;
|
||||
}
|
||||
|
|
|
@ -105,8 +105,11 @@
|
|||
return GameVersion.XY.Contains(g2) || GameVersion.ORAS.Contains(g2);
|
||||
|
||||
case GameVersion.SM:
|
||||
case GameVersion.Gen7:
|
||||
return g2 == GameVersion.SN || g2 == GameVersion.MN;
|
||||
case GameVersion.USUM:
|
||||
return g2 == GameVersion.US || g2 == GameVersion.UM;
|
||||
case GameVersion.Gen7:
|
||||
return GameVersion.SM.Contains(g2) || GameVersion.USUM.Contains(g2);
|
||||
|
||||
default: return false;
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@ namespace PKHeX.Core
|
|||
// There's always oddballs.
|
||||
private void FixEvoTreeManually()
|
||||
{
|
||||
if (Game == GameVersion.SM)
|
||||
if (Game == GameVersion.USUM)
|
||||
FixEvoTreeSM();
|
||||
}
|
||||
private void FixEvoTreeSM()
|
||||
|
|
Loading…
Reference in a new issue