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

Make text() colors consistent with setblockcolour()

It seems a bit strange to have two separate color indexes that are
mostly the same, don'tcha think?
This commit is contained in:
Misa 2020-07-01 03:03:35 -07:00 committed by Ethan Lee
parent 8e4be6112d
commit f7da19b667

View file

@ -366,12 +366,24 @@ void scriptclass::run()
g = 134; g = 134;
b = 255; b = 255;
} }
else if (words[1] == "white")
{
r = 244;
g = 244;
b = 244;
}
else if (words[1] == "gray") else if (words[1] == "gray")
{ {
r = 174; r = 174;
g = 174; g = 174;
b = 174; b = 174;
} }
else if (words[1] == "orange")
{
r = 255;
g = 130;
b = 20;
}
else else
{ {
//use a gray //use a gray