void set_me3data() { me3file.set_item((UInt16)itembox.SelectedIndex); me3file.set_item_amount((byte)amountbox.Value); me3file.set_item_counter((byte)counterbox.Value); me3file.MAP_BANK = (byte)map_bank.Value; me3file.MAP_MAP = (byte)map_num.Value; me3file.MAP_PERSON = (byte)map_npc.Value; if (radio_E.Checked == true) { me3file.isemerald = 1; } else if (radio_RS.Checked == true) { me3file.isemerald = 0; } }