private bool modBadelineOldsiteIsChaseEnd(On.Celeste.BadelineOldsite.orig_IsChaseEnd orig, BadelineOldsite self, bool value) { Session session = self.SceneAs <Level>().Session; if (session.Area.GetLevelSet() == "Celeste" && session.Area.GetSID() != "Celeste/2-OldSite") { // there is no chase end outside Old Site in the vanilla game. return(false); } return(orig(self, value)); }