2022-05-16 23:48:22 +00:00
# Hide all character images (not chibi)
label hide_characters:
hide hermione_main
hide luna_main
hide cho_main
hide astoria_main
hide susan_main
hide tonks_main
hide snape_main
hide screen genie_main
# Do not add transitions. Use one after return.
return
label bld(action=None):
if action == "hide":
hide screen bld1
else:
show screen bld1
with d3
return
label blktone:
show screen bld1 # blktone looks stupid without bld1
show screen blktone
with d5
return
label hide_blktone:
hide screen blktone
with d5
return
label blktone_top:
show screen bld1 # blktone looks stupid without bld1
show screen blktone # Has higher zorder than normal blktone
with d5
return
label hide_blktone_top:
hide screen blktone
with d5
return
label blkfade:
hide screen bld1
hide screen blktone
show screen blkfade
with d5
pause.2
return
label hide_blkfade:
hide screen blkfade
with d5
return
label ctc:
show screen ctc
with d3
pause
hide screen ctc
with d1
return
# Play day/night theme
label music_block:
2023-03-31 22:41:48 +00:00
if states.room == "main_room":
2022-06-29 21:28:06 +00:00
if game.daytime:
2023-03-16 22:55:14 +00:00
play music "music/Brittle Rille.ogg" fadein 1 if_changed
2022-06-29 21:28:06 +00:00
else:
2023-03-16 22:55:14 +00:00
play music "music/Music for Manatees.ogg" fadein 1 if_changed
2023-03-31 22:41:48 +00:00
elif states.room == "snape_office":
2023-03-16 22:55:14 +00:00
play music "music/the-other-side-of-the-door-by-kevin-macleod-from-filmmusic-io.ogg" fadein 1 if_changed
2022-05-16 23:48:22 +00:00
return
label unlock_clothing(text="", item="interface/icons/box_blue_1.webp"):
show screen clothing_unlock(item)
show screen blktone
with d3
2023-11-16 00:55:20 +00:00
menu (menu_yalign=.75):
2022-05-16 23:48:22 +00:00
"[text]"
"-Done Reading-":
pass
hide screen clothing_unlock
hide screen blktone
with d3
$ item.unlock()
return
label describe_mood(name, value):
if 5 > value >= 1:
2023-03-11 19:43:02 +00:00
nar "[name] is a little upset with you..."
2022-05-16 23:48:22 +00:00
elif 10 > value >= 5:
2023-03-11 19:43:02 +00:00
nar "[name] is upset with you."
2022-05-16 23:48:22 +00:00
elif 20 > value >= 10:
2023-03-11 19:43:02 +00:00
nar "[name] is very upset with you."
2022-05-16 23:48:22 +00:00
elif 30 > value >= 20:
2023-03-11 19:43:02 +00:00
nar "[name] is mad at you."
2022-05-16 23:48:22 +00:00
elif 40 > value >= 30:
2023-03-11 19:43:02 +00:00
nar "[name] is very mad at you."
2022-05-16 23:48:22 +00:00
elif 50 > value >= 40:
2023-03-11 19:43:02 +00:00
nar "[name] is furious at you."
2022-05-16 23:48:22 +00:00
elif value >= 50:
2023-03-11 19:43:02 +00:00
nar "[name] hates your guts."
2022-05-16 23:48:22 +00:00
else:
2023-03-11 19:43:02 +00:00
nar "[name] is calm."
2022-05-16 23:48:22 +00:00
return
label describe_mood_after_gift(was_negative, mood, change):
if was_negative and mood == 0:
call notes
"She's no longer upset with you."
elif was_negative and change < 0:
"But she's still upset with you."
elif was_negative:
"She's still upset with you."
return
label notes():
2023-03-11 22:01:39 +00:00
play sound "sounds/win_04.ogg" #Not loud.
2022-05-16 23:48:22 +00:00
hide screen notes
show screen notes
return
label not_implemented():
"Not implemented."
return
label end_of_content():
$ renpy.choice_for_skipping()
"SilverStudioGames" "This concludes story progression for this character as of version [config.version].\nThere still may be side events and activities that you have missed, but main story won't progress past this point."
"SilverStudioGames" "We hope you have enjoyed yourself. Stay tuned for more in the future."
call notes
2023-03-20 12:17:24 +00:00
nar "All stats have been maxed out. You can now use all of the wardrobe options."
2022-05-16 23:48:22 +00:00
return