mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
parent
d772a82953
commit
2a877bfb9e
1 changed files with 3 additions and 1 deletions
|
@ -129,7 +129,9 @@ namespace PKHeX.WinForms
|
|||
{ WinFormsUtil.Error("Sorry, no overwriting someone else's base with your own data."); return; }
|
||||
if (GB_PKM.Enabled && index == 0)
|
||||
{ WinFormsUtil.Error("Sorry, no overwriting of your own base with someone else's."); return; }
|
||||
if (LB_Favorite.Items[index].ToString().Substring(LB_Favorite.Items[index].ToString().Length - 5, 5) == "Empty")
|
||||
|
||||
var name = LB_Favorite.Items[index].ToString();
|
||||
if (name == "* " || name == $"{index} Empty")
|
||||
{ WinFormsUtil.Error("Sorry, no overwriting an empty base with someone else's."); return; }
|
||||
if (index < 0) return;
|
||||
int offset = SAV.SecretBase + 0x25A;
|
||||
|
|
Loading…
Reference in a new issue