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:
randall.rupper
2019-08-22 12:03:55 -06:00
parent c0acfdd81e
commit ad3770e534
13 changed files with 2014 additions and 38 deletions

12
Main.py
View File

@@ -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':