From 500cb5ff5b763ea51e656c7d785ab88dcf1e2506 Mon Sep 17 00:00:00 2001 From: ThePurpleAnon <100617766+ThePurpleAnon@users.noreply.github.com> Date: Tue, 30 Apr 2024 21:05:20 -0500 Subject: [PATCH] done frogge :3 --- Assets/Scripts/Games/FrogHop/FrogHop.cs | 9 ++++++--- Assets/Scripts/Games/FrogHop/ntrFrog.cs | 2 -- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Assets/Scripts/Games/FrogHop/FrogHop.cs b/Assets/Scripts/Games/FrogHop/FrogHop.cs index 828584226..0affdb5ea 100644 --- a/Assets/Scripts/Games/FrogHop/FrogHop.cs +++ b/Assets/Scripts/Games/FrogHop/FrogHop.cs @@ -381,9 +381,12 @@ namespace HeavenStudio.Games if (PlayerInput.GetIsAction(InputAction_BasicPress) && !IsExpectingInputNow(InputAction_BasicPress)) { - PlayerFrog.Hop(); - SoundByte.PlayOneShot("miss"); - LightMiss(true); + if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch || !IsExpectingInputNow(InputAction_AltPress)) + { + PlayerFrog.Hop(); + SoundByte.PlayOneShot("miss"); + LightMiss(true); + } } if (PlayerInput.GetIsAction(InputAction_AltPress) && !IsExpectingInputNow(InputAction_AltPress) && PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch) diff --git a/Assets/Scripts/Games/FrogHop/ntrFrog.cs b/Assets/Scripts/Games/FrogHop/ntrFrog.cs index 751ea5bc8..d3ae8816c 100644 --- a/Assets/Scripts/Games/FrogHop/ntrFrog.cs +++ b/Assets/Scripts/Games/FrogHop/ntrFrog.cs @@ -120,8 +120,6 @@ namespace HeavenStudio.Games.Scripts_FrogHop else animSide *= -1; if (MissFace != null) MissFace.localScale = new Vector3(animSide, 1, 1); Head.flipX = animSide > 0; - - Debug.Log(animSide); } public void Darken(bool reverse = false)