diff --git a/DALTools/ScriptDialogueEditor/STSCFileDialogue.cs b/DALTools/ScriptDialogueEditor/STSCFileDialogue.cs index 6608403..4873ee1 100644 --- a/DALTools/ScriptDialogueEditor/STSCFileDialogue.cs +++ b/DALTools/ScriptDialogueEditor/STSCFileDialogue.cs @@ -42,7 +42,7 @@ public override void Save(ExtendedBinaryWriter writer) case "Voice": break; case "Msg": - inst.Arguments[4] = code.Text; + inst.Arguments[2] = code.Text; break; case "Script": break; @@ -87,8 +87,8 @@ public void ConvertToDialogueCode() break; case "Mes": code.Type = "Msg"; - code.ID = inst.GetArgument(5).ToString(); - code.Text = inst.GetArgument(4); + code.ID = inst.GetArgument(3).ToString(); + code.Text = inst.GetArgument(2); code.Brush = new SolidColorBrush(Color.FromArgb(0x30, 0x00, 0x80, 0x00)); break; case "FileJump":