Fix softlock from interrupted completestop

In summary, if you got to gamestate 1002 or 1012 without an advancetext,
and you had completestop on, you were basically softlocked. So just add
those gamestates there and advance the gamestate if advancetext is off.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-07-05 10:14:26 -04:00
1 parent d06fadadf2
commit f28fcd78e8
1 file changed
+14
+14
View File
@@ -2085,6 +2085,13 @@ void Game::updatestate()
}
}
break;
case 1002:
if (!advancetext)
{
// Prevent softlocks if we somehow don't have advancetext
state++;
}
break;
case 1003:
graphics.textboxremove();
hascontrol = true;
@@ -2152,6 +2159,13 @@ void Game::updatestate()
graphics.textboxcenterx();
}
break;
case 1012:
if (!advancetext)
{
// Prevent softlocks if we somehow don't have advancetext
state++;
}
break;
case 1013:
graphics.textboxremove();
hascontrol = true;