Minor fixes

This commit is contained in:
AdAstra-LD 2021-06-05 16:34:50 +02:00
parent c6d3820a57
commit 1e72cfe89d
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ namespace DSPRE {
byte[] modelFile = DSUtils.ReadFromFile(of.FileName);
if (DSUtils.CheckNSBMDHeader(modelFile) == DSUtils.NSBMD_DOESNTHAVE_TEXTURE) {
MessageBox.Show("This NSBMD file is already untextured.", "No textures to remove", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show("This NSBMD file is untextured.", "No textures to extract", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}

View File

@ -483,7 +483,7 @@ namespace DSPRE {
itemScript.allScripts.Add(new CommandContainer((ushort)(i + 1), ScriptFile.containerTypes.SCRIPT, commandList: cmdList));
}
itemScript.allScripts.Add(executeGive);
//itemScript.allFunctions[1].commands[0].cmdParams[]
itemScript.allFunctions[0].useScript = itemCount + 1;
itemScript.SaveToFileDefaultDir(RomInfo.itemScriptFileNumber, showSuccessMessage: false);
MessageBox.Show("Operation successful.", "Process completed.", MessageBoxButtons.OK, MessageBoxIcon.Information);