forked from Cavemanon/SnootGame
get_ending
to not be numerically based, but instead enum-based. (#219)
Co-authored-by: san7890 <the@san7890.com> Reviewed-on: Cavemanon/SnootGame#219 Co-authored-by: san7890 <san7890@noreply.git.cavemanon.xyz> Co-committed-by: san7890 <san7890@noreply.git.cavemanon.xyz>
This commit is contained in:
@@ -218,7 +218,8 @@ image d_credits_text = Composite(
|
||||
|
||||
label lending:
|
||||
call get_ending from _call_get_ending_4
|
||||
if _return == 4:
|
||||
$ cached_ending = _return # un-necessary to call this so many times
|
||||
if cached_ending == Endings.Golden:
|
||||
pause 0.5
|
||||
show snootgame_big with dissolve: # Renpy not allowing you to grab images from the gui folder is serious bullshit
|
||||
subpixel True
|
||||
@@ -248,7 +249,7 @@ label lending:
|
||||
pause 50
|
||||
queue music 'audio/OST/amberlight brillance live end.ogg'
|
||||
queue music "<silence 1.0>" loop
|
||||
elif _return == 3:
|
||||
elif cached_ending == Endings.Tradwife:
|
||||
play music "audio/OST/Dino Destiny Reader.ogg"
|
||||
pause 0.5
|
||||
show c_credits_text:
|
||||
@@ -280,12 +281,12 @@ label lending:
|
||||
stop music fadeout 5
|
||||
scene black with Dissolve(3)
|
||||
pause 2
|
||||
if tradwife:
|
||||
if cached_ending == Endings.Tradwife:
|
||||
scene c10 with Dissolve(1.5)
|
||||
pause 20
|
||||
scene black with Dissolve(2)
|
||||
pause 1
|
||||
elif anonscore >= 4 and fangscore >= 4:
|
||||
elif cached_ending == Endings.Golden:
|
||||
scene golden ending with Dissolve(1.5)
|
||||
pause 20
|
||||
scene black with Dissolve(2)
|
||||
|
Reference in New Issue
Block a user