mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
parent
261349c90f
commit
c2124a4bbd
2 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ namespace PKHeX.Core
|
|||
Data[0] = (byte)SpeciesConverter.SetG1Species(value);
|
||||
|
||||
// Before updating catch rate, check if non-standard
|
||||
if (!CatchRateIsItem)
|
||||
if (TradebackStatus != TradebackType.WasTradeback && !CatchRateIsItem)
|
||||
{
|
||||
int baseSpecies = Legal.GetBaseSpecies(this);
|
||||
int Rate = Catch_Rate;
|
||||
|
|
|
@ -348,7 +348,7 @@ namespace PKHeX.Core
|
|||
|
||||
public PK1 ConvertToPK1()
|
||||
{
|
||||
PK1 pk1 = new PK1(null, Identifier, Japanese);
|
||||
PK1 pk1 = new PK1(null, Identifier, Japanese) {TradebackStatus = TradebackType.WasTradeback};
|
||||
Array.Copy(Data, 0x1, pk1.Data, 0x7, 0x1A);
|
||||
pk1.Species = Species; // This will take care of Typing :)
|
||||
pk1.Stat_HPCurrent = Stat_HPCurrent;
|
||||
|
|
Loading…
Reference in a new issue