init python:
    def office_work_screen_func(x, y):
        if (((232*y >= 93198 - 13*x) and (249*y <= 168165 - 66*x) and (198*x >= 22*y + 57706) and (145*x <= 39*y + 67640)) or ((249*y >= 168165 - 66*x) and (389*y <= 247850 - 42*x) and (23*x >= 36657 - 49*y) and (47*x <= 91*y - 18430)) or ((389*y >= 247543 - 41*x) and (364*y <= 258372 - 59*x) and (52*x >= 25*y + 864) and (34*x <= 23664)) or ((364*y >= 258372 - 59*x) and (142*y <= 2*x + 97166) and (35*x >= 146*y - 84156) and (96*x <= 112188 - 76*y))) and quick_menu_shown == False:
            return True
        return False

    def office_work_screen_func1(x, y):
        if (((232*y >= 93198 - 13*x) and (249*y <= 168165 - 66*x) and (198*x >= 22*y + 57706) and (145*x <= 39*y + 67640)) or ((249*y >= 168165 - 66*x) and (389*y <= 247850 - 42*x) and (23*x >= 36657 - 49*y) and (47*x <= 91*y - 18430)) or ((389*y >= 247543 - 41*x) and (364*y <= 258372 - 59*x) and (52*x >= 25*y + 864) and (34*x <= 23664)) or ((364*y >= 258372 - 59*x) and (142*y <= 2*x + 97166) and (35*x >= 146*y - 84156) and (96*x <= 112188 - 76*y))) and quick_menu_shown == False:
            return False
        return True

image office_empty = ConditionSwitch("daytime == 1 or daytime == 2","images/rooms/1_office.jpg",
"daytime == 3 or daytime == 4","images/rooms/2_office.jpg",
"daytime == 5 or daytime == 6","images/rooms/3_office.jpg",
"daytime == 7 or daytime == 8","images/rooms/4_office.jpg")
image office_working_1 = ConditionSwitch("daytime == 1 or daytime == 2","images/money/1money1.jpg",
"daytime == 3 or daytime == 4","images/money/2money1.jpg",
"daytime == 5 or daytime == 6","images/money/3money1.jpg")
image office_working_2 = ConditionSwitch("daytime == 1 or daytime == 2","images/money/1money2.jpg",
"daytime == 3 or daytime == 4","images/money/2money2.jpg",
"daytime == 5 or daytime == 6","images/money/3money2.jpg")
image office_working_3 = ConditionSwitch("daytime == 1 or daytime == 2","images/money/1money3.jpg",
"daytime == 3 or daytime == 4","images/money/2money3.jpg",
"daytime == 5 or daytime == 6","images/money/3money3.jpg")
image office_working_4 = ConditionSwitch("daytime == 1 or daytime == 2","images/money/1money4.jpg",
"daytime == 3 or daytime == 4","images/money/2money4.jpg",
"daytime == 5 or daytime == 6","images/money/3money4.jpg")
image office_working_5 = ConditionSwitch("daytime == 1 or daytime == 2","images/money/1money5.jpg",
"daytime == 3 or daytime == 4","images/money/2money5.jpg",
"daytime == 5 or daytime == 6","images/money/3money5.jpg")
image office_working_6_1 = "images/money/1money6.jpg"
image office_working_6_2 = "images/money/2money6.jpg"
image office_working_6_3 = "images/money/3money6.jpg"
image office_buy_form_1 = ConditionSwitch("daytime == 1 or daytime == 2","images/events/1form3.jpg",
"daytime == 3 or daytime == 4","images/events/2form3.jpg",
"daytime == 5 or daytime == 6","images/events/3form3.jpg")
image office_buy_form_2 = ConditionSwitch("daytime == 1 or daytime == 2","images/events/1form4.jpg",
"daytime == 3 or daytime == 4","images/events/2form4.jpg",
"daytime == 5 or daytime == 6","images/events/3form4.jpg")
image office_buy_form_3 = ConditionSwitch("daytime == 1 or daytime == 2","images/events/1form5.jpg",
"daytime == 3 or daytime == 4","images/events/2form5.jpg",
"daytime == 5 or daytime == 6","images/events/3form5.jpg")
image office_buy_form_4 = ConditionSwitch("daytime == 1 or daytime == 2","images/events/1form6.jpg",
"daytime == 3 or daytime == 4","images/events/2form6.jpg",
"daytime == 5 or daytime == 6","images/events/3form6.jpg")
image office_play_1 = ConditionSwitch("daytime == 1 or daytime == 2","images/needs/office/1play3.jpg",
"daytime == 3 or daytime == 4","images/needs/office/2play3.jpg",
"daytime == 5 or daytime == 6","images/needs/office/3play3.jpg")
image office_play_2 = ConditionSwitch("daytime == 1 or daytime == 2","images/needs/office/1play4.jpg",
"daytime == 3 or daytime == 4","images/needs/office/2play4.jpg",
"daytime == 5 or daytime == 6","images/needs/office/3play4.jpg")
image office_find_a_book_01 = "images/events2/book1.jpg"
image office_find_a_book_02 = "images/events2/book2.jpg"
image office_find_a_book_03 = "images/events2/book3.jpg"

