1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-05 02:39:41 +01:00

Reset textcase in speak/speak_active

Originally, textcase was reset in scriptclass::translate_dialogue(),
which is called inside the `text` script command. However, this didn't
really work with the new on-the-fly text box translation system, and
that function is gone now, so I removed that and kind of forgot about
it.

Of course, this now causes a regression. Namely, that the text boxes
after the VVVVVV-Man sequence in the Secret Lab entrance cutscene are
not translated.

I can't reset the text case in `text`, as the scripts assume that they
can set the text case before `text`. So the next best thing is to reset
it in speak/speak_active.
This commit is contained in:
Misa 2024-01-21 16:49:06 -08:00 committed by Misa Elizabeth Kai
parent 861f724d90
commit c173dec8f9

View file

@ -811,6 +811,8 @@ void scriptclass::run(void)
graphics.textboxbuttons();
}
textbuttons = false;
textcase = 1;
}
else if (words[0] == "endtext")
{