mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
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)
|