More swamp fixes
Removed Left Drain to Right (switch resets)
This commit is contained in:
@@ -1421,7 +1421,6 @@ logical_connections = [
|
|||||||
('Swamp Barrier Ledge - Orange', 'Swamp Barrier'),
|
('Swamp Barrier Ledge - Orange', 'Swamp Barrier'),
|
||||||
('Swamp Barrier - Orange', 'Swamp Barrier Ledge'),
|
('Swamp Barrier - Orange', 'Swamp Barrier Ledge'),
|
||||||
('Swamp Barrier Ledge Hook Path', 'Swamp West Ledge'),
|
('Swamp Barrier Ledge Hook Path', 'Swamp West Ledge'),
|
||||||
('Swamp Drain Left Switch', 'Swamp Drain Right'),
|
|
||||||
('Swamp Drain Right Switch', 'Swamp Drain Left'),
|
('Swamp Drain Right Switch', 'Swamp Drain Left'),
|
||||||
('Swamp Flooded Spot Ladder', 'Swamp Flooded Room'),
|
('Swamp Flooded Spot Ladder', 'Swamp Flooded Room'),
|
||||||
('Swamp Flooded Room Ladder', 'Swamp Flooded Spot'),
|
('Swamp Flooded Room Ladder', 'Swamp Flooded Spot'),
|
||||||
|
|||||||
10
Doors.py
10
Doors.py
@@ -397,7 +397,7 @@ def create_doors(world, player):
|
|||||||
create_door(player, 'Swamp Barrier EN', Nrml).dir(Direction.East, 0x34, Top, High).pos(0),
|
create_door(player, 'Swamp Barrier EN', Nrml).dir(Direction.East, 0x34, Top, High).pos(0),
|
||||||
create_door(player, 'Swamp Barrier - Orange', Lgcl),
|
create_door(player, 'Swamp Barrier - Orange', Lgcl),
|
||||||
create_door(player, 'Swamp Barrier Ledge Hook Path', Lgcl),
|
create_door(player, 'Swamp Barrier Ledge Hook Path', Lgcl),
|
||||||
create_door(player, 'Swamp Attic Down Stairs', Sprl).dir(Direction.Down, 0x54, 0, HTH).ss(Z, 0x12, 0x80),
|
create_door(player, 'Swamp Attic Down Stairs', Sprl).dir(Direction.Down, 0x54, 0, HTH).ss(Z, 0x12, 0x80, False, True),
|
||||||
create_door(player, 'Swamp Attic Left Pit', Hole),
|
create_door(player, 'Swamp Attic Left Pit', Hole),
|
||||||
create_door(player, 'Swamp Attic Right Pit', Hole),
|
create_door(player, 'Swamp Attic Right Pit', Hole),
|
||||||
create_door(player, 'Swamp Push Statue S', Nrml).dir(Direction.South, 0x26, Mid, High).small_key().pos(0),
|
create_door(player, 'Swamp Push Statue S', Nrml).dir(Direction.South, 0x26, Mid, High).small_key().pos(0),
|
||||||
@@ -412,16 +412,15 @@ def create_doors(world, player):
|
|||||||
create_door(player, 'Swamp Right Elbow Down Stairs', Sprl).dir(Direction.Down, 0x26, 1, HTH).ss(S, 0x12, 0xb0, True, True),
|
create_door(player, 'Swamp Right Elbow Down Stairs', Sprl).dir(Direction.Down, 0x26, 1, HTH).ss(S, 0x12, 0xb0, True, True),
|
||||||
create_door(player, 'Swamp Drain Left Up Stairs', Sprl).dir(Direction.Up, 0x76, 0, HTH).ss(S, 0x1b, 0x2c, True, True),
|
create_door(player, 'Swamp Drain Left Up Stairs', Sprl).dir(Direction.Up, 0x76, 0, HTH).ss(S, 0x1b, 0x2c, True, True),
|
||||||
create_door(player, 'Swamp Drain WN', Intr).dir(Direction.West, 0x76, Top, Low).pos(0),
|
create_door(player, 'Swamp Drain WN', Intr).dir(Direction.West, 0x76, Top, Low).pos(0),
|
||||||
create_door(player, 'Swamp Drain Left Switch', Lgcl),
|
|
||||||
create_door(player, 'Swamp Drain Right Switch', Lgcl),
|
create_door(player, 'Swamp Drain Right Switch', Lgcl),
|
||||||
create_door(player, 'Swamp Drain Right Up Stairs', Sprl).dir(Direction.Up, 0x76, 1, HTH).ss(S, 0x1b, 0x9c, True, True),
|
create_door(player, 'Swamp Drain Right Up Stairs', Sprl).dir(Direction.Up, 0x76, 1, HTH).ss(S, 0x1b, 0x9c, True, True),
|
||||||
create_door(player, 'Swamp Flooded Room Up Stairs', Sprl).dir(Direction.Up, 0x76, 2, HTH).ss(X, 0x1a, 0xac, True, True),
|
create_door(player, 'Swamp Flooded Room Up Stairs', Sprl).dir(Direction.Up, 0x76, 2, HTH).ss(X, 0x1a, 0xac, True, True),
|
||||||
create_door(player, 'Swamp Flooded Room WS', Intr).dir(Direction.West, 0x76, Bot, Low).pos(1),
|
create_door(player, 'Swamp Flooded Room WS', Intr).dir(Direction.West, 0x76, Bot, Low).pos(1),
|
||||||
create_door(player, 'Swamp Flooded Spot Ladder', Lgcl),
|
create_door(player, 'Swamp Flooded Spot Ladder', Lgcl),
|
||||||
create_door(player, 'Swamp Flooded Room Ladder', Lgcl),
|
create_door(player, 'Swamp Flooded Room Ladder', Lgcl),
|
||||||
create_door(player, 'Swamp Basement Shallows NW', Nrml).dir(Direction.North, 0x76, Left, Low).toggler().pos(2),
|
create_door(player, 'Swamp Basement Shallows NW', Nrml).dir(Direction.North, 0x76, Left, High).toggler().pos(2),
|
||||||
create_door(player, 'Swamp Basement Shallows EN', Intr).dir(Direction.West, 0x76, Top, Low).pos(0),
|
create_door(player, 'Swamp Basement Shallows EN', Intr).dir(Direction.West, 0x76, Top, High).pos(0),
|
||||||
create_door(player, 'Swamp Basement Shallows ES', Intr).dir(Direction.East, 0x76, Bot, Low).pos(1),
|
create_door(player, 'Swamp Basement Shallows ES', Intr).dir(Direction.East, 0x76, Bot, High).pos(1),
|
||||||
create_door(player, 'Swamp Waterfall Room SW', Nrml).dir(Direction.South, 0x66, Left, Low).toggler().pos(1),
|
create_door(player, 'Swamp Waterfall Room SW', Nrml).dir(Direction.South, 0x66, Left, Low).toggler().pos(1),
|
||||||
create_door(player, 'Swamp Waterfall Room NW', Intr).dir(Direction.North, 0x66, Left, Low).pos(3),
|
create_door(player, 'Swamp Waterfall Room NW', Intr).dir(Direction.North, 0x66, Left, Low).pos(3),
|
||||||
create_door(player, 'Swamp Waterfall Room NE', Intr).dir(Direction.North, 0x66, Right, Low).pos(0),
|
create_door(player, 'Swamp Waterfall Room NE', Intr).dir(Direction.North, 0x66, Right, Low).pos(0),
|
||||||
@@ -451,7 +450,6 @@ def create_doors(world, player):
|
|||||||
world.get_door('Swamp Trench 2 Departure Wet', player).event('Trench 2 Switch')
|
world.get_door('Swamp Trench 2 Departure Wet', player).event('Trench 2 Switch')
|
||||||
world.get_door('Swamp Drain WN', player).event('Swamp Drain')
|
world.get_door('Swamp Drain WN', player).event('Swamp Drain')
|
||||||
world.get_door('Swamp Flooded Room WS', player).event('Swamp Drain')
|
world.get_door('Swamp Flooded Room WS', player).event('Swamp Drain')
|
||||||
world.get_door('Swamp Drain Left Switch', player).event('Swamp Drain')
|
|
||||||
world.get_door('Swamp Drain Right Switch', player).event('Swamp Drain')
|
world.get_door('Swamp Drain Right Switch', player).event('Swamp Drain')
|
||||||
world.get_door('Swamp Flooded Room Ladder', player).event('Swamp Drain')
|
world.get_door('Swamp Flooded Room Ladder', player).event('Swamp Drain')
|
||||||
|
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ def create_regions(world, player):
|
|||||||
create_dungeon_region(player, 'Swamp Shooters', 'Swamp Palace', None, ['Swamp Shooters SW', 'Swamp Shooters EN']),
|
create_dungeon_region(player, 'Swamp Shooters', 'Swamp Palace', None, ['Swamp Shooters SW', 'Swamp Shooters EN']),
|
||||||
create_dungeon_region(player, 'Swamp Left Elbow', 'Swamp Palace', None, ['Swamp Left Elbow WN', 'Swamp Left Elbow Down Stairs']),
|
create_dungeon_region(player, 'Swamp Left Elbow', 'Swamp Palace', None, ['Swamp Left Elbow WN', 'Swamp Left Elbow Down Stairs']),
|
||||||
create_dungeon_region(player, 'Swamp Right Elbow', 'Swamp Palace', None, ['Swamp Right Elbow SE', 'Swamp Right Elbow Down Stairs']),
|
create_dungeon_region(player, 'Swamp Right Elbow', 'Swamp Palace', None, ['Swamp Right Elbow SE', 'Swamp Right Elbow Down Stairs']),
|
||||||
create_dungeon_region(player, 'Swamp Drain Left', 'Swamp Palace', None, ['Swamp Drain Left Up Stairs', 'Swamp Drain WN', 'Swamp Drain Left Switch']),
|
create_dungeon_region(player, 'Swamp Drain Left', 'Swamp Palace', None, ['Swamp Drain Left Up Stairs', 'Swamp Drain WN']),
|
||||||
create_dungeon_region(player, 'Swamp Drain Right', 'Swamp Palace', ['Swamp Drain'], ['Swamp Drain Right Switch', 'Swamp Drain Right Up Stairs']),
|
create_dungeon_region(player, 'Swamp Drain Right', 'Swamp Palace', ['Swamp Drain'], ['Swamp Drain Right Switch', 'Swamp Drain Right Up Stairs']),
|
||||||
# This is intentionally odd so I don't have to treat the WS door in the Flooded Room oddly (because of how it works when going backward)
|
# This is intentionally odd so I don't have to treat the WS door in the Flooded Room oddly (because of how it works when going backward)
|
||||||
create_dungeon_region(player, 'Swamp Flooded Room', 'Swamp Palace', None, ['Swamp Flooded Room Up Stairs', 'Swamp Flooded Room Ladder', 'Swamp Flooded Room WS']),
|
create_dungeon_region(player, 'Swamp Flooded Room', 'Swamp Palace', None, ['Swamp Flooded Room Up Stairs', 'Swamp Flooded Room Ladder', 'Swamp Flooded Room WS']),
|
||||||
|
|||||||
2
Rom.py
2
Rom.py
@@ -18,7 +18,7 @@ from EntranceShuffle import door_addresses
|
|||||||
|
|
||||||
|
|
||||||
JAP10HASH = '03a63945398191337e896e5771f77173'
|
JAP10HASH = '03a63945398191337e896e5771f77173'
|
||||||
RANDOMIZERBASEHASH = 'b2e727f283c249568b4603166ea83977'
|
RANDOMIZERBASEHASH = '6da98d111b266fcbfa429950228e3181'
|
||||||
|
|
||||||
|
|
||||||
class JsonRom(object):
|
class JsonRom(object):
|
||||||
|
|||||||
1
Rules.py
1
Rules.py
@@ -334,7 +334,6 @@ def global_rules(world, player):
|
|||||||
set_rule(world.get_entrance('Swamp Trench 2 Departure Wet', player), lambda state: state.has('Flippers', player) and state.has('Trench 2 Filled', player))
|
set_rule(world.get_entrance('Swamp Trench 2 Departure Wet', player), lambda state: state.has('Flippers', player) and state.has('Trench 2 Filled', player))
|
||||||
set_rule(world.get_entrance('Swamp West Ledge Hook Path', player), lambda state: state.has('Hookshot', player))
|
set_rule(world.get_entrance('Swamp West Ledge Hook Path', player), lambda state: state.has('Hookshot', player))
|
||||||
set_rule(world.get_entrance('Swamp Barrier Ledge Hook Path', player), lambda state: state.has('Hookshot', player))
|
set_rule(world.get_entrance('Swamp Barrier Ledge Hook Path', player), lambda state: state.has('Hookshot', player))
|
||||||
set_rule(world.get_entrance('Swamp Drain Left Switch', player), lambda state: state.has('Drained Swamp', player))
|
|
||||||
set_rule(world.get_entrance('Swamp Drain Right Switch', player), lambda state: state.has('Drained Swamp', player))
|
set_rule(world.get_entrance('Swamp Drain Right Switch', player), lambda state: state.has('Drained Swamp', player))
|
||||||
set_rule(world.get_entrance('Swamp Drain WN', player), lambda state: state.has('Drained Swamp', player))
|
set_rule(world.get_entrance('Swamp Drain WN', player), lambda state: state.has('Drained Swamp', player))
|
||||||
set_rule(world.get_entrance('Swamp Flooded Room WS', player), lambda state: state.has('Drained Swamp', player))
|
set_rule(world.get_entrance('Swamp Flooded Room WS', player), lambda state: state.has('Drained Swamp', player))
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user