diff --git a/Assets/Scripts/Button Functions/GameOver.cs b/Assets/Scripts/Button Functions/GameOver.cs index 99665e3..bb75467 100644 --- a/Assets/Scripts/Button Functions/GameOver.cs +++ b/Assets/Scripts/Button Functions/GameOver.cs @@ -66,7 +66,7 @@ public class GameOver : MonoBehaviour timerOn = true; timer = 10f; deathPanel.SetActive(true); - infoText.text = "Try again?"; + SpeakEnemy(); costText.text = cost.ToString(); //ZUM DEBUGGEN CheckDeathTime(); @@ -137,4 +137,31 @@ public class GameOver : MonoBehaviour { cost = healthScript.deathCounter * 100; } + + + public bool fieKill; + public bool silvKill; + public bool haiKill; + public void SpeakEnemy() + { + + + if (fieKill) + { + infoText.text = "HAAHAHAHAHAAHAHAHAHAHAHAHAHA"; + } + + if (silvKill) + { + infoText.text = "Oh no, I accidently killed someone again. I'm sowy. I just wanted to hug you :("; + } + if (haiKill) + { + infoText.text = "You sound great..."; + } + else + { + infoText.text = "Try again?"; + } + } }