changes to colors
This commit is contained in:
@@ -116,21 +116,13 @@ function ColorDarkTone(c)
|
||||
end
|
||||
|
||||
function PlayerColor( pn )
|
||||
if pn == PLAYER_1 then
|
||||
return color("#ef403d") -- pink-red
|
||||
end
|
||||
if pn == PLAYER_2 then
|
||||
return color("#0089cf") -- sea-blue
|
||||
end
|
||||
if pn == PLAYER_1 then return color("#ef403d") end -- pink-red
|
||||
if pn == PLAYER_2 then return color("#0089cf") end -- sea-blue
|
||||
return color("1,1,1,1")
|
||||
end
|
||||
function PlayerScoreColor( pn )
|
||||
if pn == PLAYER_1 then
|
||||
return color("#ef403d") -- pink-red
|
||||
end
|
||||
if pn == PLAYER_2 then
|
||||
return color("#0089cf") -- sea-blue
|
||||
end
|
||||
if pn == PLAYER_1 then return color("#ef403d") end -- pink-red
|
||||
if pn == PLAYER_2 then return color("#0089cf") end -- sea-blue
|
||||
return color("1,1,1,1")
|
||||
end
|
||||
|
||||
@@ -153,11 +145,7 @@ function StepsOrTrailToColor(StepsOrTrail)
|
||||
end
|
||||
|
||||
function StageToColor( stage )
|
||||
local c = GameColor.Stage[stage]
|
||||
if c then
|
||||
return c
|
||||
end
|
||||
return color("#000000")
|
||||
return GameColor.Stage[stage] or color("#000000")
|
||||
end
|
||||
|
||||
function StageToStrokeColor( stage )
|
||||
@@ -166,11 +154,7 @@ function StageToStrokeColor( stage )
|
||||
end
|
||||
|
||||
function JudgmentLineToColor( i )
|
||||
local c = GameColor.Judgment[i]
|
||||
if c then
|
||||
return c
|
||||
end
|
||||
return color("#000000")
|
||||
return GameColor.Judgment[i] or color("#000000")
|
||||
end
|
||||
|
||||
function JudgmentLineToStrokeColor( i )
|
||||
|
||||
Reference in New Issue
Block a user