init -1 style default: properties gui.text_properties() language gui.language init -1 style input: properties gui.text_properties("input", accent=True) adjust_spacing False init -1 style hyperlink_text: properties gui.text_properties("hyperlink", accent=True) hover_underline True init -1 style gui_text: properties gui.text_properties("interface") init -1 style button: properties gui.button_properties("button") activate_sound "audio/click1.ogg" init -1 style button_text is gui_text: properties gui.text_properties("button") yalign 0.5 init -1 style label_text is gui_text: properties gui.text_properties("label", accent=True) init -1 style prompt_text is gui_text: properties gui.text_properties("prompt") init -1 style bar: ysize gui.bar_size left_bar Frame("gui/bar/left.png", gui.bar_borders, tile=gui.bar_tile) right_bar Frame("gui/bar/right.png", gui.bar_borders, tile=gui.bar_tile) init -1 style vbar: xsize gui.bar_size top_bar Frame("gui/bar/top.png", gui.vbar_borders, tile=gui.bar_tile) bottom_bar Frame("gui/bar/bottom.png", gui.vbar_borders, tile=gui.bar_tile) init -1 style scrollbar: ysize gui.scrollbar_size base_bar Frame("gui/scrollbar/horizontal_[prefix_]bar.png", gui.scrollbar_borders, tile=gui.scrollbar_tile) thumb Frame("gui/scrollbar/horizontal_[prefix_]thumb.png", gui.scrollbar_borders, tile=gui.scrollbar_tile) init -1 style vscrollbar: xsize gui.scrollbar_size base_bar Frame("gui/scrollbar/vertical_[prefix_]bar.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile) thumb Frame("gui/scrollbar/vertical_[prefix_]thumb.png", gui.vscrollbar_borders, tile=gui.scrollbar_tile) init -1 style slider: ysize gui.slider_size base_bar Frame("gui/slider/horizontal_[prefix_]bar.png", gui.slider_borders, tile=gui.slider_tile) thumb "gui/slider/horizontal_[prefix_]thumb.png" init -1 style vslider: xsize gui.slider_size base_bar Frame("gui/slider/vertical_[prefix_]bar.png", gui.vslider_borders, tile=gui.slider_tile) thumb "gui/slider/vertical_[prefix_]thumb.png" init -1 style frame: padding gui.frame_borders.padding background Frame("gui/frame.png", gui.frame_borders, tile=gui.frame_tile) init -501 screen say(who, what): style_prefix "say" window: id "window" has vbox xsize 680 xalign 0.5 spacing 12 frame: ysize 60 padding (0, 0) background Null() if who is not None: text who id "who" yalign 0.5 text what id "what" init -1 python: config.character_id_prefixes.append('namebox') init -1 style window is default init -1 style say_label is default init -1 style say_dialogue is default init -1 style say_thought is say_dialogue init -1 style namebox is default init -1 style namebox_label is say_label init -1 style window: xalign 0.5 xfill True yalign gui.textbox_yalign ysize gui.textbox_height yoffset -70 background "#00000088" init -1 style namebox: xpos gui.name_xpos xanchor gui.name_xalign xsize gui.namebox_width ypos gui.name_ypos ysize gui.namebox_height background Frame("gui/namebox.png", gui.namebox_borders, tile=gui.namebox_tile, xalign=gui.name_xalign) padding gui.namebox_borders.padding init -1 style say_label: properties gui.text_properties("name", accent=True) xalign gui.name_xalign yalign 0.5 init -1 style say_dialogue: properties gui.text_properties("dialogue") xpos gui.dialogue_xpos xsize gui.dialogue_width ypos gui.dialogue_ypos adjust_spacing False init -501 screen input(prompt): style_prefix "input" window: has vbox xanchor gui.dialogue_text_xalign xpos gui.dialogue_xpos xsize gui.dialogue_width ypos gui.dialogue_ypos text prompt style "input_prompt" input id "input" init -1 style input_prompt is default init -1 style input_prompt: xalign gui.dialogue_text_xalign properties gui.text_properties("input_prompt") init -1 style input: xalign gui.dialogue_text_xalign xmaximum gui.dialogue_width init -501 screen choice(items, messenger_type="whatsapp"): style_prefix "choice" add "#00000066" vbox: for i in items: button: xsize 620 padding (10, 20) background AlphaMask(messages_dialogue_background_color[messenger_type][1], Frame("gui/messege background mask.png", 40, 40)) vbox: xalign 0.5 yalign 0.5 yoffset -4 text i.caption: xalign 0.5 color "#000000" if i.easy_caption and persistent.difficulty == all_difficulty[0]: text f"({i.easy_caption})": xalign 0.5 color "#000000bb" if i.condition: action i.action at button_hover_brightnes(0.7) use phone_interface(button_info_0=ShowMenu("phone_messenger", messenger_type = messenger_type), button_info_2=ShowMenu("save", Return()), button_icon_2=5, upper_color=frame_upper_color["choice"][messenger_type], lower_color=frame_lower_color["choice"][messenger_type]) init -1 style choice_vbox is vbox init -1 style choice_button is button init -1 style choice_button_text is button_text init -1 style choice_vbox: xalign 0.5 yalign 0.5 yanchor 0.5 spacing gui.choice_spacing init -501 screen save(button_info_0=ShowMenu("phone_main_menu")): tag menu modal True add phone_main_background_default align (0.5, 0.5) use save_and_load(button_info_0) use file_slots(_("Save")) use phone_interface(button_info_0, button_info_1=ShowMenu("phone_main_menu"), button_info_2=None, upper_color=frame_upper_color["save_and_load"], lower_color=frame_lower_color["save_and_load"]) init -501 screen load(button_info_0=ShowMenu("phone_main_menu")): tag menu modal True add phone_main_background_default align (0.5, 0.5) use save_and_load(button_info_0) use file_slots(_("Load")) use phone_interface(button_info_0, button_info_1=ShowMenu("phone_main_menu"), button_info_2=None, upper_color=frame_upper_color["save_and_load"], lower_color=frame_lower_color["save_and_load"]) init -501 screen save_and_load(button_info_0): vbox: frame: ypos 53 xfill True ysize 100 background Null() has hbox xalign 0.5 yalign 0.5 spacing 100 button: style "standart_button" xsize 180 ysize 70 add "gui/save.png": xalign 0.5 yalign 0.5 action ShowMenu("save", button_info_0) at button_hover_brightnes button: style "standart_button" xsize 180 ysize 70 add "gui/load.png": xalign 0.5 yalign 0.5 action ShowMenu("load", button_info_0) at button_hover_brightnes init -501 screen file_slots(title): default page_name_value = FilePageNameInputValue(pattern=_("Page {}"), auto=_("Autosave"), quick=_("Quicksave")) frame: style "main_frame" xfill True ysize 1158 ypos 153 background Null() text title: xalign 0.5 ypos 15 size 40 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] fixed: grid gui.file_slot_cols gui.file_slot_rows: style_prefix "slot" xalign 0.5 yalign 0.5 yoffset -10 spacing gui.slot_spacing for i in range(gui.file_slot_cols * gui.file_slot_rows): $ slot = i + 1 frame: xsize gui.slot_button_width ysize gui.slot_button_height padding (0, 0) background Null() button: action FileAction(slot) background Frame("gui/frames/frame2.png", 5, 5) vbox: spacing 20 add FileScreenshot(slot) xalign 0.5 text FileTime(slot, format=_("{#file_time}%A, %d %B %Y, %H:%M"), empty=_("Empty slot")): style "slot_time_text" text FileSaveName(slot): style "slot_name_text" key "save_delete" action FileDelete(slot) at button_hover_brightnes if FileTime(slot): button: xsize 30 ysize 30 xalign 1.0 yalign 0.0 xoffset 10 yoffset -10 padding (0, 0) background Frame("gui/del_circle.png") text "X": xalign 0.5 yalign 0.5 size 20 action FileDelete(slot) at button_hover_brightnes vbox: style_prefix "page" xalign 0.5 yalign 1.0 yoffset -30 hbox: xalign 0.5 spacing gui.page_spacing button: xsize 100 ysize 40 yalign 0.5 background Frame("gui/frames/frame2.png", 5, 5) text "<": xalign 0.5 yalign 0.5 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] action FilePagePrevious() at button_hover_brightnes button: style "page_label" xsize 300 ysize 40 key_events True yalign 0.5 action page_name_value.Toggle() input: style "page_label_text" xalign 0.5 yalign 0.5 value page_name_value button: xsize 100 ysize 40 yalign 0.5 background Frame("gui/frames/frame2.png", 5, 5) text ">": xalign 0.5 yalign 0.5 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] action FilePageNext() at button_hover_brightnes init -1 style page_label is gui_label init -1 style page_label_text is gui_label_text init -1 style page_button is gui_button init -1 style page_button_text is gui_button_text init -1 style slot_button is gui_button init -1 style slot_button_text is gui_button_text init -1 style slot_time_text is slot_button_text init -1 style slot_name_text is slot_button_text init -1 style page_label: xpadding 29 ypadding 2 init -1 style page_label_text: textalign 0.5 layout "subtitle" size 34 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] hover_color main_interface_text_color hover_outlines [(1, main_interface_outlines_color, 0, 0)] init -1 style page_button: properties gui.button_properties("page_button") init -1 style page_button_text: properties gui.text_properties("page_button") init -1 style slot_button: properties gui.button_properties("slot_button") init -1 style slot_button_text: properties gui.text_properties("slot_button") init -501 screen preferences(): tag menu modal True python: bar_text = [_("Music volume"), _("Sound volume"), _("Voice volume"), _("Text size")] bar_value = [Preference("music volume"), Preference("sound volume"), Preference("voice volume"), FieldValue(persistent, "messenger_text_size", step = 2, min = -2, max = 16)] button0_text = [_("Easy"), _("Normal"), _("Hard")] button0_action = [SetField(persistent, "difficulty", all_difficulty[i]) for i in range(3)] button1_text = [_("Window"), _("Fullscreen")] button1_action = [Preference("display", "window"), Preference("display", "fullscreen")] button2_text = [_("All"), _("After choices"), _("Transitions")] button2_action = [Preference("skip", "toggle"), Preference("after choices", "toggle"), InvertSelected(Preference("transitions", "toggle"))] add phone_main_background_default align (0.5, 0.5) frame: style "main_frame" xfill True ysize 1258 ypos 40 background Null() text _("Preferences"): xalign 0.5 ypos 50 size 40 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] vbox: xalign 0.5 yalign 0.5 xsize 700 spacing 20 vbox: spacing 20 xalign 0.5 vbox: xsize 700 xalign 0.5 spacing 8 text _("Difficulty"): size 36 xpos 20 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] hbox: xalign 0.5 spacing 10 for i in range(3): button: style "standart_button" text button0_text[i]: xalign 0.5 yalign 0.5 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] action button0_action[i] at button_hover_brightnes if renpy.variant("pc") or renpy.variant("web"): vbox: xsize 700 xalign 0.5 spacing 8 text _("Display"): size 36 xpos 20 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] hbox: xalign 0.5 spacing 10 for i in range(2): button: style "standart_button" text button1_text[i]: xalign 0.5 yalign 0.5 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] action button1_action[i] at button_hover_brightnes vbox: xsize 700 xalign 0.5 spacing 8 text _("Skip"): size 36 xpos 20 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] hbox: xalign 0.5 spacing 10 for i in range(3): button: style "standart_button" text button2_text[i]: xalign 0.5 yalign 0.5 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] action button2_action[i] at button_hover_brightnes null height (4 * gui.pref_spacing) vbox: spacing 20 xalign 0.5 for i in range(2): hbox: xsize 600 text bar_text[i]: xalign 0.0 yalign 0.5 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] bar: xsize 400 ysize 30 xalign 1.0 yalign 0.5 left_bar Frame("gui/frames/frame2.png", 7, 7) right_bar Frame("gui/frames/frame3.png", 7, 7) thumb None value bar_value[i] at button_hover_brightnes button: style "standart_button" xsize 180 ysize 50 text _("Mute all"): xalign 0.5 yalign 0.5 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] action Preference("all mute", "toggle") at button_hover_brightnes null height (4 * gui.pref_spacing) text _("Messenger"): size 36 xpos 20 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] vbox: spacing 20 xalign 0.5 hbox: xsize 600 text bar_text[3]: xalign 0.0 yalign 0.5 color main_interface_text_color outlines [(1, main_interface_outlines_color, 0, 0)] bar: xsize 400 ysize 30 xalign 1.0 yalign 0.5 left_bar Frame("gui/frames/frame2.png", 7, 7) right_bar Frame("gui/frames/frame3.png", 7, 7) thumb None value bar_value[3] at button_hover_brightnes frame: xalign 0.5 ypos 1040 xmaximum 600 padding (20, 20, 20, 20) background AlphaMask(messages_dialogue_background_color["whatsapp"][1], Frame("gui/messege background mask.png", 40, 40)) text _("I'm just an example of a message 😉"): color "#000000" size 24 + persistent.messenger_text_size yoffset -4 use phone_interface(upper_color=frame_upper_color["preferences"], lower_color=frame_lower_color["preferences"]) init -1 style standart_button: xsize 200 ysize 60 background Frame("gui/frames/frame2.png", 20, 20) selected_background Frame("gui/frames/frame4.png", 20, 20) init -501 screen confirm(message, yes_action, no_action): modal True zorder 200 style_prefix "confirm" add "#00000066" python: button_text = [_("Yes"), _("No")] button_action = [yes_action, no_action] frame: background Frame("gui/frames/frame27.png", 7, 7) xmaximum 600 padding (40, 40) has vbox xalign .5 yalign .5 spacing 18 label _(message): style "confirm_prompt" xalign 0.5 hbox: xalign 0.5 spacing 58 for i in range(2): button: style "standart_button" text button_text[i]: xalign 0.5 yalign 0.5 color gui.idle_color action button_action[i] at button_hover_brightnes key "game_menu" action no_action init -1 style confirm_frame is gui_frame init -1 style confirm_prompt is gui_prompt init -1 style confirm_prompt_text is gui_prompt_text init -1 style confirm_button is gui_medium_button init -1 style confirm_button_text is gui_medium_button_text init -1 style confirm_frame: background Frame([ "gui/confirm_frame.png", "gui/frame.png"], gui.confirm_frame_borders, tile=gui.frame_tile) padding gui.confirm_frame_borders.padding xalign .5 yalign .5 init -1 style confirm_prompt_text: textalign 0.5 layout "subtitle" size 36 color "#ffffff" init -1 style confirm_button: properties gui.button_properties("confirm_button") init -1 style confirm_button_text: properties gui.text_properties("confirm_button") init -501 screen skip_indicator(): zorder 100 style_prefix "skip" frame: has hbox spacing 4 text _("Skip") text "▸" at delayed_blink(0.0, 1.0) style "skip_triangle" text "▸" at delayed_blink(0.2, 1.0) style "skip_triangle" text "▸" at delayed_blink(0.4, 1.0) style "skip_triangle" transform -1 delayed_blink(delay, cycle): alpha .5 pause delay block: linear .2 alpha 1.0 pause .2 linear .2 alpha 0.5 pause (cycle - .4) repeat init -1 style skip_frame is empty init -1 style skip_text is gui_text init -1 style skip_triangle is skip_text init -1 style skip_frame: ypos gui.skip_ypos background Frame("gui/frames/frame27.png", 7, 7) padding (10, 6) init -1 style skip_text: size gui.notify_text_size yalign 0.5 color gui.text_color init -1 style skip_triangle: font "DejaVuSans.ttf" yoffset -3 init -501 screen notify(message): zorder 100 style_prefix "notify" frame at notify_appear: background Frame("gui/frames/frame27.png", 7, 7) padding (10, 5) xmaximum 400 yoffset 65 text "[message!tq]" timer 3.25 action Hide('notify') init -1 style notify_frame is empty init -1 style notify_text is gui_text init -1 style notify_frame is skip_frame init -1 style notify_text: properties gui.text_properties("notify") text_align 0.5 color gui.text_color init -501 screen notify_for_phone(message): zorder 5 style_prefix "notify" frame at notify_appear_v2(): background Frame("gui/frames/frame25.png", 7, 7) padding (10, 5) xfill True ysize 80 ypos size_interface[0] text "[message!tq]": xalign 0.5 yalign 0.5 timer 3.25 action Hide('notify_for_phone') init -501 screen notify_for_phone2(message): zorder 6 style_prefix "notify" frame at notify_appear_v2(2.0): background Frame("gui/frames/frame25.png", 7, 7) padding (10, 5) xfill True ysize 80 ypos size_interface[0] text "[message!tq]": xalign 0.5 yalign 0.5 timer 5.25 action Hide('notify_for_phone2') init -501 screen notify_for_phone_leftside(message, photo, messenger_type=None): zorder 5 style_prefix "notify" frame at notify_appear_v3(): background Null() padding (0, 0) has button background Frame("gui/frames/frame27.png", 7, 7) padding (10, 5) xfill True ysize 80 ypos size_interface[0] text "[message!tq]": xpos 70 yalign 0.5 size 34 xsize 600 button: xsize 50 ysize 50 xpos 10 yalign 0.5 padding (0, 0) background Null() if photo: add AlphaMask(Frame(Crop((0, 0, 728, 728), photo)), Frame("gui/photo mask.png")) action NullAction() else: add Null(50, 50) if messenger_type: action ShowMenu("lenta_main", messenger_type) at button_hover_brightnes() timer 5.25 action Hide('notify_for_phone_leftside') init -501 screen notify_on_center(message, need_click=False): modal True zorder 100 dismiss action Hide('notify_on_center', dissolve) add "#00000066" frame: background Frame("gui/frames/frame27.png", 7, 7) xalign 0.5 yalign 0.5 padding (20, 10) xmaximum 400 text "[message!tq]": text_align 0.5 at notify_appear() if not need_click: timer 3.25 action Hide('notify_on_center', dissolve) init -501 screen notify_on_finish(): modal True zorder 100 dismiss action Hide("notify_on_finish") python: message1 = _("This is the end of the current version of the game.") message2 = _("Stay tuned, there will be a new part soon.") add "#00000066" frame: background Frame("gui/frames/frame27.png", 7, 7) xalign 0.5 yalign 0.5 padding (20, 40) xsize 600 vbox: xalign 0.5 spacing 20 text f"{message1}": size 34 xalign 0.5 text_align 0.5 text f"{message2}": size 34 xalign 0.5 text_align 0.5 button: xsize 500 ysize 500 focus_mask True background Frame("logo") xalign 0.5 action OpenURL(current_patreon) at button_hover_brightnes() button: style "standart_button" xalign 0.5 text _("Subscribe"): xalign 0.5 yalign 0.5 action OpenURL(current_patreon) at button_hover_brightnes() at notify_appear() init -501 screen fake_load(start=False): default loading = 0 frame: background Null() padding (0, 0) xalign 0.5 yalign 0.7 xsize 600 ysize 50 bar: xsize 600 ysize 50 left_bar Frame("gui/frames/frame2.png", 7, 7) right_bar Frame("gui/frames/frame3.png", 7, 7) thumb None value AnimatedValue(loading, 100, 0.09) if loading > 100: text _("COMPLETED"): xalign 0.5 yalign 0.5 yoffset -2 at fast_flashing() if start: timer 0.1 action SetLocalVariable("loading", loading + 5) repeat True timer 3.5 action Return() return # Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc