void Export_eberryClick(object sender, EventArgs e) { if (sav3file.has_berry() == true) { FileIO.save_data(sav3file.get_ECB(), berryfilter); } else { MessageBox.Show("There's no berry in savefile."); } }