public static bool Unrandomized(this LogicObjects.LogicEntry entry, int UnRand0Manual1Either2 = 0) { if (UnRand0Manual1Either2 == 0) { return(entry.RandomizedState() == 1); } if (UnRand0Manual1Either2 == 1) { return(entry.RandomizedState() == 2); } if (UnRand0Manual1Either2 == 2) { return(entry.RandomizedState() == 1 || entry.RandomizedState() == 2); } return(false); }
public bool NeedsDialogBox(LogicObjects.LogicEntry entry) { return(!(entry.Checked || entry.SpoilerRandom > -2 || entry.RandomizedItem > -2 || entry.RandomizedState() == 2)); }
public static bool Randomized(this LogicObjects.LogicEntry entry) { return(entry.RandomizedState() == 0); }