Bug fixes

* Fixed missing Genie chibi during the retrospection
* Fixed a crash caused by inappropriate label defintion inside the local scope
This commit is contained in:
LoafyLemon 2023-07-04 15:15:47 +01:00
parent dc3b776a08
commit 49e956810b
2 changed files with 5 additions and 3 deletions

View File

@ -1522,7 +1522,7 @@ label cho_quid_E12:
$ hooch_chibi.zorder = 4 $ hooch_chibi.zorder = 4
call room("quidditch_pitch") call room("quidditch_pitch")
call cho_chibi("stand", "right", "base", flip=False) call cho_chibi("stand", "right", "base", flip=False)
call gen_walk(xpos="mid", flip=False) call gen_chibi("stand", "mid", 470, flip=False)
chibi hooch place ((450, 500)) chibi hooch place ((450, 500))
hoo @ cheeks blush "" ("base", "narrow", "base", "R", xpos=100, ypos="base", flip=True) hoo @ cheeks blush "" ("base", "narrow", "base", "R", xpos=100, ypos="base", flip=True)

View File

@ -253,7 +253,7 @@ label hermione_favor_menu:
her "What about tomorrow?" ("base","squint", "base", "mid") her "What about tomorrow?" ("base","squint", "base", "mid")
gen "I made a graph detailing the current daily average points Slytherin gain... It doesn't look that great." ("grin", xpos="far_left", ypos="head") gen "I made a graph detailing the current daily average points Slytherin gain... It doesn't look that great." ("grin", xpos="far_left", ypos="head")
gen "Just think about it." ("base", xpos="far_left", ypos="head") gen "Just think about it." ("base", xpos="far_left", ypos="head")
jump hermione_favors_convinced_check jump .convinced
else: else:
her "The Gryffindor house is in the lead. I don't need to do this." ("base", "base", "base", "mid_soft", trans=d3) her "The Gryffindor house is in the lead. I don't need to do this." ("base", "base", "base", "mid_soft", trans=d3)
if states.her.level >= 15: if states.her.level >= 15:
@ -262,7 +262,9 @@ label hermione_favor_menu:
gen "Are you sure it's not within your house best interests?" ("base", xpos="far_left", ypos="head") gen "Are you sure it's not within your house best interests?" ("base", xpos="far_left", ypos="head")
her "What do you mean?" ("soft", "happy", "base", "mid") her "What do you mean?" ("soft", "happy", "base", "mid")
gen "Think about the future..." ("grin", xpos="far_left", ypos="head") gen "Think about the future..." ("grin", xpos="far_left", ypos="head")
label hermione_favors_convinced_check:
label .convinced:
if states.her.level >=20: if states.her.level >=20:
gen "If you do it now it could secure--" ("base", xpos="far_left", ypos="head") gen "If you do it now it could secure--" ("base", xpos="far_left", ypos="head")
her "I'll do it!" ("angry", "happy", "base", "mid") her "I'll do it!" ("angry", "happy", "base", "mid")