Skip to content

Commit

Permalink
Pokemon FRLG: fixed issue with Route 10 South Water rules
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneras committed Sep 12, 2024
1 parent 3c8479e commit 5e6ced9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worlds/pokemon_frlg/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,14 +459,14 @@ def get_location(location: str):
set_rule(get_entrance("Route 10 Near Power Plant Surfing Spot"), lambda state: can_surf(state))
set_rule(get_entrance("Power Plant (Front)"),
lambda state: state.has("Machine Part", player) or not options.extra_key_items)
set_rule(get_entrance("Route 10 Waterfall Drop"), lambda state: can_waterfall(state))
set_rule(get_entrance("Route 10 Waterfall Ascend"), lambda state: can_waterfall(state))

if "Modify Route 10" in options.modify_world_state.value:
set_rule(get_entrance("Route 10 South Surfing Spot"), lambda state: can_surf(state))
set_rule(get_entrance("Route 10 Waterfall Drop"), lambda state: can_waterfall(state))
set_rule(get_entrance("Route 10 Waterfall Ascend"), lambda state: can_waterfall(state))
else:
set_rule(get_entrance("Route 10 South Surfing Spot"), lambda state: False)
set_rule(get_entrance("Route 10 Waterfall Drop"), lambda state: False)
set_rule(get_entrance("Route 10 South Landing"), lambda state: False)
set_rule(get_entrance("Route 10 South (Fishing Battle)"), lambda state: False)

# Rock Tunnel
Expand Down

0 comments on commit 5e6ced9

Please sign in to comment.