Some fixes

This commit is contained in:
Mixone-FinallyHere 2024-04-29 19:41:17 +02:00
parent d70c336e34
commit 146fb95f3d
2 changed files with 7 additions and 3 deletions

View File

@ -728,7 +728,7 @@
this.label43 = new System.Windows.Forms.Label();
this.trainerClassListBox = new System.Windows.Forms.ListBox();
this.label42 = new System.Windows.Forms.Label();
this.trainerComboBox = new System.Windows.Forms.ComboBox();
this.trainerComboBox = new DSPRE.InputComboBox();
this.trainerSaveCurrentButton = new System.Windows.Forms.Button();
this.tableEditorTabPage = new System.Windows.Forms.TabPage();
this.label73 = new System.Windows.Forms.Label();
@ -11823,7 +11823,7 @@
private System.Windows.Forms.Label label43;
private System.Windows.Forms.ListBox trainerClassListBox;
private System.Windows.Forms.Label label42;
private System.Windows.Forms.ComboBox trainerComboBox;
private DSPRE.InputComboBox trainerComboBox;
private System.Windows.Forms.ComboBox followModeComboBox;
private System.Windows.Forms.RadioButton johtoRadioButton;
private System.Windows.Forms.RadioButton kantoRadioButton;

View File

@ -105,7 +105,7 @@ namespace DSPRE {
currentTrainerName = TrainerFile.NAME_NOT_FOUND;
}
trainerList.Add("[" + i.ToString("D2") + "] " + trainerClasses.messages[classMessageID] + " " + currentTrainerName);
trainerList.Add(currentTrainerName + " - " + trainerClasses.messages[classMessageID] + " [" + i.ToString("D2") + "] ");
}
return trainerList.ToArray();
@ -692,6 +692,10 @@ namespace DSPRE {
monEditorToolStripMenuItem.Enabled = true;
scriptCommandsButton.Enabled = true;
if(RomInfo.gameFamily == RomInfo.GameFamilies.Plat || RomInfo.gameFamily == RomInfo.GameFamilies.DP)
{
EditorPanels.tabPageEncountersEditor.Hide();
}
Helpers.statusLabelMessage();
this.Text += " - " + RomInfo.fileName;
}