mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
Add property to get a PK1's converted Gen 2 item (#3005)
This commit is contained in:
parent
22f37910f0
commit
cc5a950784
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ namespace PKHeX.Core
|
||||||
public override int MaxAbilityID => Legal.MaxAbilityID_1;
|
public override int MaxAbilityID => Legal.MaxAbilityID_1;
|
||||||
public override int MaxItemID => Legal.MaxItemID_1;
|
public override int MaxItemID => Legal.MaxItemID_1;
|
||||||
|
|
||||||
|
// Extra
|
||||||
|
public int Gen2Item => ItemConverter.GetItemFuture1(Catch_Rate);
|
||||||
|
|
||||||
public PK2 ConvertToPK2()
|
public PK2 ConvertToPK2()
|
||||||
{
|
{
|
||||||
PK2 pk2 = new PK2(Japanese) {Species = Species};
|
PK2 pk2 = new PK2(Japanese) {Species = Species};
|
||||||
|
|
Loading…
Reference in a new issue