mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
only force pinball key in non glitched logic and non retro
This commit is contained in:
@@ -47,10 +47,8 @@ def fill_dungeons(world):
|
|||||||
all_state_base = world.get_all_state()
|
all_state_base = world.get_all_state()
|
||||||
|
|
||||||
for player in range(1, world.players + 1):
|
for player in range(1, world.players + 1):
|
||||||
|
if not world.retro[player] and world.logic == "noglitches":
|
||||||
pinball_room = world.get_location('Skull Woods - Pinball Room', player)
|
pinball_room = world.get_location('Skull Woods - Pinball Room', player)
|
||||||
if world.retro[player]:
|
|
||||||
world.push_item(pinball_room, ItemFactory('Small Key (Universal)', player), False)
|
|
||||||
else:
|
|
||||||
world.push_item(pinball_room, ItemFactory('Small Key (Skull Woods)', player), False)
|
world.push_item(pinball_room, ItemFactory('Small Key (Skull Woods)', player), False)
|
||||||
pinball_room.event = True
|
pinball_room.event = True
|
||||||
pinball_room.locked = True
|
pinball_room.locked = True
|
||||||
|
Reference in New Issue
Block a user