void Win() { _currentMode = SpecialModes.WinAnim; animCount = 80; introLag = 80; introText = new string[2]; introText[0] = "CONGRATULATIONS"; if (key >= 0) { introText[1] = "YOU GOT A CRYSTAL KEY"; } else introText[1] = "YOU HAVE WON"; PlaySound.Play(PlaySound.SoundEffectName.Aspect); }
void Die() { _currentMode = SpecialModes.DeathAnim; animCount = 80; introLag = 80; introText = new string[1]; introText[0] = "NICE TRY"; }