mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
Add TMs to Item param list
Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
This commit is contained in:
parent
9e665034b7
commit
8188208ca3
1 changed files with 7 additions and 2 deletions
|
@ -229,8 +229,13 @@ namespace PKHeX.Core
|
||||||
{
|
{
|
||||||
return format switch
|
return format switch
|
||||||
{
|
{
|
||||||
6 or 7 => Legal.HeldItem_AO.Distinct().Concat(KeyItemArgValues).Where(z => z < Legal.MaxItemID_6_AO),
|
6 or 7 => Legal.HeldItem_AO.Distinct()
|
||||||
8 => Legal.HeldItem_AO.Concat(Legal.HeldItems_SWSH).Distinct().Concat(KeyItemArgValues)
|
.Concat(KeyItemArgValues)
|
||||||
|
.Concat(Legal.TMHM_AO.Take(100).Select(z => (ushort)z))
|
||||||
|
.Where(z => z < Legal.MaxItemID_6_AO),
|
||||||
|
8 => Legal.HeldItem_AO.Concat(Legal.HeldItems_SWSH).Distinct()
|
||||||
|
.Concat(KeyItemArgValues)
|
||||||
|
.Concat(Legal.TMHM_AO.Take(100).Select(z => (ushort)z))
|
||||||
.Where(z => z < Legal.MaxItemID_8_R2),
|
.Where(z => z < Legal.MaxItemID_8_R2),
|
||||||
_ => System.Array.Empty<ushort>(),
|
_ => System.Array.Empty<ushort>(),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue