An initial commit.
ASAR asm patch included with test tables. Eastern and Hyrule Castle regions created from a while ago. Currently broken because boss prizes are unreachable.
This commit is contained in:
12
Main.py
12
Main.py
@@ -11,6 +11,8 @@ from BaseClasses import World, CollectionState, Item, Region, Location, Shop
|
||||
from Regions import create_regions, mark_light_world_regions
|
||||
from InvertedRegions import create_inverted_regions, mark_dark_world_regions
|
||||
from EntranceShuffle import link_entrances, link_inverted_entrances
|
||||
from Doors import create_doors
|
||||
from DoorShuffle import link_doors
|
||||
from Rom import patch_rom, get_enemizer_patch, apply_rom_settings, Sprite, LocalRom, JsonRom
|
||||
from Rules import set_rules
|
||||
from Dungeons import create_dungeons, fill_dungeons, fill_dungeons_restrictive
|
||||
@@ -45,12 +47,20 @@ def main(args, seed=None):
|
||||
if world.mode != 'inverted':
|
||||
for player in range(1, world.players + 1):
|
||||
create_regions(world, player)
|
||||
create_doors(world, player)
|
||||
create_dungeons(world, player)
|
||||
else:
|
||||
for player in range(1, world.players + 1):
|
||||
create_inverted_regions(world, player)
|
||||
create_inverted_regions(world, player) # todo: port all the dungeon region work
|
||||
create_doors(world, player)
|
||||
create_dungeons(world, player)
|
||||
|
||||
# Uncomment to try to shuffle stuff
|
||||
# logger.info('Shuffling dungeons')
|
||||
|
||||
# for player in range(1, world.players + 1):
|
||||
# link_doors(world, player)
|
||||
|
||||
logger.info('Shuffling the World about.')
|
||||
|
||||
if world.mode != 'inverted':
|
||||
|
||||
Reference in New Issue
Block a user