Skip to content

Commit

Permalink
Fix Chocolate Island 4 Dragon Coins logic
Browse files Browse the repository at this point in the history
  • Loading branch information
PoryGone committed Jan 19, 2023
1 parent f8e1d2e commit 7c8e34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/smw/Regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ def create_regions(world, player: int, active_locations):
(state.has(ItemName.yellow_switch_palace, player) or state.has(ItemName.red_switch_palace, player)))))
add_location_to_region(world, player, active_locations, LocationName.chocolate_island_3_region, LocationName.chocolate_island_3_dragon)
add_location_to_region(world, player, active_locations, LocationName.chocolate_island_4_region, LocationName.chocolate_island_4_dragon,
lambda state: (state.has(ItemName.mario_run, player) and
lambda state: (state.has(ItemName.p_switch, player) and
state.has(ItemName.progressive_powerup, player, 3)))
add_location_to_region(world, player, active_locations, LocationName.chocolate_island_5_region, LocationName.chocolate_island_5_dragon,
lambda state: (state.has(ItemName.mario_swim, player) or
Expand Down

0 comments on commit 7c8e34b

Please sign in to comment.