screen office_working_screen:
    modal True
    zorder 10
    null width 1920 height 1080
    button:
        hovered Show("office_workring_selected_screen")
        focus_mask office_work_screen_func
        action NullAction()

screen office_workring_selected_screen:
    modal True
    zorder 11
    button:
        focus_mask office_work_screen_func
        action [Hide("office_workring_selected_screen"),Jump("office_working_action")]
    button:
        hovered Hide("office_workring_selected_screen")
        focus_mask office_work_screen_func1
        action NullAction()
    add ConditionSwitch("daytime == 1 or daytime == 2","images/props/1pc_selected.png",
    "daytime == 3 or daytime == 4","images/props/2pc_selected.png",
    "daytime == 5 or daytime == 6","images/props/3pc_selected.png",
    "daytime == 7 or daytime == 8","images/props/4pc_selected.png")

label office:
    call my_refresh
    call sound_silience
    $ position = "office"
    $ city_active = False
    $ house_active = False
    $ play_bg_music()
    $ gal_update()
    if "any" in storyes.keys():
        $ renpy.jump(storyes["any"])
    if "any" in place_events:
        $ renpy.jump(place_events["any"])
    if "office" in storyes.keys() and storyes["office"] == "office_watering_event":
        scene rosie_office_watering_img
    elif True:
        scene office_empty
    if "office" in storyes.keys():
        $ renpy.jump(storyes["office"])
    if "office" in place_events.keys():
        $ renpy.jump(place_events["office"])
    if prev != position:
        $ prev = position
        if ("office" in storyes.keys() and storyes["office"] in exceptions) or ("office" in place_events.keys() and place_events["office"]  in exceptions):
            call hide_interface
        elif True:
            call hide_bottom_menu
    call show_interface
    call screen office_working_screen
    jump office

label office_working_action:
    if daytime > 6:
        call adv_say (mc, txt0000003, 3)
        jump office
    label office_m:
    call hide_interface
    menu:
        "{alpha=0.0}+$80 {/alpha}Work {color=[gac]}{font=arialbi.ttf}+$80{/font}{/color}" if persons[find_person("Mika")].checkpoints[25] == 1 and find_person("May") != -1:
            jump office_work
        "{alpha=0.0}+$200 {/alpha}Work hard {color=[gac]}{font=arialbi.ttf}+$200{/font}{/color}" if persons[find_person("Mika")].checkpoints[25] == 1 and find_person("May") != -1:
            if daytime == 6 and persons[find_person("Rosie")].checkpoints[43] == 1 and persons[find_person("Lucy")].checkpoints[37] == 0:
                call adv_say (mc, txt0003736, 3)
                jump office
            jump office_hard_work
        "{alpha=0.0}+$80 {/alpha}Work {color=[gac]}{font=arialbi.ttf}+$80{/font}{/color}" if persons[find_person("Mika")].checkpoints[25] == 0:
            jump office_work
        "{alpha=0.0}+$200 {/alpha}Work hard {color=[gac]}{font=arialbi.ttf}+$200{/font}{/color}" if persons[find_person("Mika")].checkpoints[25] == 0:
            jump office_hard_work
        "Work" if persons[find_person("Mika")].checkpoints[25] == 1 and find_person("May") == -1:
            jump no_net
        "Work hard" if persons[find_person("Mika")].checkpoints[25] == 1 and find_person("May") == -1:
            jump no_net
        "Play game" if True:
            jump office_game
        "{alpha=0.0}-$270 {/alpha}Buy sportswear {color=[rac]}{font=arialbi.ttf}-$270{/font}{/color}" if persons[find_person("Rosie")].checkpoints[1] == 1 and persons[find_person("Rosie")].checkpoints[2] == 0:
            if money >= 270:
                jump office_sportswear
            elif True:
                call adv_say (None, txt0001132, 3)
                jump office_m
        "Search a book" if persons[find_person("Rosie")].checkpoints[14] == 1 and persons[find_person("Rosie")].checkpoints[15] == 0:
            jump search_a_book
        "Looking for a job" if persons[find_person("Lucy")].checkpoints[9] == 1 and persons[find_person("Lucy")].checkpoints[10] == 0:
            jump job_search
        "Buy yoga mat" if persons[find_person("Mika")].checkpoints[25] == 1 and find_person("May") == -1:
            jump no_net
        "{alpha=0.0}-$250 {/alpha}Buy yoga mat {color=[rac]}{font=arialbi.ttf}-$250{/font}{/color}" if persons[find_person("Mika")].checkpoints[26] == 1 and persons[find_person("Mika")].checkpoints[27] == 0:
            if money >= 250:
                jump buying_yoga_mat
            elif True:
                call adv_say (None, txt0001132, 3)
                jump office_m
        "Back" if True:
            jump office
    jump office

