







default skip_time = True

default quick_bar = True
default show_left_hud = False
default show_right_hud = False







screen inside_the_bus:
    zorder 150
    style_prefix "notify"


    $ rp = renpy.random.randint(0,2)
    if rp == 0:
        add "gui/avatars/avatar_elena.png" xpos -0.1
        frame at notify_transition:
            text "{color=#d9edff}{outlinecolor=#61bbff}{size=30}{font=images/fonts/font_notify.ttf}What are you reading?{/outlinecolor}"
    if rp == 1:
        add "gui/avatars/avatar_elena.png" xpos -0.1
        frame at notify_transition:
            text "{color=#d9edff}{outlinecolor=#61bbff}{size=30}{font=images/fonts/font_notify.ttf}Don't sleep, don't sleep.. {/outlinecolor}"
    if rp == 2:
        add "gui/avatars/avatar_elena.png" xpos -0.1
        frame at notify_transition:
            text "{color=#d9edff}{outlinecolor=#61bbff}{size=30}{font=images/fonts/font_notify.ttf}Show it to me.{/outlinecolor}"
    timer 3.25 action Hide('inside_the_bus')








screen main_hud:
    zorder 100
    if quick_bar == True:

        if main_hud_tut_3 == True:
            if main_hud_tut_3_1 == True:
                fixed:
                    fixed:
                        at jumping_with_offset()

                        add AnimationByFolder(path="gui/main_hud/frames")
                        if main_hud_tut_6 == True:

                            imagemap:
                                xpos 0.250 ypos 0.015
                                idle "gui/diary/diary_icon.png"
                                hover "gui/diary/diary_icon_h.png"
                                hotspot (0, 1, 79, 86) action Show("my_diary", transition = dissolve) activate_sound ("sound_effects/diary/paper_hover.mp3") hover_sound ("sound_effects/diary/flipping_paper.mp3")

                        if diary_crush_unknown == True:
                            add "gui/diary/hud/hud_unknown.png"
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.015
                                bar value StaticValue(crush_unknown_stats,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/romantic_interest.png")
                                    xmaximum 150
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.065
                                bar value StaticValue(crush_unknown_stats,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/lust.png")
                                    xmaximum 150

                            text "Neutral" xpos 0.072 ypos 0.035 style "main_hud_status_style"

                            text "????" xpos 0.072 ypos 0.085 style "main_hud_status_style"
            if main_hud_tut_3_2 == True:
                showif show_left_hud:
                    fixed:
                        at jumping_with_offset()

                        add AnimationByFolder(path="gui/main_hud/frames")
                        if main_hud_tut_6 == True:

                            imagemap:
                                xpos 0.250 ypos 0.015
                                idle "gui/diary/diary_icon.png"
                                hover "gui/diary/diary_icon_h.png"
                                hotspot (0, 1, 79, 86) action Show("my_diary", transition = dissolve) activate_sound ("sound_effects/diary/paper_hover.mp3") hover_sound ("sound_effects/diary/flipping_paper.mp3")

                        if main_hud_tut_5 == True:

                            imagemap:
                                if MC_Smartphone.wallpaper_lockscreen_01 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_default.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_default_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_02 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_default.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_default_h.png"

                                if MC_Smartphone.wallpaper_lockscreen_03 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_1.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_1_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_04 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_2.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_2_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_05 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_3.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_3_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_06 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_4.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_4_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_07 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_5.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_5_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_08 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_6.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_6_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_09 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_7.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_7_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_10 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_8.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_8_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_11 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_9.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_9_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_12 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_10.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_10_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_13 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_11.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_11_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_14 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_12.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_12_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_15 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_13.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_13_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_16 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_14.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_14_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_17 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_15.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_15_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_18 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_16.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_16_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_19 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_17.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_17_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_20 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_18.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_18_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_21 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_19.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_19_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_22 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_20.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_20_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_23 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_21.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_21_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_24 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_22.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_22_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_25 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_23.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_23_h.png"
                                if MC_Smartphone.wallpaper_lockscreen_26 == True:
                                    idle "gui/smartphone/custom_icons/custom_smartphone_icon_24.png"
                                    hover "gui/smartphone/custom_icons/custom_smartphone_icon_24_h.png"

                                xpos 0.290 ypos 0.015
                                hotspot (14, 3, 48, 86) action Show("smartphone_lockscreen", transition = wipeup) hover_sound "sound_effects/smartphone/smartphone_click_1.mp3" activate_sound "sound_effects/smartphone/smartphone_click_4.mp3"


                        if diary_crush_unknown == True:
                            add "gui/diary/hud/hud_unknown.png"
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.015
                                bar value StaticValue(crush_unknown_stats,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/romantic_interest.png")
                                    xmaximum 150
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.065
                                bar value StaticValue(crush_unknown_stats,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/lust.png")
                                    xmaximum 150

                            text "Neutral" xpos 0.072 ypos 0.035 style "main_hud_status_style"

                            text "????" xpos 0.072 ypos 0.085 style "main_hud_status_style"















                        if diary_crush_alice == True:
                            imagemap:
                                idle "gui/diary/hud/hud_alice.png"
                                hover "gui/diary/hud/hud_alice_h.png"
                                hotspot (10, 6, 125, 147) action Show("diary_alice", transition = dissolve) activate_sound ("sound_effects/diary/photo_open.mp3") hover_sound ("sound_effects/diary/photo_wobble.mp3")
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.015
                                bar value StaticValue(a.romantic_interest,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/romantic_interest.png")
                                    xmaximum 150
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.065
                                bar value StaticValue(a.lust,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/lust.png")
                                    xmaximum 150

                            if a.anger >= 100:
                                text "Angry" xpos 0.072 ypos 0.035 style "main_hud_status_style"
                            else:
                                text "Neutral" xpos 0.072 ypos 0.035 style "main_hud_status_style"

                            if prologue_status == True:
                                text "????" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            else:
                                if a.alice_return == False:
                                    text "{size=15}Unavailable" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                else:
                                    if a.date_mode == True:
                                        text "On a Date" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                    else:
                                        if lc.period == "Early Morning":
                                            text "Toilet" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                        if lc.period == "Morning":
                                            text "Bathroom" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                        if lc.period == "Noon":
                                            text "Misc" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                        if lc.period == "Evening":
                                            text "Free" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                        if lc.period == "Night":
                                            text "Sleeping" xpos 0.072 ypos 0.085 style "main_hud_status_style"

                        if diary_crush_elena == True:
                            imagemap:
                                idle "gui/diary/hud/hud_elena.png"
                                hover "gui/diary/hud/hud_elena_h.png"

                                if main_hud_tut_6 == True:
                                    hotspot (11, 9, 119, 142) action Show("diary_elena", transition = dissolve) activate_sound ("sound_effects/diary/photo_open.mp3") hover_sound ("sound_effects/diary/photo_wobble.mp3")
                                else:
                                    hotspot (11, 9, 119, 142) action Notify("You don't have Diary yet.")
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.015
                                bar value StaticValue(e.romantic_interest,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/romantic_interest.png")
                                    xmaximum 150
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.065
                                bar value StaticValue(e.lust,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/lust.png")
                                    xmaximum 150


                            if e.anger >= 100:
                                text "Angry!" xpos 0.072 ypos 0.035 style "main_hud_status_style"
                            else:

                                if e.romantic_interest >= 50:
                                    if lc.day_of_week == 5 or lc.day_of_week == 6 or lc.day_of_week == 7:

                                        add "gui/text_icons/dick.png" xpos 0.080 ypos 0.026 at mood()
                                    elif lc.day_of_week == 1:

                                        add "gui/text_icons/romantic_interest.png" xpos 0.080 ypos 0.026 at mood()
                                    else:

                                        add "gui/text_icons/consequences.png" xpos 0.080 ypos 0.026 at mood()
                                else:
                                    text "????" xpos 0.072 ypos 0.035 style "main_hud_status_style"


                            if prologue_status == True:
                                text "????" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            else:
                                if lc.period == "Early Morning":
                                    text "Toilet" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                if lc.period == "Morning":
                                    text "Bathroom" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                if lc.period == "Noon":
                                    text "School" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                if lc.period == "Evening":
                                    text "Free" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                if lc.period == "Night":
                                    text "Sleeping" xpos 0.072 ypos 0.085 style "main_hud_status_style"

                        if diary_crush_melissa == True:
                            imagemap:
                                idle "gui/diary/hud/hud_melissa.png"
                                hover "gui/diary/hud/hud_melissa_h.png"
                                hotspot (7, 3, 121, 150) action Show("diary_melissa", transition = dissolve) activate_sound ("sound_effects/diary/photo_open.mp3") hover_sound ("sound_effects/diary/photo_wobble.mp3")
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.015
                                bar value StaticValue(milk.romantic_interest,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/romantic_interest.png")
                                    xmaximum 150
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.065
                                bar value StaticValue(milk.lust,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/lust.png")
                                    xmaximum 150

                            if milk.anger >= 100:
                                text "Angry" xpos 0.072 ypos 0.035 style "main_hud_status_style"
                            else:
                                text "Neutral" xpos 0.072 ypos 0.035 style "main_hud_status_style"

                            if lc.period == "Early Morning":
                                text "Toilet" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Morning":
                                text "Bathroom" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Noon":
                                if lc.day_of_week == 1 or lc.day_of_week == 2 or lc.day_of_week == 3 or lc.day_of_week == 4 or lc.day_of_week == 5:
                                    text "Hospital" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                                else:
                                    text "Various" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Evening":
                                text "Free" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Night":
                                text "Sleeping" xpos 0.072 ypos 0.085 style "main_hud_status_style"

                        if diary_crush_bianca == True:
                            imagemap:
                                idle "gui/diary/hud/hud_bianca.png"
                                hover "gui/diary/hud/hud_bianca_h.png"
                                hotspot (7, 3, 121, 150) action Show("diary_bianca", transition = dissolve) activate_sound ("sound_effects/diary/photo_open.mp3") hover_sound ("sound_effects/diary/photo_wobble.mp3")
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.015
                                bar value StaticValue(b.romantic_interest,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/romantic_interest.png")
                                    xmaximum 150
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.065
                                bar value StaticValue(b.lust,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/lust.png")
                                    xmaximum 150

                            if b.anger >= 100:
                                text "Angry" xpos 0.072 ypos 0.035 style "main_hud_status_style"
                            else:
                                text "Neutral" xpos 0.072 ypos 0.035 style "main_hud_status_style"

                            if lc.period == "Early Morning":
                                text "Toilet" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Morning":
                                text "Bathroom" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Noon":
                                text "Unavailable" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Evening":
                                text "Free" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Night":
                                text "Sleeping" xpos 0.072 ypos 0.085 style "main_hud_status_style"

                        if diary_crush_sofia == True:
                            imagemap:
                                idle "gui/diary/hud/hud_sofia.png"
                                hover "gui/diary/hud/hud_sofia_h.png"
                                hotspot (13, 4, 121, 147) action Show("diary_sofia", transition = dissolve) hover_sound "sound_effects/diary/photo_wobble.mp3" activate_sound "sound_effects/diary/photo_open.mp3"
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.015
                                bar value StaticValue(ss.romantic_interest,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/romantic_interest.png")
                                    xmaximum 150
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.065
                                bar value StaticValue(ss.lust,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/lust.png")
                                    xmaximum 150

                            if ss.anger >= 100:
                                text "Angry" xpos 0.072 ypos 0.035 style "main_hud_status_style"
                            else:
                                text "Neutral" xpos 0.072 ypos 0.035 style "main_hud_status_style"

                            if lc.period == "Early Morning":
                                text "Toilet" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Morning":
                                text "Bathroom" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Noon":
                                text "Confession" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Evening":
                                text "Praying" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Night":
                                text "Sleeping" xpos 0.072 ypos 0.085 style "main_hud_status_style"

                        if diary_crush_catalina == True:

                            imagemap:
                                idle "gui/diary/hud/hud_catalina.png"
                                hover "gui/diary/hud/hud_catalina_h.png"
                                hotspot (15, 7, 121, 144) action Show("diary_catalina", transition = dissolve) hover_sound "sound_effects/diary/photo_wobble.mp3" activate_sound "sound_effects/diary/photo_open.mp3"
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.015
                                bar value StaticValue(sc.romantic_interest,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/romantic_interest.png")
                                    xmaximum 150
                            hbox:
                                xsize 0.15 ysize 0.12
                                xpos 0.165 ypos 0.065
                                bar value StaticValue(sc.lust,100):
                                    right_bar Frame("gui/bar/bar_empty.png")
                                    left_bar Frame("gui/bar/lust.png")
                                    xmaximum 150

                            if sc.anger >= 100:
                                text "Angry" xpos 0.072 ypos 0.035 style "main_hud_status_style"
                            else:
                                text "Neutral" xpos 0.072 ypos 0.035 style "main_hud_status_style"

                            if lc.period == "Early Morning":
                                text "Toilet" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Morning":
                                text "Bathroom" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Noon":
                                text "Confession" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Evening":
                                text "Praying" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                            if lc.period == "Night":
                                text "Sleeping" xpos 0.072 ypos 0.085 style "main_hud_status_style"
                mousearea:
                    area (0.0, 0, 0.34, 0.13)
                    hovered SetScreenVariable('show_left_hud', True)
                    unhovered SetScreenVariable('show_left_hud', False)















        if main_hud_tut_1 == True:
            if main_hud_tut_1_1 == True:
                fixed:
                    at jumping_with_offset()

                    add AnimationByFolder(path="gui/main_hud/right_frames", tickpause=0.1, delay=2.0)

                    if main_hud_tut_6 == True:
                        imagebutton:
                            if lc.day_of_week == 1:
                                idle "gui/calendar/day_week/w_mon.png"
                                hover "gui/calendar/day_week/w_mon_h.png"
                            if lc.day_of_week == 2:
                                idle "gui/calendar/day_week/w_tue.png"
                                hover "gui/calendar/day_week/w_tue_h.png"
                            if lc.day_of_week == 3:
                                idle "gui/calendar/day_week/w_wed.png"
                                hover "gui/calendar/day_week/w_wed_h.png"
                            if lc.day_of_week == 4:
                                idle "gui/calendar/day_week/w_thu.png"
                                hover "gui/calendar/day_week/w_thu_h.png"
                            if lc.day_of_week == 5:
                                idle "gui/calendar/day_week/w_fri.png"
                                hover "gui/calendar/day_week/w_fri_h.png"
                            if lc.day_of_week == 6:
                                idle "gui/calendar/day_week/w_sat.png"
                                hover "gui/calendar/day_week/w_sat_h.png"
                            if lc.day_of_week == 7:
                                idle "gui/calendar/day_week/w_sun.png"
                                hover "gui/calendar/day_week/w_sun_h.png"
                            xpos 0.665 ypos 0.012
                            action Show("calendar", transition = dissolve)
                            activate_sound ("sound_effects/diary/paper_hover.mp3")
                            hover_sound ("sound_effects/diary/flipping_paper.mp3")
                    vbox:
                        xpos 1380
                        ypos 17
                        vbox:
                            spacing 5
                            if lc.period == "Early Morning":
                                text "7:00 AM" style "main_hud_date_style"
                            elif lc.period == "Morning":
                                text "9:00 AM" style "main_hud_date_style"
                            elif lc.period == "Noon":
                                text "12:00 PM" style "main_hud_date_style"
                            elif lc.period == "Evening":
                                text "18:00 PM" style "main_hud_date_style"
                            elif lc.period == "Night":
                                text "22:00 PM" style "main_hud_date_style"
                            text "[lc.period]" style "main_hud_date_style"
                        text [lc.calendar.strftime('%d %B, %A')] style "main_hud_status_style"

                    vbox:
                        xpos 0.845
                        ypos 0.012
                        if lc.period == "Early Morning" or lc.period == "Morning" or lc.period == "Noon":
                            add "gui/daycycle/dc_day.png"
                        elif lc.period == "Evening":
                            add "gui/daycycle/dc_evening.png"
                        else:
                            add "gui/daycycle/dc_night.png"

                    if main_hud_tut_2 == True:

                        if lc.period == "Night":
                            add "gui/main_hud/waste_time_locked.png" xpos 0.907 ypos 0.020
                        else:
                            if skip_time == True:
                                imagebutton:
                                    idle "gui/main_hud/waste_time.png"
                                    hover "gui/main_hud/waste_time_h.png"
                                    xpos 0.907 ypos 0.020
                                    if lc.period == "Early Morning":
                                        action [Function(lc.advance_time), Play('music', 'images/ost/morning_theme_1.mp3')] hover_sound "sound_effects/buttons/misc_hover_3.mp3" activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                                    if lc.period == "Morning":
                                        action [Function(lc.advance_time), Play('music', 'images/ost/free_roaming_theme_1.mp3')] hover_sound "sound_effects/buttons/misc_hover_3.mp3" activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                                    if lc.period == "Noon":
                                        action [Function(lc.advance_time), Play('music', 'images/ost/evening_theme_1.mp3'), Jump("mc_room_decor_change")] hover_sound "sound_effects/buttons/misc_hover_3.mp3" activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                                    if lc.period == "Evening":
                                        action [Function(lc.advance_time), Play('music', 'images/ost/night_theme_1.mp3'), Jump("mc_room_decor_change")] hover_sound "sound_effects/buttons/misc_hover_3.mp3" activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                            else:
                                imagebutton:
                                    idle "gui/main_hud/waste_time.png"
                                    hover "gui/main_hud/waste_time_h.png"
                                    xpos 0.907 ypos 0.020
                                    action Notify("Skipping the time available only in your room...")
                                    hover_sound "sound_effects/buttons/misc_hover_3.mp3"
                                    activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                    else:
                        add "gui/main_hud/waste_time_locked.png" xpos 0.907 ypos 0.020

                    if main_hud_tut_4 == True:

                        imagebutton:
                            idle "gui/inventory/inventory_icon.png"
                            hover "gui/inventory/inventory_icon_h.png"
                            xpos 0.950 ypos 0.001
                            action Show("inventoryScreen", transition = dissolve)
                            hover_sound "sound_effects/inventory/inventory_hover.mp3"
                            activate_sound "sound_effects/inventory/inventory_open.mp3"


                    fixed:
                        ypos 125
                        add "gui/main_hud/money_days.png" xpos 70
                        vbox:
                            xpos 1810
                            ypos 35
                            vbox:
                                text "{font=images/fonts/font_cash.ttf}{size=27}{color=#3e9c35}$[Main_Character.money]"
                        vbox:
                            xpos 1810
                            ypos 80
                            vbox:
                                text ": [lc.daynumber]" style "main_hud_date_style"
            if main_hud_tut_1_2 == True:
                showif show_right_hud:
                    fixed:
                        at jumping_with_offset()

                        add AnimationByFolder(path="gui/main_hud/right_frames", tickpause=0.1, delay=2.0)

                        if main_hud_tut_6 == True:
                            imagebutton:
                                if lc.day_of_week == 1:
                                    idle "gui/calendar/day_week/w_mon.png"
                                    hover "gui/calendar/day_week/w_mon_h.png"
                                if lc.day_of_week == 2:
                                    idle "gui/calendar/day_week/w_tue.png"
                                    hover "gui/calendar/day_week/w_tue_h.png"
                                if lc.day_of_week == 3:
                                    idle "gui/calendar/day_week/w_wed.png"
                                    hover "gui/calendar/day_week/w_wed_h.png"
                                if lc.day_of_week == 4:
                                    idle "gui/calendar/day_week/w_thu.png"
                                    hover "gui/calendar/day_week/w_thu_h.png"
                                if lc.day_of_week == 5:
                                    idle "gui/calendar/day_week/w_fri.png"
                                    hover "gui/calendar/day_week/w_fri_h.png"
                                if lc.day_of_week == 6:
                                    idle "gui/calendar/day_week/w_sat.png"
                                    hover "gui/calendar/day_week/w_sat_h.png"
                                if lc.day_of_week == 7:
                                    idle "gui/calendar/day_week/w_sun.png"
                                    hover "gui/calendar/day_week/w_sun_h.png"
                                xpos 0.665 ypos 0.012
                                action Show("calendar", transition = dissolve)
                                activate_sound ("sound_effects/diary/paper_hover.mp3")
                                hover_sound ("sound_effects/diary/flipping_paper.mp3")
                        vbox:
                            xpos 1380
                            ypos 17
                            vbox:
                                spacing 5
                                if lc.period == "Early Morning":
                                    text "7:00 AM" style "main_hud_date_style"
                                elif lc.period == "Morning":
                                    text "9:00 AM" style "main_hud_date_style"
                                elif lc.period == "Noon":
                                    text "12:00 PM" style "main_hud_date_style"
                                elif lc.period == "Evening":
                                    text "18:00 PM" style "main_hud_date_style"
                                elif lc.period == "Night":
                                    text "22:00 PM" style "main_hud_date_style"
                                text "[lc.period]" style "main_hud_date_style"
                            text [lc.calendar.strftime('%d %B, %A')] style "main_hud_status_style"

                        vbox:
                            xpos 0.845
                            ypos 0.012
                            if lc.period == "Early Morning" or lc.period == "Morning" or lc.period == "Noon":
                                add "gui/daycycle/dc_day.png"
                            elif lc.period == "Evening":
                                add "gui/daycycle/dc_evening.png"
                            else:
                                add "gui/daycycle/dc_night.png"

                        if main_hud_tut_2 == True:

                            if lc.period == "Night":
                                add "gui/main_hud/waste_time_locked.png" xpos 0.907 ypos 0.020
                            else:

                                if lc.day_of_week == 1 or lc.day_of_week == 2 or lc.day_of_week == 3 or lc.day_of_week == 4 or lc.day_of_week == 5:
                                    imagebutton:
                                        idle "gui/main_hud/waste_time.png"
                                        hover "gui/main_hud/waste_time_h.png"
                                        xpos 0.907 ypos 0.020
                                        action Function(no_chill)
                                        hover_sound "sound_effects/buttons/misc_hover_3.mp3"
                                        activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                                elif skip_time == True:
                                    imagebutton:
                                        idle "gui/main_hud/waste_time.png"
                                        hover "gui/main_hud/waste_time_h.png"
                                        xpos 0.907 ypos 0.020
                                        if lc.period == "Early Morning":
                                            action [Function(lc.advance_time), Play('music', 'images/ost/morning_theme_1.mp3')] hover_sound "sound_effects/buttons/misc_hover_3.mp3" activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                                        if lc.period == "Morning":
                                            action [Function(lc.advance_time), Play('music', 'images/ost/free_roaming_theme_1.mp3')] hover_sound "sound_effects/buttons/misc_hover_3.mp3" activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                                        if lc.period == "Noon":
                                            action [Function(lc.advance_time), Play('music', 'images/ost/evening_theme_1.mp3'), Jump("mc_room_decor_change")] hover_sound "sound_effects/buttons/misc_hover_3.mp3" activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                                        if lc.period == "Evening":
                                            action [Function(lc.advance_time), Play('music', 'images/ost/night_theme_1.mp3'), Jump("mc_room_decor_change")] hover_sound "sound_effects/buttons/misc_hover_3.mp3" activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                                else:
                                    imagebutton:
                                        idle "gui/main_hud/waste_time.png"
                                        hover "gui/main_hud/waste_time_h.png"
                                        xpos 0.907 ypos 0.020
                                        action Notify("Skipping the time available only in your room...")
                                        hover_sound "sound_effects/buttons/misc_hover_3.mp3"
                                        activate_sound "sound_effects/buttons/misc_activate_5.mp3"
                        else:
                            add "gui/main_hud/waste_time_locked.png" xpos 0.907 ypos 0.020

                        if main_hud_tut_4 == True:

                            imagebutton:
                                idle "gui/inventory/inventory_icon.png"
                                hover "gui/inventory/inventory_icon_h.png"
                                xpos 0.950 ypos 0.001
                                action Show("inventoryScreen", transition = dissolve)
                                hover_sound "sound_effects/inventory/inventory_hover.mp3"
                                activate_sound "sound_effects/inventory/inventory_open.mp3"


                        fixed:
                            ypos 125
                            add "gui/main_hud/money_days.png" xpos 70
                            vbox:
                                xpos 1810
                                ypos 35
                                vbox:
                                    text "{font=images/fonts/font_cash.ttf}{size=27}{color=#3e9c35}$[Main_Character.money]"
                            vbox:
                                xpos 1810
                                ypos 80
                                vbox:
                                    text ": [lc.daynumber]" style "main_hud_date_style"

            mousearea:
                area (0.66, 0, 0.50, 0.13)
                hovered SetScreenVariable('show_right_hud', True)
                unhovered SetScreenVariable('show_right_hud', False)
        default show_frame = False
        if main_hud_tut_7 == True:
            if main_hud_tut_7_1 == True:
                fixed:
                    fixed:
                        at jumping_with_offset()
                        add AnimationByFolder(path="gui/reputation/animation", tickpause=0.1)
                        bar value StaticValue(Main_Character.reputation,100):
                            left_bar Frame("gui/bar/bar_reputation.png")
                            right_bar Frame("gui/bar/bar_empty.png")
                            xmaximum 200
                            xpos 855
                            ypos 100
            if main_hud_tut_7_2 == True:
                showif show_frame:
                    fixed:
                        at jumping_with_offset()
                        add AnimationByFolder(path="gui/reputation/animation", tickpause=0.1)
                        bar value StaticValue(Main_Character.reputation,100):
                            left_bar Frame("gui/bar/bar_reputation.png")
                            right_bar Frame("gui/bar/bar_empty.png")
                            xmaximum 200
                            xpos 855
                            ypos 100
        mousearea:
            area (0.42, 0, 0.15, 0.15)
            hovered SetScreenVariable('show_frame', True)
            unhovered SetScreenVariable('show_frame', False)









screen reputation():
    fixed:
        at jumping_with_offset()
        add AnimationByFolder(path="gui/reputation/animation", tickpause=0.1)
        bar value StaticValue(Main_Character.reputation,100):
            left_bar Frame("gui/bar/bar_reputation.png")
            right_bar Frame("gui/bar/bar_empty.png")
            xmaximum 200
            xpos 855
            ypos 100








define config.image_cache_size_mb = 512
init 10 python:
    import os

    def get_size(displayable, width=config.screen_width, height=config.screen_height, st=0, at=0):
        displayable = renpy.easy.displayable(displayable)
        w, h = renpy.render(displayable, width, height, st, at).get_size()
        return int(w), int(h)

    class AnimationByFolder(renpy.display.core.Displayable):
        def __init__(self, path, tickpause=.09, repeat=True, delay=0., **properties):
            super(AnimationByFolder, self).__init__(**properties)
            if path.endswith("/"):
                path = path[:-1]
            self.path = path
            self.tickpause = tickpause
            self.repeat = repeat
            self.delay = delay
            self.st = 0
            self.canvas_size = (0, 0)
            self.zero = self.current = self.latest = 0
            self.files = {}
            self.preload_folder()
        
        @property
        def get_path(self):
            return [k for k in renpy.list_files() if k.startswith(self.path) and k.endswith((".jpg", ".png", ".webp"))]
        
        def preload_folder(self):
            self.files = {}
            for en, file in enumerate(self.get_path):
                self.files[en] = file.lower()
            self.canvas_size = store.get_size(self.files.get(self.current)) if self.files else (0, 0)
            self.latest = len(self.files) - 1 if self.files else -1
        
        def update_tick(self):
            self.current = self.current + 1 if self.current < self.latest else (self.zero if self.repeat else self.current)
        
        @property
        def current_image(self):
            renpy.easy.predict(self.files.get(self.current))
            return renpy.easy.displayable(self.files.get(self.current))
        
        def render(self, width, height, st, at):
            rv = renpy.display.render.Render(*self.canvas_size)
            if -1 == self.latest: return rv
            
            rv.blit(
                renpy.render(self.current_image,
                    width, height, st, at
                ), (0, 0)
            )
            
            if self.zero == self.latest: return rv
            
            if self.delay > .0:
                if 1.0 * (st - self.st) / self.delay < 1.:
                    renpy.redraw(self, 0.)
                    return rv
            
            if self.latest == self.current:
                self.st = st
            
            self.update_tick()
            renpy.redraw(self, self.tickpause)
            return rv









init python:
    def no_chill():
        rs = renpy.random.randint(0,3)
        if rs == 0:
            renpy.notify("Ah, are you kidding? I need to do the homework first!")
        if rs == 1:
            renpy.notify("Bro, I am on a working week or whatever. Can't do nothing!")
        if rs == 2:
            renpy.notify("Can chill only at weekend, lol.")
        if rs == 3:
            renpy.notify("Bro, no time to chill.")
# Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc
