 81a239325d
			
		
	
	81a239325d
	
	
	
		
			
			Adds Link's Awakening: DX. Fully imports and forks LADXR, with permission - https://github.com/daid/LADXR
		
			
				
	
	
		
			19 lines
		
	
	
		
			441 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			441 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from .droppedKey import DroppedKey
 | |
| from .items import *
 | |
| 
 | |
| 
 | |
| class Toadstool(DroppedKey):
 | |
|     def __init__(self):
 | |
|         super().__init__(0x050)
 | |
| 
 | |
|     def configure(self, options):
 | |
|         if not options.witch:
 | |
|             self.OPTIONS = [TOADSTOOL]
 | |
|         else:
 | |
|             super().configure(options)
 | |
| 
 | |
|     def read(self, rom):
 | |
|         if len(self.OPTIONS) == 1:
 | |
|             return TOADSTOOL
 | |
|         return super().read(rom)
 |