mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-06-02 21:46:29 -05:00
Minor fixes to script editor
This commit is contained in:
parent
aa478cebe3
commit
cc325e91f7
|
|
@ -704,8 +704,8 @@ namespace DSPRE {
|
||||||
for (int i = 0; i < scriptCount; i++)
|
for (int i = 0; i < scriptCount; i++)
|
||||||
selectScriptFileComboBox.Items.Add("Script File " + i);
|
selectScriptFileComboBox.Items.Add("Script File " + i);
|
||||||
|
|
||||||
String exclMSG = "Currently, the script editor is VERY unreliable.\n" +
|
String exclMSG = "The script editor has been recently \"fixed\".\n" +
|
||||||
"Remember to use it carefully.\n";
|
"Always keep an eye out for unexpected behavior.\n";
|
||||||
MessageBox.Show(exclMSG, "Warning!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
MessageBox.Show(exclMSG, "Warning!", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||||
|
|
||||||
selectScriptFileComboBox.SelectedIndex = 0;
|
selectScriptFileComboBox.SelectedIndex = 0;
|
||||||
|
|
|
||||||
|
|
@ -271,7 +271,7 @@
|
||||||
<value>JumpLeftSite</value>
|
<value>JumpLeftSite</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="0033" xml:space="preserve">
|
<data name="0033" xml:space="preserve">
|
||||||
<value>JumpRighSitet</value>
|
<value>JumpRightSite</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="0034" xml:space="preserve">
|
<data name="0034" xml:space="preserve">
|
||||||
<value>JumpUp</value>
|
<value>JumpUp</value>
|
||||||
|
|
|
||||||
|
|
@ -563,7 +563,7 @@ namespace DSPRE {
|
||||||
|
|
||||||
/* Read parameters from remainder of the description */
|
/* Read parameters from remainder of the description */
|
||||||
Console.WriteLine("ID = " + id.ToString("X4"));
|
Console.WriteLine("ID = " + id.ToString("X4"));
|
||||||
if (words.Length > 1 && this.id > 0) {
|
if (words.Length > 1 && this.id > -1) {
|
||||||
if (isMovement) {
|
if (isMovement) {
|
||||||
if (words[1].Length > 4) { // Cases where movement is followed by an Overworld parameter
|
if (words[1].Length > 4) { // Cases where movement is followed by an Overworld parameter
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user