private void SetupTool()
{
moveEffectTableLocation = 0;
numericUpDown1.Value = 0;
ParseINIPersonalSettings();
commands = new Dictionary<string, Command>();
superCommands = new Dictionary<string, SuperCommand>();
baseBattleRamLocations = new Dictionary<string, uint>();
userDefinitions = new Dictionary<string, uint>();
keywords = new Dictionary<string, uint>();
pointerNames = new Dictionary<DynamicPointer, bool>();
dynamicStrings = new Dictionary<string, string>();
decompiledOffsets = new List<int>();
scripts = new List<RichTextBox>();
unsaved = new List<bool>();
currentlyOpenBS = new List<string>();
newScriptNames = new List<int>();
FixedRichTextBox rtb;
LineNumbersControlForRichTextBox.LineNumbersForRichText lineNos;
CreateRTBAndNumbersList(out rtb, out lineNos);
rtbNotes.BackColor = rtbBackColour;
rtbNotes.Font = rtbFont;
rtbNotes.ForeColor = rtbForeColour;
this.tabPage1.Controls.Add(rtb);
this.tabPage1.Controls.Add(lineNos);
unsaved.Add(false);
newScriptNames.Add(1);
scriptInserted = false;
insideHashOrgBracket = false;
freeSpaceLocation = 0;
dynamicLocationSet = false;
currentlyOpenBS.Add(null);
freeSpaceByte = 0xFF;
LoadSuperCommands();
LoadCustomCommands();
}