actually launch the randomization
parent
bd7e1bc15d
commit
409efe14ac
|
@ -5021,6 +5021,7 @@ def start_randomizer(rom, settings):
|
||||||
else:
|
else:
|
||||||
Patch = False
|
Patch = False
|
||||||
settings.pop('Patch')
|
settings.pop('Patch')
|
||||||
|
|
||||||
for loop in range(repeat):
|
for loop in range(repeat):
|
||||||
initialize()
|
initialize()
|
||||||
SeedSettings = settings.copy()
|
SeedSettings = settings.copy()
|
||||||
|
@ -5028,6 +5029,7 @@ def start_randomizer(rom, settings):
|
||||||
print('Debug generation enabled')
|
print('Debug generation enabled')
|
||||||
if loop > 0:
|
if loop > 0:
|
||||||
SeedValue = str(random.randrange(sys.maxsize))
|
SeedValue = str(random.randrange(sys.maxsize))
|
||||||
|
|
||||||
Difficulty = SeedSettings['Difficulty']
|
Difficulty = SeedSettings['Difficulty']
|
||||||
DamageRuns = SeedSettings['DamageRuns']
|
DamageRuns = SeedSettings['DamageRuns']
|
||||||
random.seed(SeedValue + str(SeedSettings))
|
random.seed(SeedValue + str(SeedSettings))
|
||||||
|
|
Loading…
Reference in New Issue