This commit is contained in:
Giovani
2020-02-02 01:28:25 -05:00
5 changed files with 32 additions and 2 deletions

View File

@@ -174,12 +174,14 @@ public class EventControls : MonoBehaviour
isInBattle = false;
eventCycleAccumalator = 0;
currentEventControl = null;
player.ThrowUserInTheAirHurt();
SoundManagerScript.PlaySound("bug laugh");
return;
}
else if (FailedToClickCorrect(currentEventControl.keyCode))
{
SoundManagerScript.PlaySound("wrong");
tilemap.SetTile(currentEventControl.position, currentEventControl.failTile);
eventTriggered = false;
isInBattle = false;
@@ -187,6 +189,7 @@ public class EventControls : MonoBehaviour
currentEventControl = null;
player.ThrowUserInTheAirHurt();
SoundManagerScript.PlaySound("bug laugh");
return;
}