isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
14 lines (12 loc) • 540 B
text/typescript
import { DoorSlot } from "isaac-typescript-definitions";
export const OPPOSITE_DOOR_SLOTS = {
[]: undefined, // -1
[]: DoorSlot.RIGHT_0, // 0
[]: DoorSlot.DOWN_0, // 1
[]: DoorSlot.LEFT_0, // 2
[]: DoorSlot.UP_0, // 3
[]: DoorSlot.RIGHT_1, // 4
[]: DoorSlot.DOWN_1, // 5
[]: DoorSlot.LEFT_1, // 6
[]: DoorSlot.UP_1, // 7
} as const satisfies Record<DoorSlot, DoorSlot | undefined>;