Add textcase(n) commands to scripts

This commit is part of rewritten history of the localization branch.
The original (unsquashed) commit history can be found here:
https://github.com/Dav999-v/VVVVVV/tree/localization-orig
This commit is contained in:
Dav999-v 2022-12-30 23:11:44 +01:00 committed by Misa Elizabeth Kai
parent 1ead8885ba
commit 1d46e17286
2 changed files with 15 additions and 0 deletions

View File

@ -1569,6 +1569,7 @@ void scriptclass::load(const std::string& name)
"delay(45)",
"squeak(cry)",
"textcase(1)",
"text(blue,0,0,1)",
"Waaaa!",
"position(blue,above)",
@ -1596,6 +1597,7 @@ void scriptclass::load(const std::string& name)
"speak_active",
"squeak(cry)",
"textcase(2)",
"text(blue,0,0,1)",
"Waaaa!",
"position(blue,above)",
@ -5947,26 +5949,31 @@ void scriptclass::load(const std::string& name)
"delay(1)",
"squeak(green)",
"textcase(1)",
"text(purple,0,0,1)",
"Captain! ",
"position(purple,above)",
"backgroundtext",
"speak",
"textcase(2)",
"text(yellow,0,0,1)",
"Captain! ",
"position(yellow,above)",
"backgroundtext",
"speak",
"textcase(3)",
"text(red,0,0,1)",
"Captain! ",
"position(red,above)",
"backgroundtext",
"speak",
"textcase(4)",
"text(green,0,0,1)",
"Captain! ",
"position(green,above)",
"backgroundtext",
"speak",
"textcase(5)",
"text(blue,0,0,1)",
"Captain!",
"position(blue,above)",
@ -6537,31 +6544,37 @@ void scriptclass::load(const std::string& name)
"changemood(player,0)",
"changemood(green,0)",
"changemood(purple,0)",
"textcase(1)",
"text(player,0,0,1)",
"COMBINE!",
"position(player,above)",
"backgroundtext",
"speak",
"textcase(2)",
"text(purple,0,0,1)",
"COMBINE!",
"position(purple,above)",
"backgroundtext",
"speak",
"textcase(3)",
"text(yellow,0,0,1)",
"COMBINE!",
"position(yellow,above)",
"backgroundtext",
"speak",
"textcase(4)",
"text(red,0,0,1)",
"COMBINE!",
"position(red,above)",
"backgroundtext",
"speak",
"textcase(5)",
"text(green,0,0,1)",
"COMBINE!",
"position(green,above)",
"backgroundtext",
"speak",
"textcase(6)",
"text(blue,0,0,1)",
"COMBINE!",
"position(blue,above)",

View File

@ -382,6 +382,7 @@ void scriptclass::loadother(const char* t)
"speak_active",
"squeak(player)",
"textcase(1)",
"text(cyan,0,0,1)",
"Yes!",
"position(player,above)",
@ -399,6 +400,7 @@ void scriptclass::loadother(const char* t)
"speak_active",
"squeak(player)",
"textcase(2)",
"text(cyan,0,0,1)",
"Yes!",
"position(player,above)",