AdAstra-LD / DS-Pokemon-Rom-Editor

New DS Pokemon ROM Editor, based on Nømura's 2020 edition. Expanded with loads of new features, bugfixes and better usability.
165 stars 45 forks source link

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

Closed SunakazeKun closed 1 year ago

SunakazeKun commented 1 year ago

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;
AdAstra-LD commented 1 year ago

Thanks.