Links Awakening: Implement New Game (#1334)
Adds Link's Awakening: DX. Fully imports and forks LADXR, with permission - https://github.com/daid/LADXR
This commit is contained in:
18
worlds/ladx/LADXR/locations/toadstool.py
Normal file
18
worlds/ladx/LADXR/locations/toadstool.py
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user