LADX: Probably fix generation error that palex had
This commit is contained in:
parent
d00abe7b8e
commit
60a26920e1
|
@ -19,7 +19,7 @@ class DroppedKey(ItemInfo):
|
||||||
extra = 0x01F8
|
extra = 0x01F8
|
||||||
super().__init__(room, extra)
|
super().__init__(room, extra)
|
||||||
def patch(self, rom, option, *, multiworld=None):
|
def patch(self, rom, option, *, multiworld=None):
|
||||||
if (option.startswith(MAP) and option != MAP) or (option.startswith(COMPASS) and option != COMPASS) or option.startswith(STONE_BEAK) or (option.startswith(NIGHTMARE_KEY) and option != NIGHTMARE_KEY )or (option.startswith(KEY) and option != KEY):
|
if (option.startswith(MAP) and option != MAP) or (option.startswith(COMPASS) and option != COMPASS) or (option.startswith(STONE_BEAK) and option != STONE_BEAK) or (option.startswith(NIGHTMARE_KEY) and option != NIGHTMARE_KEY) or (option.startswith(KEY) and option != KEY):
|
||||||
if option[-1] == 'P':
|
if option[-1] == 'P':
|
||||||
print(option)
|
print(option)
|
||||||
if self._location.dungeon == int(option[-1]) and multiworld is None and self.room not in {0x166, 0x223}:
|
if self._location.dungeon == int(option[-1]) and multiworld is None and self.room not in {0x166, 0x223}:
|
||||||
|
|
Loading…
Reference in New Issue