reimplement the fixes

This commit is contained in:
AstrlJelly 2024-01-30 23:49:34 -05:00
parent 6a448c1c45
commit 992511a2b2
2 changed files with 14 additions and 11 deletions

View file

@ -266,7 +266,7 @@ namespace HeavenStudio.Games
private void ScheduleStep(double beat)
{
PlayerActionEvent input = ScheduleInput(beat, 0.5f, InputAction_BasicPress, Success, Miss, Nothing);
input.IsHittable = () => man.canStep && man.canStepFromAnim && man.FacingCorrectly();
// input.IsHittable = () => man.canStep && man.canStepFromAnim && man.FacingCorrectly();
}
private void RecursiveStepping(double beat)

View file

@ -286,16 +286,6 @@ namespace HeavenStudio.Games
if (dumplings.Count != 0) InputFunctions(3);
}
// blushes when done eating but not when staring
if (needBlush
&& !MonkAnim.IsPlayingAnimationNames("Eat", "Stare", "Barely", "Miss")
&& !isStaring
&& !noBlush)
{
MonkAnim.DoScaledAnimationAsync("Blush", 0.5f);
needBlush = false;
}
// sets hair stuff active when it needs to be
if (growLevel > 0) {
StacheHolder.SetActive(true);
@ -346,6 +336,19 @@ namespace HeavenStudio.Games
}
}
private void LateUpdate()
{
// blushes when done eating but not when staring
if (needBlush
&& !MonkAnim.IsPlayingAnimationNames("Eat", "Stare", "Barely", "Miss")
&& !isStaring
&& !noBlush)
{
MonkAnim.DoScaledAnimationAsync("Blush", 0.5f);
needBlush = false;
}
}
public override void OnBeatPulse(double beat)
{
if ((MonkAnim.IsAnimationNotPlaying() || MonkAnim.IsPlayingAnimationNames("Bop", "Idle"))