public override int GetHashCode() { int hash = 1; if (Proximity != 0F) { hash ^= Proximity.GetHashCode(); } if (Awareness != 0F) { hash ^= Awareness.GetHashCode(); } if (PokemonFrightened != false) { hash ^= PokemonFrightened.GetHashCode(); } return(hash); }