From da5dd5ccb365ba39bef1a629d3cff7c065ccdb1f Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 8 Nov 2017 19:34:07 -0800 Subject: [PATCH] remove usum early return for dex bit setting I highly doubt this is causing save corruption; looked through the disassembly and the offset ptrs are the same relative to sun/moon. Implementation is flexible for both as gamefreak allocated enough space in each bit array. pokedex editor recognizes bools correctly (including for formes). --- PKHeX.Core/Saves/SAV7.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/PKHeX.Core/Saves/SAV7.cs b/PKHeX.Core/Saves/SAV7.cs index dfd8f1c3a..cf02f6912 100644 --- a/PKHeX.Core/Saves/SAV7.cs +++ b/PKHeX.Core/Saves/SAV7.cs @@ -974,9 +974,6 @@ protected override void SetDex(PKM pkm) if (pkm.IsEgg) // do not add return; - if (USUM) // TODO: IMPLEMENT POKEDEX EDITING FOR USUM - return; - int bit = pkm.Species - 1; int bd = bit >> 3; // div8 int bm = bit & 7; // mod8