Small changes to mv

This commit is contained in:
DazedAnon 2025-01-26 10:14:10 -06:00
parent ae988989c8
commit b74a0afb3c

View file

@ -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: