SnootGame/game/storyline.rpy

80 lines
2.4 KiB
Plaintext
Raw Normal View History

2021-09-22 23:06:37 +00:00
init -1 python:
2021-09-22 22:39:56 +00:00
def ending_image():
2021-09-22 23:06:37 +00:00
#0b0000, ABCD, flash the bits with |=, check with &
2021-09-22 22:39:56 +00:00
endings = 0b0000
_e = 0b1
for i in range(1, 5):
fn = str(i)+"of4"
endings |= (_e * renpy.seen_image(fn))
_e = _e << 0b1
persistent.endings = endings
2021-06-18 17:59:52 +00:00
label storyline:
2021-06-18 02:01:49 +00:00
call chapter_1
call chapter_2
call chapter_3
call chapter_4
call chapter_5
call chapter_6
call chapter_7
call chapter_8
call chapter_9
call chapter_10
call chapter_11
#Ending Deciding
call get_ending
if _return == 4:
2021-06-18 02:01:49 +00:00
call chapter_11D
call chapter_12D
call chapter_13D
call chapter_14D
elif _return == 3:
$ tradwife = True
2021-06-18 02:01:49 +00:00
call chapter_11C
call chapter_12C
call chapter_13C
call chapter_14C
elif _return == 2:
2021-06-18 02:01:49 +00:00
call chapter_11B
call chapter_12B
call chapter_13B
call chapter_14B
elif _return == 1:
2021-06-18 02:01:49 +00:00
call chapter_11A
call chapter_12A
call chapter_13A
call chapter_14A
2021-09-22 22:39:56 +00:00
$ ending_image()
2021-06-18 02:01:49 +00:00
$ renpy.quit()
else: # this block is redundant since we should never hit it
2021-06-18 02:01:49 +00:00
#>>ERROR HANDLING OH SWEET BABY JESUS SHIT HIT THE FAN
2021-06-18 18:02:55 +00:00
St "FUCK FUCK FUCK FUCK"
A "What?"
St "Some dipshit developer made broken code and this is the error handling message..."
A "What?"
St "Basically the if/else statement that handles this shit has failed at catching the score, and someone fucked up."
A "Shit... what does that mean?"
St "Well... the games broken and will end soon"
A "Does this mean that the 3 fucks speedrunning have an easy way to beat the game?"
St "Yes, but you have to have something wrong with you to speedrun a visual novel beta"
"/dev/non" "well shit. Please do report this bug and all the choices you made that lead to this point. Something fucked up real bad"
#just liek maek gaem
2021-09-22 22:39:56 +00:00
$ ending_image()
call .ending
2021-06-18 18:02:55 +00:00
return
2021-06-18 02:01:49 +00:00
label .ending:
2021-06-18 02:01:49 +00:00
play music "audio/OST/Dino Destiny Reader.ogg"
scene credits at Pan((0, 0),(0, 7400), 61) with fade
pause 1200
scene black with fade
stop music fadeout 3.0
pause 5
if tradwife:
scene c10 with fade
pause 20
2021-10-07 00:54:27 +00:00
if anonscore >= 4 and fangscore >= 4:
scene ending_d_cg with fade
pause 20
2021-07-04 06:06:59 +00:00
return