mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Don't use separate variable for number of collected crewmates
Same as previous commit, except for crewmates in custom levels instead.
This commit is contained in:
@@ -2138,10 +2138,10 @@ void maprender()
|
||||
graphics.Print( -1, 220-110, ed.ListOfMetaData[game.playcustomlevel].Desc2, 196, 196, 255 - help.glow, true);
|
||||
graphics.Print( -1, 220-120, ed.ListOfMetaData[game.playcustomlevel].Desc3, 196, 196, 255 - help.glow, true);
|
||||
|
||||
if(map.customcrewmates-game.crewmates==1){
|
||||
graphics.Print(1,220-165, help.number(int(map.customcrewmates-game.crewmates))+ " crewmate remains", 196, 196, 255 - help.glow, true);
|
||||
}else if(map.customcrewmates-game.crewmates>0){
|
||||
graphics.Print(1,220-165, help.number(int(map.customcrewmates-game.crewmates))+ " crewmates remain", 196, 196, 255 - help.glow, true);
|
||||
if(map.customcrewmates-game.crewmates()==1){
|
||||
graphics.Print(1,220-165, help.number(int(map.customcrewmates-game.crewmates()))+ " crewmate remains", 196, 196, 255 - help.glow, true);
|
||||
}else if(map.customcrewmates-game.crewmates()>0){
|
||||
graphics.Print(1,220-165, help.number(int(map.customcrewmates-game.crewmates()))+ " crewmates remain", 196, 196, 255 - help.glow, true);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2153,10 +2153,10 @@ void maprender()
|
||||
graphics.Print( -1, 110, ed.ListOfMetaData[game.playcustomlevel].Desc2, 196, 196, 255 - help.glow, true);
|
||||
graphics.Print( -1, 120, ed.ListOfMetaData[game.playcustomlevel].Desc3, 196, 196, 255 - help.glow, true);
|
||||
|
||||
if(map.customcrewmates-game.crewmates==1){
|
||||
graphics.Print(1,165, help.number(int(map.customcrewmates-game.crewmates))+ " crewmate remains", 196, 196, 255 - help.glow, true);
|
||||
}else if(map.customcrewmates-game.crewmates>0){
|
||||
graphics.Print(1,165, help.number(int(map.customcrewmates-game.crewmates))+ " crewmates remain", 196, 196, 255 - help.glow, true);
|
||||
if(map.customcrewmates-game.crewmates()==1){
|
||||
graphics.Print(1,165, help.number(int(map.customcrewmates-game.crewmates()))+ " crewmate remains", 196, 196, 255 - help.glow, true);
|
||||
}else if(map.customcrewmates-game.crewmates()>0){
|
||||
graphics.Print(1,165, help.number(int(map.customcrewmates-game.crewmates()))+ " crewmates remain", 196, 196, 255 - help.glow, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user