mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-14 00:07:15 +00:00
Don't modify strategy memo
Can't correlate the structure to the data it's reading, so don't modify the values until someone figures out how the data is stored & how it should be manipulated. Closes #2941
This commit is contained in:
parent
4909256414
commit
8a51bd7f28
1 changed files with 8 additions and 1 deletions
|
@ -305,11 +305,17 @@ namespace PKHeX.Core
|
|||
entry.Purification = pk.Purification;
|
||||
entry.Species = pk.Species;
|
||||
entry.PID = pk.PID;
|
||||
entry.IsPurified = pk.Purification == 0;
|
||||
entry.IV_HP = pk.IV_HP ;
|
||||
entry.IV_ATK = pk.IV_ATK;
|
||||
entry.IV_DEF = pk.IV_DEF;
|
||||
entry.IV_SPA = pk.IV_SPA;
|
||||
entry.IV_SPD = pk.IV_SPD;
|
||||
entry.IV_SPE = pk.IV_SPE;
|
||||
}
|
||||
|
||||
protected override void SetDex(PKM pkm)
|
||||
{
|
||||
/*
|
||||
// Dex Related
|
||||
var entry = StrategyMemo.GetEntry(pkm.Species);
|
||||
if (entry.IsEmpty) // Populate
|
||||
|
@ -325,6 +331,7 @@ namespace PKHeX.Core
|
|||
entry.Owned = true;
|
||||
}
|
||||
StrategyMemo.SetEntry(entry);
|
||||
*/
|
||||
}
|
||||
|
||||
public override InventoryPouch[] Inventory
|
||||
|
|
Loading…
Reference in a new issue