mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
SMZ3: KeyTH check fix (#2574)
This commit is contained in:
@@ -319,7 +319,7 @@ class Patch:
|
|||||||
def WriteZ3Locations(self, locations: List[Location]):
|
def WriteZ3Locations(self, locations: List[Location]):
|
||||||
for location in locations:
|
for location in locations:
|
||||||
if (location.Type == LocationType.HeraStandingKey):
|
if (location.Type == LocationType.HeraStandingKey):
|
||||||
self.patches.append((Snes(0x9E3BB), [0xE4] if location.APLocation.item.game == "SMZ3" and location.APLocation.item.item.Type == ItemType.KeyTH else [0xEB]))
|
self.patches.append((Snes(0x9E3BB), [0xEB]))
|
||||||
elif (location.Type in [LocationType.Pedestal, LocationType.Ether, LocationType.Bombos]):
|
elif (location.Type in [LocationType.Pedestal, LocationType.Ether, LocationType.Bombos]):
|
||||||
text = Texts.ItemTextbox(location.APLocation.item.item if location.APLocation.item.game == "SMZ3" else Item(ItemType.Something))
|
text = Texts.ItemTextbox(location.APLocation.item.item if location.APLocation.item.game == "SMZ3" else Item(ItemType.Something))
|
||||||
if (location.Type == LocationType.Pedestal):
|
if (location.Type == LocationType.Pedestal):
|
||||||
|
Reference in New Issue
Block a user