mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-05-15 08:19:49 -05:00
Minor fixes
This commit is contained in:
parent
c6d3820a57
commit
1e72cfe89d
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user