Skip to content

Commit 1dab361

Browse files
add main skillset to score display for scores
1 parent 296f30a commit 1dab361

File tree

1 file changed

+17
-2
lines changed
  • Themes/Til Death/BGAnimations/ScreenSelectMusic decorations

1 file changed

+17
-2
lines changed

Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/score.lua

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ local l = Def.ActorFrame{ -- stuff inside the frame.. so we can move it all at o
334334
{
335335
Name = "Score",
336336
InitCommand = function(self)
337-
self:xy(55, 33):zoom(0.6):halign(0):settext("")
337+
self:xy(55, 30):zoom(0.6):halign(0):settext("")
338338
end,
339339
DisplayCommand = function(self)
340340
if score:GetWifeScore() == 0 then
@@ -346,11 +346,26 @@ local l = Def.ActorFrame{ -- stuff inside the frame.. so we can move it all at o
346346
end
347347
},
348348

349+
LoadFont("Common Normal") ..
350+
{
351+
Name = "Score",
352+
InitCommand = function(self)
353+
self:xy(55, 43):zoom(0.5):halign(0):settext("")
354+
end,
355+
DisplayCommand = function(self)
356+
if score:GetWifeScore() == 0 then
357+
self:settext("")
358+
else
359+
self:settext(GAMESTATE:GetCurrentSteps(PLAYER_1):GetRelevantSkillsetsByMSDRank(getCurRateValue(), 1))
360+
end
361+
end
362+
},
363+
349364
LoadFont("Common Normal") ..
350365
{
351366
Name = "ClearType",
352367
InitCommand = function(self)
353-
self:y(41):zoom(0.5):halign(0):halign(0):settext("No Play"):diffuse(
368+
self:y(43):zoom(0.5):halign(0):settext("No Play"):diffuse(
354369
color(colorConfig:get_data().clearType["NoPlay"])
355370
)
356371
end,

0 commit comments

Comments
 (0)