mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 23:42:21 +03:00
Remove duplicate talkgreen_2 script and alarmon/alarmoff commands
For some reason, there were just exact duplicates of the talkgreen_2 script and alarmon/alarmoff commands. I have no idea why, but cppcheck identified them.
This commit is contained in:
@@ -1156,15 +1156,6 @@ void scriptclass::run()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (words[0] == "alarmon")
|
|
||||||
{
|
|
||||||
game.alarmon = true;
|
|
||||||
game.alarmdelay = 0;
|
|
||||||
}
|
|
||||||
else if (words[0] == "alarmoff")
|
|
||||||
{
|
|
||||||
game.alarmon = false;
|
|
||||||
}
|
|
||||||
else if (words[0] == "activateteleporter")
|
else if (words[0] == "activateteleporter")
|
||||||
{
|
{
|
||||||
i = obj.getteleporter();
|
i = obj.getteleporter();
|
||||||
|
|||||||
@@ -4334,30 +4334,6 @@ void scriptclass::load(std::string t)
|
|||||||
};
|
};
|
||||||
filllines(lines);
|
filllines(lines);
|
||||||
}
|
}
|
||||||
else if (t == "talkgreen_2")
|
|
||||||
{
|
|
||||||
static const char* lines[] = {
|
|
||||||
"cutscene()",
|
|
||||||
"untilbars()",
|
|
||||||
"face(player,green)",
|
|
||||||
"face(green,player)",
|
|
||||||
|
|
||||||
"squeak(green)",
|
|
||||||
"text(green,0,0,3)",
|
|
||||||
"I think I can get this ship",
|
|
||||||
"moving again, but it's going",
|
|
||||||
"to take a while...",
|
|
||||||
"position(green,above)",
|
|
||||||
"speak_active",
|
|
||||||
|
|
||||||
"endtext",
|
|
||||||
|
|
||||||
"endcutscene()",
|
|
||||||
"untilbars()",
|
|
||||||
"createactivityzone(green)",
|
|
||||||
};
|
|
||||||
filllines(lines);
|
|
||||||
}
|
|
||||||
else if (t == "talkgreen_3")
|
else if (t == "talkgreen_3")
|
||||||
{
|
{
|
||||||
static const char* lines[] = {
|
static const char* lines[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user