







label church_shop_part_work:
    jump init_battle
screen church_shop_part_work_mini_game:
    add "gui/dds/bars/bars_plate.png"
    vbox:
        xpos 0.83 ypos 0.19
        bar value StaticValue(church_shop_planting,100):
            left_bar Frame("gui/bar/bar_plant.png")
            right_bar Frame("gui/bar/bar_empty.png")
            xmaximum 200
    vbox:
        xpos 0.74 ypos 0.19
        spacing -5
        text "{font=fonts/font_date_system.ttf}{size=35}Planting"
        text "{font=fonts/font_date_system.ttf}{size=35}progress"
    text "{color=#767676}{font=fonts/font_date_system.ttf}{size=25}Job type : Garden worker" xpos 0.81 ypos 0.17
    imagebutton:
        focus_mask True
        idle "gui/mini_games/plant/plant_button.png"
        hover "gui/mini_games/plant/plant_button_h.png"
        action Function(function_church_shop_planting)
        if church_shop_planting <= 100 and church_shop_planting >= 70:
            at car_cleaning_lvl_3()
        elif church_shop_planting <= 70 and church_shop_planting >= 25:
            at car_cleaning_lvl_2()
        else:
            at car_cleaning_lvl_1()
        hover_sound "sound_effects/buttons/misc_hover_1.mp3" activate_sound "sound_effects/buttons/misc_activate_2.mp3"
    imagebutton:
        focus_mask True
        idle "gui/dds/bars/gave_up_button.png"
        hover "gui/dds/bars/gave_up_button_h.png"
        action [SetVariable("Main_Character.reputation", Main_Character.reputation-5), Notify("Reputation decreasing... You given up!"), Jump("church_shop_part_work_failed")]
        hover_sound "sound_effects/buttons/misc_hover_1.mp3" activate_sound "sound_effects/buttons/misc_activate_2.mp3"
    add "gui/text_icons/bad_repuation.png" xpos 0.880 ypos 0.30
init python:
    def function_church_shop_planting():
        store.church_shop_planting += 7
        if store.church_shop_planting >= 100:
            renpy.jump("church_shop_part_work_end")

label church_shop_part_work_end:

    stop music fadeout 1.0
    $ show_quick_menu = False
    scene black with dissolve
    play sound "minigames/battle/sounds/battle_win.wav"
    centered "{size=50}{font=fonts/font_gui.otf}Mini-Game completed! Congratulations!" with dissolve
    $ lc.advance_time()
    $ church_shop_planting = 0

    play music "images/ost/church_shop_theme_1.mp3" fadein 1.0
    $ quick_bar = True
    $ show_quick_menu = True
    if lc.period == "Evening":
        scene church_shop_pw_evening_1 with dissolve
    elif True:
        scene church_shop_pw_1 with dissolve
    mc "SISTER BELLA!"
    mc "I have finished working!"
    bella "I'm coming, coming!"
    play sound "images/sound_effects/house/open_door_1.mp3"


    if battle.level == 1:
        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_1 with dissolve
        elif True:
            scene church_shop_pw_daytime_talk_1 with dissolve
        bella "Now my garden looks a little better."
        bella "Thanks to you, oh my child."
        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_2 with dissolve
        elif True:
            scene church_shop_pw_daytime_talk_2 with dissolve


        $ Main_Character.money += 20
        play sound "images/sound_effects/cash.mp3"
        $ renpy.notify("Money +20!")

        bella "Here, take it. You deserve this small portion of money from me!"
        bella "It's not much, but it's all I have."
        bella "Use them for good."
        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_3 with dissolve
            bella "It's getting darker, you should be back home!"
        elif True:
            scene church_shop_pw_daytime_talk_3 with dissolve
            bella "Now, go home and take a rest."

    if battle.level == 2:
        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_1 with dissolve
        elif True:
            scene church_shop_pw_daytime_talk_1 with dissolve
        bella "Oh dear God! [name], you have done wonderful job with taking care of my garden."
        bella "Thank you so much for your help."
        bella "God will not forget your kindness."
        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_2 with dissolve
        elif True:
            scene church_shop_pw_daytime_talk_2 with dissolve


        $ Main_Character.money += 40
        play sound "images/sound_effects/cash.mp3"
        $ renpy.notify("Money +40!")

        bella "Here, take it. You deserve this small portion of money from me!"
        bella "It's not much, but it's all I have."
        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_3 with dissolve
            bella "It's getting darker, you should be back home!"
        elif True:
            scene church_shop_pw_daytime_talk_3 with dissolve
            bella "Now, go home and take a rest."

    if battle.level == 3:
        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_1 with dissolve
        elif True:
            scene church_shop_pw_daytime_talk_1 with dissolve
        bella "Oh Jesus Christ..."
        bella "[name], is that your work?.."
        bella "The garden is completely free from the weeds..."

        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_2 with dissolve
        elif True:
            scene church_shop_pw_daytime_talk_2 with dissolve


        $ Main_Character.money += 70
        play sound "images/sound_effects/cash.mp3"
        $ renpy.notify("Money +70!")

        bella "[name], my child. I pray to God that this amount of money will be enough for the hard work you have done for me."
        if lc.period == "Evening":
            scene church_shop_pw_evening_talk_3 with dissolve
            bella "It's getting darker. You should be back home and take a rest!"
            bella "I'll pray for your health tonight."
        elif True:
            scene church_shop_pw_daytime_talk_3 with dissolve
            bella "Your hands are dirty and you look tired. You have to go back home and take a rest!"
            bella "May God bless you with a peaceful evening."
    jump map_global
label church_shop_part_work_failed:

    if Main_Character.reputation < 0:
        $ Main_Character.reputation = 0

    stop music fadeout 1.0
    $ show_quick_menu = False
    scene black with dissolve
    play sound "minigames/battle/sounds/battle_fail.wav"
    centered "{size=50}{font=fonts/font_gui.otf}Mini-Game failed!" with dissolve
    $ lc.advance_time()
    $ church_shop_planting = 0

    play music "images/ost/church_shop_theme_1.mp3" fadein 1.0
    $ quick_bar = True
    $ show_quick_menu = True
    if lc.period == "Evening":
        scene church_shop_pw_evening_1 with dissolve
        mc_t "(It's getting dark here. I should leave...)"
    elif True:
        scene church_shop_pw_1 with dissolve
        mc_t "(I'm leaving this place...)"
    jump map_global

label init_battle:
    call screen BattleInteractive_level_choosing with dissolve

label init_battle_lvl_1:
    $ renpy.play(Audio.StartGame, channel="sound")
    $ renpy.audio.music.play(Audio.MainTheme_lvl_1, channel="music", fadein=3, loop=True)
    $ battle = BattleAPI(level=1, support_level=1)
    call screen BattleInteractive() with pixellate
label init_battle_lvl_2:
    $ renpy.play(Audio.StartGame, channel="sound")
    $ renpy.audio.music.play(Audio.MainTheme_lvl_2, channel="music", fadein=3, loop=True)
    $ battle = BattleAPI(level=2, support_level=1)
    call screen BattleInteractive() with pixellate
label init_battle_lvl_3:
    $ renpy.play(Audio.StartGame, channel="sound")
    $ renpy.audio.music.play(Audio.MainTheme_lvl_3, channel="music", fadein=3, loop=True)
    $ battle = BattleAPI(level=3, support_level=1)
    call screen BattleInteractive() with pixellate
label mini_game_shooting_weed_bad_end:
    $ renpy.block_rollback()

    if miss_nur_shaley_job == True:
        jump map_job_2_miss_nur_shaley
    if miss_tavern_job == True:
        jump map_job_1_miss_tavern
    elif True:
        jump church_shop_part_work_failed

label mini_game_shooting_weed_succ_end:
    $ renpy.block_rollback()

    if miss_nur_shaley_job == True:
        jump map_job_2_work_end
    if miss_tavern_job == True:
        jump map_job_1_work_end
    elif True:
        jump church_shop_part_work_end
# Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc
