last commit but r2 (#977)

This commit is contained in:
AstrlJelly 2024-06-14 18:06:11 -04:00 committed by GitHub
parent 6f9a4fab5f
commit 6b8693a13e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 10 deletions

View File

@ -1015,7 +1015,7 @@ namespace HeavenStudio.Games
} }
else else
{ {
if (PlayerInput.GetIsAction(InputAction_BasicPressing) || GameManager.instance.autoplay) if (PlayerInput.GetIsAction(InputAction_BasicPressing) || GameManager.instance.Autoplay)
{ {
//sound //sound
if (lateness == 0) if (lateness == 0)

View File

@ -30,7 +30,7 @@ namespace HeavenStudio.Games.Scripts_MannequinFactory
BeatAction.New(game, new List<BeatAction.Action> { BeatAction.New(game, new List<BeatAction.Action> {
new(startBeat + 1, delegate { headAnim.DoScaledAnimationAsync("Move1", 0.3f); }), new(startBeat + 1, delegate { headAnim.DoScaledAnimationAsync("Move1", 0.3f); }),
new(startBeat + 3, delegate { if (game.gameManager.autoplay) headAnim.DoScaledAnimationAsync("Move2", 0.3f); }), new(startBeat + 3, delegate { if (game.gameManager.Autoplay) headAnim.DoScaledAnimationAsync("Move2", 0.3f); }),
new(startBeat + 4, delegate { new(startBeat + 4, delegate {
PlayerActionEvent input; PlayerActionEvent input;
if (turnStatus == 1) { if (turnStatus == 1) {

View File

@ -612,7 +612,7 @@ namespace HeavenStudio.Games
} }
else else
{ {
if (GameManager.instance.autoplay) if (GameManager.instance.Autoplay)
{ {
RavenAnim.DoScaledAnimationAsync("Ready", 0.5f); RavenAnim.DoScaledAnimationAsync("Ready", 0.5f);
} }

View File

@ -103,14 +103,14 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
{ {
new BeatAction.Action(endBeat, delegate new BeatAction.Action(endBeat, delegate
{ {
if (GameManager.instance.autoplay && !stopped) if (GameManager.instance.Autoplay && !stopped)
{ {
game.playYan.Walk(); game.playYan.Walk();
} }
}), }),
new BeatAction.Action(endBeat + 0.5, delegate new BeatAction.Action(endBeat + 0.5, delegate
{ {
if (GameManager.instance.autoplay && !stopped && !isEndEvent) if (GameManager.instance.Autoplay && !stopped && !isEndEvent)
{ {
game.playYan.Walk(); game.playYan.Walk();
anim.DoScaledAnimationAsync("Note", 0.5f); anim.DoScaledAnimationAsync("Note", 0.5f);
@ -119,7 +119,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
}), }),
new BeatAction.Action(endBeat + 1, delegate new BeatAction.Action(endBeat + 1, delegate
{ {
if (GameManager.instance.autoplay && !stopped && !isEndEvent) if (GameManager.instance.Autoplay && !stopped && !isEndEvent)
{ {
rollPlatform.DoScaledAnimationAsync("Note", 0.5f); rollPlatform.DoScaledAnimationAsync("Note", 0.5f);
SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type); SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type);
@ -133,7 +133,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
{ {
new BeatAction.Action(endBeat + 0.5, delegate new BeatAction.Action(endBeat + 0.5, delegate
{ {
if (GameManager.instance.autoplay && !stopped) if (GameManager.instance.Autoplay && !stopped)
{ {
handler.StopAll(); handler.StopAll();
handler.DestroyPlatforms(endBeat + 2, endBeat - 3, endBeat + 6); handler.DestroyPlatforms(endBeat + 2, endBeat - 3, endBeat + 6);
@ -218,14 +218,14 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
{ {
new BeatAction.Action(endBeat, delegate new BeatAction.Action(endBeat, delegate
{ {
if (GameManager.instance.autoplay && !stopped) if (GameManager.instance.Autoplay && !stopped)
{ {
game.playYan.Walk(); game.playYan.Walk();
} }
}), }),
new BeatAction.Action(endBeat + 0.5, delegate new BeatAction.Action(endBeat + 0.5, delegate
{ {
if (GameManager.instance.autoplay && !stopped && !isEndEvent) if (GameManager.instance.Autoplay && !stopped && !isEndEvent)
{ {
anim.DoScaledAnimationAsync("Note", 0.5f); anim.DoScaledAnimationAsync("Note", 0.5f);
SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type); SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type);
@ -239,7 +239,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
{ {
new BeatAction.Action(endBeat, delegate new BeatAction.Action(endBeat, delegate
{ {
if (GameManager.instance.autoplay && !stopped) if (GameManager.instance.Autoplay && !stopped)
{ {
handler.StopAll(); handler.StopAll();
handler.DestroyPlatforms(endBeat + 2, endBeat - 3, endBeat + 6); handler.DestroyPlatforms(endBeat + 2, endBeat - 3, endBeat + 6);