label office_work:
    scene office_working_1
    $ renpy.pause(1.0)
    scene office_working_2
    $ renpy.pause(1.0)
    scene office_working_3
    $ renpy.pause(1.0)
    scene office_working_4
    call hide_interface
    show img17:
        alpha 0.0
        parallel:
            linear .5 alpha 1.0
    $ renpy.pause(1.25, hard = True)
    scene office_working_5
    show img17:
        alpha 1.0
        parallel:
            linear .5 alpha 0.0
    $ renpy.pause(0.25, hard = True)
    call show_money_changes (80)
    $ renpy.pause(1.25, hard = True)
    if daytime < 3:
        scene office_working_6_1 with None
    elif daytime < 5:
        scene office_working_6_2 with None
    elif True:
        scene office_working_6_3 with None
    $ renpy.pause(1.0)
    $ change_money(80)
    $ next_daytime()
    $ generate_event_maps()
    $ prev = "work"
    if "office" in storyes.keys() and storyes["office"] == "office_watering_event":
        scene rosie_office_watering_img
    elif True:
        scene office_empty
    $ renpy.with_statement(None)
    call hide_money_changes
    jump office

label office_hard_work:
    scene office_working_1
    $ renpy.pause(1.0)
    scene office_working_2
    $ renpy.pause(1.0)
    scene office_working_3
    $ renpy.pause(1.0)
    scene office_working_4
    call hide_interface
    show img17:
        alpha 0.0
        parallel:
            linear .5 alpha 1.0
    $ renpy.pause(1.25, hard = True)
    scene office_working_5
    show img17:
        alpha 1.0
        parallel:
            linear .5 alpha 0.0
    $ renpy.pause(0.25, hard = True)
    call show_money_changes (200)
    $ renpy.pause(1.25, hard = True)
    if daytime < 3:
        scene office_working_6_1 with None
    elif daytime < 5:
        scene office_working_6_2 with None
    elif True:
        scene office_working_6_3 with None
    $ renpy.pause(1.0)
    $ change_money(200)
    if daytime == 3 and persons[find_person("Rosie")].quest_event[3] == "any_rosie_show_sportwear":
        $ next_daytime(1)
    elif tlc == 0 and persons[find_person("Lucy")].checkpoints[0] == 1 and persons[find_person("Lucy")].checkpoints[1] == 0:
        $ next_daytime(1)
    elif daytime == 3 and persons[find_person("Lucy")].checkpoints[22] == 1 and persons[find_person("Lucy")].checkpoints[23] == 0 and persons[find_person("Lucy")].checkpoints[24] == 0:
        $ next_daytime(1)
    elif daytime == 2 and persons[find_person("Lucy")].relationship[0] == 100 and persons[find_person("Lucy")].relationship[1] == 2 and persons[find_person("Lucy")].checkpoints[20] == 1 and persons[find_person("Lucy")].checkpoints[21] == 1 and persons[find_person("Lucy")].checkpoints[24] == 1 and persons[find_person("Lucy")].checkpoints[16] == 0 and daytime <= 3:
        $ next_daytime(1)
    elif daytime == 1 and persons[find_person("Rosie")].relationship[1] == 4 and persons[find_person("Lucy")].checkpoints[27] == 1 and persons[find_person("Rosie")].checkpoints[32] == 0:
        $ next_daytime(1)
    elif persons[find_person("May")].checkpoints[8] == 1 and persons[find_person("May")].checkpoints[9] == 0:
        $ next_daytime(1)
    elif True:
        $ next_daytime()
    $ generate_event_maps()
    $ prev = "work"
    if "office" in storyes.keys() and storyes["office"] == "office_watering_event":
        scene rosie_office_watering_img
    elif True:
        scene office_empty
    $ renpy.with_statement(None)
    call hide_money_changes
    jump office

label office_game:
    if mcill == 1:
        scene office_empty
        call adv_say (mc, txt0001921, 3)
        jump office
    if leisure == 100:
        call adv_say (mc, txt0000376, 3)
        jump office
    scene office_working_1
    $ renpy.pause(1.0)
    scene office_working_2
    $ renpy.pause(1.0)
    scene office_play_1
    $ renpy.pause(1.0)
    scene office_play_2
    call hide_interface
    show img17:
        alpha 0.0
        parallel:
            linear .5 alpha 1.0
    $ renpy.pause(1.25, hard = True)
    scene office_working_5
    show img17:
        alpha 1.0
        parallel:
            linear .5 alpha 0.0
    $ renpy.pause(0.25, hard = True)
    call show_changes ("leisure", True)
    $ restore_leisure(100)
    $ renpy.pause(1.25, hard = True)
    if daytime < 3:
        scene office_working_6_1 with None
    elif daytime < 5:
        scene office_working_6_2 with None
    elif True:
        scene office_working_6_3 with None
    $ renpy.pause(1.0)
    $ next_daytime(force="leisure")
    $ generate_event_maps()
    if "office" in storyes.keys() and storyes["office"] == "office_watering_event":
        scene rosie_office_watering_img
    elif True:
        scene office_empty
    $ renpy.with_statement(None)
    $ prev = "game"
    call hide_changes
    jump office
# Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc
