converters.py
: Move currentBranch
line to top of function
This commit is contained in:
parent
a6d9feab4c
commit
96ca4ab2c0
@ -94,13 +94,14 @@ def preprocessTJAMeasures(tja):
|
|||||||
|
|
||||||
|
|
||||||
def convertTJAToFumen(fumen, tja):
|
def convertTJAToFumen(fumen, tja):
|
||||||
|
# Hardcode currentBranch due to current lack of support for branching songs
|
||||||
|
currentBranch = 'normal' # TODO: Program in branch support
|
||||||
fumen['measures'] = fumen['measures'][9:]
|
fumen['measures'] = fumen['measures'][9:]
|
||||||
tja['measures'] = preprocessTJAMeasures(tja)
|
tja['measures'] = preprocessTJAMeasures(tja)
|
||||||
|
|
||||||
# Variables that will change over time due to events
|
# Variables that will change over time due to events
|
||||||
currentGogo = False
|
currentGogo = False
|
||||||
currentHidden = False
|
currentHidden = False
|
||||||
currentBranch = 'normal' # TODO: Program in branch support
|
|
||||||
|
|
||||||
# Parse TJA measures to create converted TJA -> Fumen file
|
# Parse TJA measures to create converted TJA -> Fumen file
|
||||||
tjaConverted = {'measures': []}
|
tjaConverted = {'measures': []}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user