Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 2ea339c

Browse files
committed
Require space jump to escape alcove glitchless
1 parent a6b86fc commit 2ea339c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common/randomizer/region/TallonOverworld.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ export class TallonOverworld extends Region {
3939
|| (settings.standableTerrain && settings.dbj && items.canLayBombs()) // DBJ off the ship to the ledge
4040
|| (items.canLayBombs() && items.has(PrimeItem.BOOST_BALL)) || items.has(PrimeItem.SPACE_JUMP_BOOTS); // glitchless
4141
};
42+
this.locations.get(PrimeLocation.ALCOVE).canEscape = function (item: Item, items: ItemCollection): boolean {
43+
if (item)
44+
items = new ItemCollection([...items.toArray(), item]);
45+
return (settings.ghettoJumping) || items.has(PrimeItem.SPACE_JUMP_BOOTS);
46+
};
4247

4348
this.locations.get(PrimeLocation.ARTIFACT_TEMPLE).canFillItem = function (item: Item, items: ItemCollection): boolean {
4449
// If the seed uses the Always Open goal, do not put a progression item here

0 commit comments

Comments
 (0)