From 867c85159012799f8a2bb79f4e73143b364020af Mon Sep 17 00:00:00 2001 From: Frakist <90983918+Frakist@users.noreply.github.com> Date: Thu, 25 Jan 2024 20:57:08 +0200 Subject: [PATCH] optional gitaroo ! --- source/funkin/game/PlayState.hx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index 8a6d7d6d..d1e56f7a 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -205,6 +205,10 @@ class PlayState extends MusicBeatState * Whenever the player can press 7, 8 or 9 to access the debug menus. */ public var canAccessDebugMenus:Bool = true; + /** + * Wether or not to show the secret gitaroo pause. + */ + public var allowGitaroo:Bool = true; /** * Whenever cam zooming is enabled, enables on a note hit if not cancelled. @@ -1081,7 +1085,7 @@ class PlayState extends MusicBeatState paused = true; // 1 / 1000 chance for Gitaroo Man easter egg - if (FlxG.random.bool(0.1)) + if (allowGitaroo && FlxG.random.bool(0.1)) { // gitaroo man easter egg FlxG.switchState(new GitarooPause());