mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 13:33:34 -04:00
phase-36: delever_regen's agent start refuses a body with any !FAKE marker — its first run started from d20's parked invented-branch body; that row is excluded from banking; e27 (4) + e29 (2) banked
This commit is contained in:
@@ -66,7 +66,9 @@ def starts(e):
|
||||
ap = REPO / ".run" / "P36" / "agents" / f"{e['alias']}__{e['fn']}" / "body.c"
|
||||
if ap.exists():
|
||||
t = ap.read_text(errors="surrogateescape")
|
||||
if not re.search(r"__asm__|\bregister\b[^;]*\$", t) and all(t != x for _n, x in out):
|
||||
# no lever AND no marked fake: S104's first run started from d20's PARKED body (invented always-false branches
|
||||
# marked `!FAKE: dead-branch`, awaiting Drew) and the families "closed" it — a marked body is never a start text
|
||||
if not re.search(r"__asm__|\bregister\b[^;]*\$|!FAKE", t) and all(t != x for _n, x in out):
|
||||
out.append(("agent", t))
|
||||
return out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user