1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 18:19:43 +01:00

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.
This commit is contained in:
Misa 2020-06-25 14:34:22 -07:00 committed by Ethan Lee
parent 779083b417
commit 5848330e66

View file

@ -1597,10 +1597,11 @@ void gameinput()
} }
else else
{ {
if(!game.glitchrunkludge) game.state++; if(game.glitchrunnermode || !game.glitchrunkludge) game.state++;
game.jumpheld = true; game.jumpheld = true;
game.glitchrunkludge=true; game.glitchrunkludge=true;
//Bug fix! You should only be able to do this ONCE. //Bug fix! You should only be able to do this ONCE.
//...Unless you're in glitchrunner mode
} }
} }
} }