public void DecompiledScriptsContainLabels() { var script = Script("jumpiftype 0 0 <0007>", "end"); var code = battle.Compile(ViewPort.CurrentChange, Model, 0, ref script, out var _); Array.Copy(code, Model.RawData, code.Length); battle.FormatScript <BSERun>(new ModelDelta(), Model, 0); var lines = battle.Parse(Model, 0, code.Length).SplitLines(); Assert.Equal <string>(new string[] { " jumpiftype 0 0 <000007>", "000007:", " end", "", }, lines); }