display mods on result screen

This commit is contained in:
Yonokid
2025-08-27 10:24:21 -04:00
parent bca638c91e
commit efeb203620
4 changed files with 27 additions and 6 deletions

View File

@@ -196,6 +196,22 @@ class ResultScreen:
ray.end_shader_mode()
self.bottom_characters.draw()
def draw_modifiers(self):
if global_data.modifiers.display:
tex.draw_texture('score', 'mod_doron')
if global_data.modifiers.inverse:
tex.draw_texture('score', 'mod_abekobe')
if global_data.modifiers.random == 1:
tex.draw_texture('score', 'mod_kimagure')
elif global_data.modifiers.random == 2:
tex.draw_texture('score', 'mod_detarame')
if global_data.modifiers.speed >= 4:
tex.draw_texture('score', 'mod_yonbai')
elif global_data.modifiers.speed >= 3:
tex.draw_texture('score', 'mod_sanbai')
elif global_data.modifiers.speed > 1:
tex.draw_texture('score', 'mod_baisaku')
def draw(self):
x = 0
while x < self.width:
@@ -230,6 +246,8 @@ class ResultScreen:
if self.crown is not None:
self.crown.draw(self.crown_type)
self.draw_modifiers()
if self.high_score_indicator is not None:
self.high_score_indicator.draw()

View File

@@ -416,7 +416,7 @@ class SongSelectScreen:
return self.on_screen_end('ENTRY')
def draw_selector(self):
fade = 0.5 if self.neiro_selector is not None else self.text_fade_in.attribute
fade = 0.5 if (self.neiro_selector is not None or self.modifier_selector is not None) else self.text_fade_in.attribute
direction = 1 if self.diff_select_move_right else -1
if self.selected_difficulty <= -1 or self.prev_diff == -1:
if self.prev_diff == -1 and self.selected_difficulty >= 0: