From b74a0afb3c84e03bc96a2fa2a96939abe8e85d46 Mon Sep 17 00:00:00 2001 From: DazedAnon Date: Sun, 26 Jan 2025 10:14:10 -0600 Subject: [PATCH] Small changes to mv --- modules/rpgmakermvmz.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/rpgmakermvmz.py b/modules/rpgmakermvmz.py index 56a806e..9dbeeba 100644 --- a/modules/rpgmakermvmz.py +++ b/modules/rpgmakermvmz.py @@ -75,9 +75,9 @@ POSITION = 0 LEAVE = False # Dialogue / Scroll / Choices (Main Codes) -CODE401 = True -CODE405 = True -CODE102 = True +CODE401 = False +CODE405 = False +CODE102 = False # Optional CODE101 = False # Turn this one when names exist in 101 @@ -87,7 +87,7 @@ CODE408 = False # Warning, translates comments and can inflate costs. CODE122 = False # Other -CODE355655 = False +CODE355655 = True CODE357 = False CODE657 = False CODE356 = False @@ -1176,7 +1176,7 @@ def searchCodes(page, pbar, jobList, filename): ## Event Code: 122 [Set Variables] if "code" in codeList[i] and codeList[i]["code"] == 122 and CODE122 is True: # This is going to be the var being set. (IMPORTANT) - if codeList[i]["parameters"][0] not in list(range(70, 80)): + if codeList[i]["parameters"][0] not in list(range(410, 430)): i += 1 continue @@ -1656,7 +1656,7 @@ def searchCodes(page, pbar, jobList, filename): ## Event Code: 355 or 655 Scripts [Optional] if "code" in codeList[i] and (codeList[i]["code"] == 355 or codeList[i]["code"] == 655) and CODE355655 is True: jaString = codeList[i]["parameters"][0] - regexPatterns = [r'_logWindow.addText\(\"(.+)\"'] + regexPatterns = [r"^'(.*)'\)$"] # Iterate over the list of regex patterns for regex in regexPatterns: