public static void Postfix(Intercom __instance, ref bool __result) { CharacterClassManager ccm = __instance.GetComponent <CharacterClassManager>(); if (!ccm.CurClass.Is939()) { return; } __result = Vector3.Distance(__instance.transform.position, ccm.transform.position) < __instance.triggerDistance; }