1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-14 00:33:39 +02:00

Don't hardreset() game.advancetext in glitchrunner mode

This is the second part of what is necessary for credits warp to work.

The speedrunners call this "text storage". You need to get the
advancetext prompt up without a text box in order to be able to
increment the gamestate without bound. In 2.0, script.hardreset() reset
the text boxes, but not the prompt.
This commit is contained in:
Misa 2020-06-25 14:39:51 -07:00 committed by Ethan Lee
parent 5848330e66
commit 9bab6bd0cb

View File

@ -3564,7 +3564,12 @@ void scriptclass::hardreset()
game.statedelay = 0;
game.hascontrol = true;
game.advancetext = false;
if (!game.glitchrunnermode)
{
// Keep the "- Press ACTION to advance text -" prompt around,
// apparently the speedrunners call it the "text storage" glitch
game.advancetext = false;
}
game.pausescript = false;