sm64: only apply DDD 100 coin star rule if the location exists (#716)
This commit is contained in:
		
							parent
							
								
									61f751a1db
								
							
						
					
					
						commit
						39ac3c38bf
					
				| 
						 | 
				
			
			@ -45,6 +45,7 @@ def set_rules(world, player: int, area_connections):
 | 
			
		|||
    add_rule(world.get_location("BBH: Eye to Eye in the Secret Room", player), lambda state: state.has("Vanish Cap", player))
 | 
			
		||||
    add_rule(world.get_location("DDD: Collect the Caps...", player), lambda state: state.has("Vanish Cap", player))
 | 
			
		||||
    add_rule(world.get_location("DDD: Pole-Jumping for Red Coins", player), lambda state: state.can_reach("Bowser in the Fire Sea", 'Region', player))
 | 
			
		||||
    if world.EnableCoinStars[player]:
 | 
			
		||||
        add_rule(world.get_location("DDD: 100 Coins", player), lambda state: state.can_reach("Bowser in the Fire Sea", 'Region', player))
 | 
			
		||||
    add_rule(world.get_location("SL: Into the Igloo", player), lambda state: state.has("Vanish Cap", player))
 | 
			
		||||
    add_rule(world.get_location("WDW: Quick Race Through Downtown!", player), lambda state: state.has("Vanish Cap", player))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue