mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-06-13 11:41:33 -05:00
Fix gen3 unknown game data setting
Grab the original data, not the expanded data. Could always call 'clone' but the data hasn't been modified, so get the original data.
This commit is contained in:
parent
61573301d6
commit
98e72aefc8
|
|
@ -720,11 +720,11 @@ private void openSAV(byte[] input, string path)
|
|||
"Cancel: FireRed / LeafGreen");
|
||||
|
||||
if (drGame == DialogResult.Yes)
|
||||
sav = new SAV3(sav.Data, GameVersion.RS);
|
||||
sav = new SAV3(sav.BAK, GameVersion.RS);
|
||||
else if (drGame == DialogResult.No)
|
||||
sav = new SAV3(sav.Data, GameVersion.E);
|
||||
sav = new SAV3(sav.BAK, GameVersion.E);
|
||||
else
|
||||
sav = new SAV3(sav.Data, GameVersion.FRLG);
|
||||
sav = new SAV3(sav.BAK, GameVersion.FRLG);
|
||||
}
|
||||
var drJP = Util.Prompt(MessageBoxButtons.YesNoCancel, $"Generation 3 ({sav.Version}) Save File detected. Select Origins:", "Yes: International" + Environment.NewLine + "No: Japanese");
|
||||
if (drJP == DialogResult.Cancel)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user