Esempio n. 1
0
 public void SetPokedexPerfect(PokedexType8a which) => GlobalData.Flags   |= (uint)((which < PokedexType8a.Count ? (1 << (int)which) : 1) << 6);
Esempio n. 2
0
 public bool IsPokedexPerfect(PokedexType8a which) => (GlobalData.Flags & ((which < PokedexType8a.Count ? (1 << (int)which) : 1) << 6)) != 0;
Esempio n. 3
0
 public void SetPokedexCompleted(PokedexType8a which) => GlobalData.Flags |= (uint)(which < PokedexType8a.Count ? (1 << (int)which) : 1);
Esempio n. 4
0
 public bool IsPokedexCompleted(PokedexType8a which) => (GlobalData.Flags & (which < PokedexType8a.Count ? (1 << (int)which) : 1)) != 0;