From 5848330e660af63d7e7f1f0c7758fba6a88386ab Mon Sep 17 00:00:00 2001 From: Misa Date: Thu, 25 Jun 2020 14:34:22 -0700 Subject: [PATCH] Re-enable unbounded gamestate increment in glitchrunner mode This is the first part of what is necessary for credits warp to work. If the "- Press ACTION to advance text -" prompt is up, and you manage to keep it up, then you can indefinitely increment the gamestate by pressing ACTION. This is first used in credits warp to teleport to the start of Space Station 2 (by utilizing the Eurogame expo script, triggered by a gamestate), and then again later by using a teleporter that has a high gamestate number to increment to the [C[C[C[C[Captain!] cutscene. --- desktop_version/src/Input.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index 1f631459..58b9b534 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -1597,10 +1597,11 @@ void gameinput() } else { - if(!game.glitchrunkludge) game.state++; + if(game.glitchrunnermode || !game.glitchrunkludge) game.state++; game.jumpheld = true; game.glitchrunkludge=true; //Bug fix! You should only be able to do this ONCE. + //...Unless you're in glitchrunner mode } } }