From cc325e91f792e55273bef8fabfcffb189c99b3bb Mon Sep 17 00:00:00 2001 From: AdAstra-LD Date: Sun, 24 Jan 2021 02:55:13 +0100 Subject: [PATCH] Minor fixes to script editor --- DS_Map/Main Window.cs | 4 ++-- DS_Map/Resources/MovementNames.resx | 2 +- DS_Map/ScriptFile.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DS_Map/Main Window.cs b/DS_Map/Main Window.cs index 047a934..3a6c676 100644 --- a/DS_Map/Main Window.cs +++ b/DS_Map/Main Window.cs @@ -704,8 +704,8 @@ namespace DSPRE { for (int i = 0; i < scriptCount; i++) selectScriptFileComboBox.Items.Add("Script File " + i); - String exclMSG = "Currently, the script editor is VERY unreliable.\n" + - "Remember to use it carefully.\n"; + String exclMSG = "The script editor has been recently \"fixed\".\n" + + "Always keep an eye out for unexpected behavior.\n"; MessageBox.Show(exclMSG, "Warning!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); selectScriptFileComboBox.SelectedIndex = 0; diff --git a/DS_Map/Resources/MovementNames.resx b/DS_Map/Resources/MovementNames.resx index 6ba0860..8fdcd6d 100644 --- a/DS_Map/Resources/MovementNames.resx +++ b/DS_Map/Resources/MovementNames.resx @@ -271,7 +271,7 @@ JumpLeftSite - JumpRighSitet + JumpRightSite JumpUp diff --git a/DS_Map/ScriptFile.cs b/DS_Map/ScriptFile.cs index af47528..d246249 100644 --- a/DS_Map/ScriptFile.cs +++ b/DS_Map/ScriptFile.cs @@ -563,7 +563,7 @@ namespace DSPRE { /* Read parameters from remainder of the description */ Console.WriteLine("ID = " + id.ToString("X4")); - if (words.Length > 1 && this.id > 0) { + if (words.Length > 1 && this.id > -1) { if (isMovement) { if (words[1].Length > 4) { // Cases where movement is followed by an Overworld parameter