//private int me3size; void get_me3data() { amountbox.Value = me3file.get_item_amount(); counterbox.Value = me3file.get_item_counter(); itembox.SelectedIndex = me3file.get_item(); if (me3file.isemerald == 0) //These items aren't in emerald { if (itembox.SelectedIndex > 348) { itembox.SelectedIndex = 348; } } else { if (itembox.SelectedIndex > 376) { itembox.SelectedIndex = 376; } } map_bank.Value = me3file.MAP_BANK; map_num.Value = me3file.MAP_MAP; map_npc.Value = me3file.MAP_PERSON; }