Skip to content

Commit df810a4

Browse files
committed
fix tests
1 parent 2ba6dd1 commit df810a4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/asserts/keywords.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,9 @@ def check_speed_states(strat, err_fn):
837837
and s.get("exitCondition", {}).get("leaveWithGMode") is not None
838838
for s in room["strats"]
839839
):
840-
if room["id"] == 321:
841-
# Toilet Bowl is an exception where there legitimately is no comeInWithGMode+leaveWithGMode strat
840+
if room["id"] == 321 or (room["id"] == 44 and node["id"] == 1):
841+
# Toilet Bowl (321) is an exception where there legitimately is no comeInWithGMode+leaveWithGMode strat
842+
# Green Brinstar Main Shaft (44) is also an exception because the elevator takes Samus to a G-mode junction which can lead back up
842843
pass
843844
else:
844845
msg = f"🔴ERROR: Node disables useImplicitCarryGModeBackThrough but has no comeInWithGMode+leaveWithGMode strat: {nodeRef}:{node['name']}"

0 commit comments

Comments
 (0)