diff --git a/converters.py b/converters.py index dbb9bfe..eaf4363 100644 --- a/converters.py +++ b/converters.py @@ -22,6 +22,10 @@ def convert_level(input, output, params, target): r = r.strip().split() shape, action, position = -1, 0, -1 + # Anti-bad-notation + if "middle" in r and "rotate" in r and ("left" in r or "right" in r): + raise fxconv.FxconvError("Bad rotation in '" + " ".join(r) + "'") + # Shape if "square" in r: shape = 0