state("Anominal") { int CurrentLevel: "UnityPlayer.dll", 0x01A69970, 0x28, 0x10, 0x30, 0x18, 0x28, 0x54; int CanMove: "mono-2.0-bdwgc.dll", 0x009EFBD0, 0x38, 0xD0, 0x08, 0x18, 0xEF0; } init { print("Anominal Splitter by Me :) "); } startup { settings.Add("Split every level", true, "Split after every level; if unchecked, will split at the end of each chapter instead."); } split { if(current.CurrentLevel == (old.CurrentLevel + 1)) { if(settings["Split every level"]) { return true; // The last chapter only has 15 levels instead of the normal 20, but it doesn't autosplit after the last level anyway so this works } else if(current.CurrentLevel % 20 == 1) { return true; } } } reset { return current.CurrentLevel < old.CurrentLevel; } start { return current.CurrentLevel == 1 && current.CanMove == 1 && old.CanMove == 0; }