Skip to content

Commit

Permalink
Connect bottom Norfair to screw attack area
Browse files Browse the repository at this point in the history
  • Loading branch information
NoiseCrush committed Aug 19, 2024
1 parent 5664f95 commit af743e5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,18 @@ def bottom_norfair_to_ridley():
)


def bottom_norfair_to_screw():
return all(
RidleyBoss,
SpeedBooster,
CanBallCannon,
any(
IceBeam,
CanVerticalWall
)
)


# LN elevator to the bottom long hall
# connects to right shaft with no extra req's
# this happens to cover the reqs for left pillar, fake floor, long room, and the ability to get to right shaft
Expand Down
1 change: 1 addition & 0 deletions regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def create_regions_and_connections(world: MZMWorld):
connect(multiworld, player, "Lower Norfair -> Kraid", "Lower Norfair", "Kraid Bottom", lower_norfair_to_kraid().create_rule(world))
connect(multiworld, player, "Lower Norfair -> Bottom", "Lower Norfair", "Norfair Bottom", lower_norfair_to_bottom_norfair().create_rule(world))
connect(multiworld, player, "Norfair -> Ridley Elevator", "Norfair Bottom", "Ridley Main", bottom_norfair_to_ridley().create_rule(world))
connect(multiworld, player, "Norfair Bottom -> Screw Attack", "Norfair Bottom", "Norfair Screw Attack Area", bottom_norfair_to_screw().create_rule(world))
connect(multiworld, player, "Ridley Elevator -> Left Shaft", "Ridley Main", "Ridley Left Shaft", ridley_main_to_left_shaft().create_rule(world))
connect(multiworld, player, "Ridley Elevator -> Right Shaft Shortcut", "Ridley Main", "Ridley Right Shaft", ridley_main_to_right_shaft().create_rule(world))
connect(multiworld, player, "Ridley Left Shaft -> SW Puzzle", "Ridley Left Shaft", "Ridley SW Puzzle", ridley_left_shaft_to_sw_puzzle().create_rule(world))
Expand Down

0 comments on commit af743e5

Please sign in to comment.