Skip to content

Commit

Permalink
Version {2.07.78}
Browse files Browse the repository at this point in the history
  • Loading branch information
asgore-undertale committed Nov 12, 2021
1 parent 71e6ef5 commit 41d9a47
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
22 changes: 9 additions & 13 deletions Parts/Scripts/FixTables.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,26 +233,22 @@ def sortACT(tableContent, _SEPARATOR_): # table content with no description

return newTable

def fillEmptyCells(Charmap : dict, chars : tuple):
if chars[0] in Charmap and chars[1] in Charmap and chars[2] in Charmap and chars[3] in Charmap: return Charmap

def fillHalfs(Charmap : dict, chars : tuple):
if chars[1] not in Charmap and chars[0] in Charmap: Charmap[chars[1]] = Charmap[chars[0]]
if chars[0] not in Charmap and chars[1] in Charmap: Charmap[chars[0]] = Charmap[chars[1]]

if chars[3] not in Charmap and chars[2] in Charmap: Charmap[chars[3]] = Charmap[chars[2]]
if chars[2] not in Charmap and chars[3] in Charmap: Charmap[chars[2]] = Charmap[chars[3]]

if chars[0] not in Charmap and chars[3] in Charmap: Charmap[chars[0]] = Charmap[chars[3]]
if chars[1] not in Charmap and chars[2] in Charmap: Charmap[chars[1]] = Charmap[chars[2]]

if chars[0] not in Charmap and chars[2] in Charmap: Charmap[chars[0]] = Charmap[chars[2]]
if chars[1] not in Charmap and chars[3] in Charmap: Charmap[chars[1]] = Charmap[chars[3]]

if chars[3] not in Charmap and chars[0] in Charmap: Charmap[chars[3]] = Charmap[chars[0]]
if chars[2] not in Charmap and chars[1] in Charmap: Charmap[chars[2]] = Charmap[chars[1]]
return Charmap

if chars[2] not in Charmap and chars[0] in Charmap: Charmap[chars[2]] = Charmap[chars[0]]
if chars[3] not in Charmap and chars[1] in Charmap: Charmap[chars[3]] = Charmap[chars[1]]
def fillEmptyCells(Charmap : dict, chars : tuple):
if chars[0] in Charmap and chars[1] in Charmap and chars[2] in Charmap and chars[3] in Charmap: return Charmap

Charmap = fillHalfs(Charmap, chars)
if chars[1] not in Charmap and chars[2] in Charmap: Charmap[chars[1]] = Charmap[chars[2]]
if chars[0] not in Charmap and chars[3] in Charmap: Charmap[chars[0]] = Charmap[chars[3]]
Charmap = fillHalfs(Charmap, chars)

return Charmap

Expand Down
2 changes: 1 addition & 1 deletion Parts/Windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class StudioMotherWindow(QMainWindow):
def __init__(self):
super().__init__()
# version ([rewrite studio].[updates].[fixes])
self.setWindowTitle("Asgore Studio 2.07.77")
self.setWindowTitle("Asgore Studio 2.07.78")

self.mdiArea = QMdiArea()
self.setCentralWidget(self.mdiArea)
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version {2.07.78}:
- Fixing Converting Tables charmap fixing.

Version {2.07.77}:
- Fixing Converting Tables loading.

Expand Down

0 comments on commit 41d9a47

Please sign in to comment.