Minor fixes to script editor

This commit is contained in:
AdAstra-LD 2021-01-24 02:55:13 +01:00
parent aa478cebe3
commit cc325e91f7
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -271,7 +271,7 @@
<value>JumpLeftSite</value>
</data>
<data name="0033" xml:space="preserve">
<value>JumpRighSitet</value>
<value>JumpRightSite</value>
</data>
<data name="0034" xml:space="preserve">
<value>JumpUp</value>

View File

@ -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