Skip to content

Commit 7c8e34b

Browse files
committed
Fix Chocolate Island 4 Dragon Coins logic
1 parent f8e1d2e commit 7c8e34b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worlds/smw/Regions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ def create_regions(world, player: int, active_locations):
808808
(state.has(ItemName.yellow_switch_palace, player) or state.has(ItemName.red_switch_palace, player)))))
809809
add_location_to_region(world, player, active_locations, LocationName.chocolate_island_3_region, LocationName.chocolate_island_3_dragon)
810810
add_location_to_region(world, player, active_locations, LocationName.chocolate_island_4_region, LocationName.chocolate_island_4_dragon,
811-
lambda state: (state.has(ItemName.mario_run, player) and
811+
lambda state: (state.has(ItemName.p_switch, player) and
812812
state.has(ItemName.progressive_powerup, player, 3)))
813813
add_location_to_region(world, player, active_locations, LocationName.chocolate_island_5_region, LocationName.chocolate_island_5_dragon,
814814
lambda state: (state.has(ItemName.mario_swim, player) or

0 commit comments

Comments
 (0)