Readd files

This commit is contained in:
Dazed 2024-04-13 17:24:13 -05:00
parent dd841891d4
commit 5d3cdf6a65
2 changed files with 9 additions and 5 deletions

0
files/.gitkeep Normal file
View file

View file

@ -67,7 +67,7 @@ CODE102 = True
CODE122 = False CODE122 = False
# Names # Names
CODE101 = True CODE101 = False
# Other # Other
CODE355655 = False CODE355655 = False
@ -1029,7 +1029,7 @@ def searchCodes(page, pbar, jobList, filename):
## Event Code: 122 [Set Variables] ## Event Code: 122 [Set Variables]
if codeList[i]['code'] == 122 and CODE122 is True: if codeList[i]['code'] == 122 and CODE122 is True:
# This is going to be the var being set. (IMPORTANT) # This is going to be the var being set. (IMPORTANT)
if codeList[i]['parameters'][0] not in [291]: if codeList[i]['parameters'][0] not in [314, 315, 316, 291]:
continue continue
jaString = codeList[i]['parameters'][4] jaString = codeList[i]['parameters'][4]
@ -1299,6 +1299,8 @@ def searchCodes(page, pbar, jobList, filename):
regex = r'info:(.*)' regex = r'info:(.*)'
elif 'ActiveMessage:' in jaString: elif 'ActiveMessage:' in jaString:
regex = r'<ActiveMessage:(.*)>?' regex = r'<ActiveMessage:(.*)>?'
elif 'event_text' in jaString:
regex = r'event_text\s?:\s?(.*)'
else: else:
continue continue
@ -1944,9 +1946,11 @@ def batchList(input_list, batch_size):
def createContext(fullPromptFlag, subbedT): def createContext(fullPromptFlag, subbedT):
characters = 'Game Characters:\n\ characters = 'Game Characters:\n\
バルゴ (Balgo) - Female\n\ リゼ (Rize) - Female\n\
エリシア (Elysia) - Female\n\ ティア (Tia)\n\
サキュバスクイーン (Succubus Queen) - Female\n\ リィナ (Riina)\n\
クェス (Ques)\n\
たこ (Tako)\n\
' '
system = PROMPT + VOCAB if fullPromptFlag else \ system = PROMPT + VOCAB if fullPromptFlag else \