define uncensored = True init 999: default persistent.game_done = True default persistent.holiday_special = True default persistent.modCharacterUnlock = True screen extra_replay(): tag menu use game_menu(_("SCENES"), saveloadscr=True): fixed: grid 4 2: align (0.0, 0.6) spacing 30 yspacing 60 for i in gal_characters: button: xysize (278, 344) if i in persistent.gallery_chars or persistent.modCharacterUnlock: add "images/gallery/portraits/{}.png".format(i) text i.title() style "navigation_button_text" xalign 0.5 yalign 1.0 xoffset 4 action ShowMenu("scene_selection_view", name=i, scenes=replay_scene_dict[i]) else: text "????" style "navigation_button_text" xalign 0.5 yalign 1.0 xoffset 4 hbox: xalign 0.0 spacing 70 if extras_installed: textbutton _("Extras") style "gallerybottombtn_button" action ShowMenu("scene_selection_view", name="Extras", scenes=gal_extras_scenes) textbutton _("TLM Scenes") style "gallerybottombtn_button" action ShowMenu("scene_selection_view", name="The Lost Memories", scenes=gal_tlm_scenes) textbutton _("Holiday Scenes") style "gallerybottombtn_button" action ShowMenu("scene_selection_view", name="Holiday Specials", scenes=gal_holiday_scenes) screen scene_selection_view(name, scenes): tag menu use game_menu(name.title()): fixed: viewport id "scene_label": align (0.0, 0.5) draggable True mousewheel True $ _rows = divmod(len(scenes), 3) $ rows = _rows[0] if _rows[1] == 0 else _rows[0] + 1 grid 3 rows: xspacing 36 yspacing 50 for sce in scenes: imagebutton: xysize (403, 248) idle Fixed(Solid("#000000", xysize=(50, 50), align=(0.5, 0.5)), Image(sce.thumbnail())) hover Fixed(Solid("#000000", xysize=(50, 50), align=(0.5, 0.5)), im.MatrixColor(sce.thumbnail(), im.matrix.brightness(0.12))) action [ Function(unlock_achievement, "ACH_PRIORITIESSTRAIGHT"), Replay(label=sce.label, scope=sce.scope, locked=False) ] for j in range(len(scenes), 3*rows): null height 1 hbox: xalign 0.0 spacing 70 textbutton _("Back") style "gallerybottombtn_button" pos (582, 15) action ShowMenu("extra_replay"), Hide("scene_selection_view") keysym "game_menu"