AdAstra-LD/DS-Pokemon-Rom-Editor

[Bug] Last PokéRadar encounter combo box is bugged

Closed this issue · 1 comments

I noticed that the fourth combo box for PokéRadar encounters in DPPT doesn't seem to work properly. My changes to this specific box get ignored whenever I save. This seems to be caused by a copy-paste oversight:

        private void radarFourthComboBox_SelectedIndexChanged(object sender, EventArgs e) {
            if (disableHandlers) { 
                return; 
            }
            currentFile.radarPokemon[3] = (uint)radarThirdComboBox.SelectedIndex;
        }

Fix should be:

            currentFile.radarPokemon[3] = (uint)radarFourthComboBox.SelectedIndex;

Thanks.