mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-11 15:07:11 +00:00
parent
bcf4c72e86
commit
f7e354a839
3 changed files with 7 additions and 17 deletions
|
@ -991,7 +991,7 @@ namespace PKHeX.Core
|
|||
}
|
||||
if (0x0D <= pkm.Ball && pkm.Ball <= 0x0F)
|
||||
{
|
||||
if (Legal.Ban_Gen4Ball.Contains(pkm.Species))
|
||||
if (Legal.Ban_Gen4Ball_6.Contains(pkm.Species))
|
||||
AddLine(Severity.Invalid, "Unobtainable capture for Gen4 Ball.", CheckIdentifier.Ball);
|
||||
else
|
||||
AddLine(Severity.Valid, "Obtainable capture for Gen4 Ball.", CheckIdentifier.Ball);
|
||||
|
@ -1087,15 +1087,10 @@ namespace PKHeX.Core
|
|||
|
||||
return;
|
||||
}
|
||||
if (0x0D <= pkm.Ball && pkm.Ball <= 0x0F)
|
||||
if (0x0D <= pkm.Ball && pkm.Ball <= 0x0F) // Dusk Heal Quick
|
||||
{
|
||||
if (Legal.Ban_Gen4Ball.Contains(pkm.Species))
|
||||
{
|
||||
if (!Legal.Ban_Gen4Ball_AllowG7.Contains(pkm.Species))
|
||||
AddLine(Severity.Invalid, "Unobtainable capture for Gen4 Ball.", CheckIdentifier.Ball);
|
||||
else
|
||||
AddLine(Severity.Valid, "Obtainable capture for Gen4 Ball.", CheckIdentifier.Ball);
|
||||
}
|
||||
if (Legal.Ban_Gen4Ball_7.Contains(pkm.Species))
|
||||
AddLine(Severity.Invalid, "Unobtainable capture for Gen4 Ball.", CheckIdentifier.Ball);
|
||||
else
|
||||
AddLine(Severity.Valid, "Obtainable capture for Gen4 Ball.", CheckIdentifier.Ball);
|
||||
|
||||
|
|
|
@ -682,7 +682,7 @@ namespace PKHeX.Core
|
|||
497, 500, 503, //3
|
||||
566, 567, 696, 697, 698, 699 // Fossil Only obtain
|
||||
};
|
||||
internal static readonly int[] Ban_Gen4Ball =
|
||||
internal static readonly int[] Ban_Gen4Ball_6 =
|
||||
{
|
||||
152, 155, 158, //1 - Chikorita, Cyndaquil, Totodile
|
||||
153, 156, 159, //2
|
||||
|
|
|
@ -434,14 +434,9 @@ namespace PKHeX.Core
|
|||
496, 499, 502, //2
|
||||
497, 500, 503, //3
|
||||
};
|
||||
internal static readonly int[] Ban_Gen4Ball_AllowG7 =
|
||||
internal static readonly int[] Ban_Gen4Ball_7 =
|
||||
{
|
||||
152, 155, 158, //1 - Chikorita, Cyndaquil, Totodile
|
||||
153, 156, 159, //2
|
||||
154, 157, 160, //3
|
||||
495, 498, 501, //1 - Snivy, Tepig, Oshawott
|
||||
496, 499, 502, //2
|
||||
497, 500, 503, //3
|
||||
566, 567, 696, 697, 698, 699 // Fossil Only obtain
|
||||
};
|
||||
|
||||
internal static readonly int[] ZygardeMoves =
|
||||
|
|
Loading…
Reference in a new issue