bool IsCostumeInUse(int cost) { int i; Actor a; if (_roomResource != 0) for (i = 1; i < Actors.Length; i++) { a = Actors[i]; if (a.IsInCurrentRoom && a.Costume == cost) return true; } return false; } }