From 23f4c66eb037975b7b5d1c11f72ab907d2cfe20d Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 11 May 2021 18:59:41 -0400
Subject: [PATCH] script

---
 devTools/Script to convert SC to JS/SC to JS 1.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/devTools/Script to convert SC to JS/SC to JS 1.py b/devTools/Script to convert SC to JS/SC to JS 1.py
index a39dd11dd3a..b77dc0ba1ee 100644
--- a/devTools/Script to convert SC to JS/SC to JS 1.py	
+++ b/devTools/Script to convert SC to JS/SC to JS 1.py	
@@ -112,4 +112,7 @@ editor.rereplace(r"\${He}adGirl", r"V.HeadGirl")
 editor.rereplace(r"\.}", r"}.")
 editor.rereplace(r"\${slave}", r"slave")
 editor.rereplace(r"V.getSlave", r"getSlave")
-editor.rereplace(r"V.App", r"App")
\ No newline at end of file
+editor.rereplace(r"V.App", r"App")
+
+# Compress speech macros, like <<s>>
+editor.rereplace(r"`\);\n[	]*<<([^\}]*)>>\n[	]*r\.push\(`", r"$1")
\ No newline at end of file
-- 
GitLab