* use top badge overall instead of highscore badge
This commit is contained in:
parent
1c68d2a07d
commit
cb3fa1c38f
|
@ -290,8 +290,8 @@ function drawSong(song, y)
|
||||||
|
|
||||||
-- Draw score badge
|
-- Draw score badge
|
||||||
local badgeImage = badgeImages[1];
|
local badgeImage = badgeImages[1];
|
||||||
if bestScore then
|
if selectedSongDifficulty.topBadge then
|
||||||
badgeImage = badgeImages[bestScore.badge+1];
|
badgeImage = badgeImages[selectedSongDifficulty.topBadge+1];
|
||||||
end
|
end
|
||||||
gfx.BeginPath()
|
gfx.BeginPath()
|
||||||
gfx.ImageRect(songX+282, y+44, 79, 69, badgeImage, 1, 0)
|
gfx.ImageRect(songX+282, y+44, 79, 69, badgeImage, 1, 0)
|
||||||
|
@ -368,7 +368,7 @@ function drawData() -- Draws the song data on the left panel
|
||||||
gfx.ImageRect(360, 773, 45, 45, gradeImage, transitionAfterscrollGradeAlpha, 0);
|
gfx.ImageRect(360, 773, 45, 45, gradeImage, transitionAfterscrollGradeAlpha, 0);
|
||||||
|
|
||||||
-- Draw badge
|
-- Draw badge
|
||||||
badgeImage = badgeImages[bestScore.badge+1];
|
badgeImage = badgeImages[diff.topBadge+1];
|
||||||
gfx.BeginPath()
|
gfx.BeginPath()
|
||||||
gfx.ImageRect(425, 724, 93/1.1, 81/1.1, badgeImage, transitionAfterscrollBadgeAlpha, 0)
|
gfx.ImageRect(425, 724, 93/1.1, 81/1.1, badgeImage, transitionAfterscrollBadgeAlpha, 0)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue