2021-09-23 01:06:37 +02:00
|
|
|
init -1 python:
|
2021-09-23 00:39:56 +02:00
|
|
|
def ending_image():
|
2021-10-14 21:17:08 +02:00
|
|
|
#0b0000, DCBA, flash the bits with |=, check with &
|
2021-09-23 00:39:56 +02:00
|
|
|
endings = 0b0000
|
|
|
|
_e = 0b1
|
|
|
|
for i in range(1, 5):
|
2021-10-14 21:17:08 +02:00
|
|
|
fn = "e"+str(i)+"of4"
|
2021-09-23 00:39:56 +02:00
|
|
|
endings |= (_e * renpy.seen_image(fn))
|
|
|
|
_e = _e << 0b1
|
2021-10-16 19:25:12 +02:00
|
|
|
persistent.old_endings = persistent.endings
|
2021-09-23 00:39:56 +02:00
|
|
|
persistent.endings = endings
|
|
|
|
|
2021-06-18 19:59:52 +02:00
|
|
|
label storyline:
|
2023-01-03 05:11:57 +01:00
|
|
|
call chapter_1 from _call_chapter_1
|
|
|
|
call chapter_2 from _call_chapter_2
|
|
|
|
call chapter_3 from _call_chapter_3
|
|
|
|
call chapter_4 from _call_chapter_4
|
|
|
|
call chapter_5 from _call_chapter_5
|
|
|
|
call chapter_6 from _call_chapter_6
|
|
|
|
call chapter_7 from _call_chapter_7
|
|
|
|
call chapter_8 from _call_chapter_8
|
|
|
|
call chapter_9 from _call_chapter_9
|
|
|
|
call chapter_10 from _call_chapter_10
|
|
|
|
call chapter_11 from _call_chapter_11
|
|
|
|
call get_ending from _call_get_ending_5
|
2023-05-07 02:44:59 +02:00
|
|
|
if _return == Endings.Golden:
|
2023-01-03 05:11:57 +01:00
|
|
|
call chapter_11D from _call_chapter_11D
|
|
|
|
call chapter_12D from _call_chapter_12D
|
|
|
|
call chapter_12_5D from _call_chapter_12_5D
|
|
|
|
call chapter_13D from _call_chapter_13D
|
|
|
|
call chapter_14D from _call_chapter_14D
|
2023-05-07 02:44:59 +02:00
|
|
|
elif _return == Endings.Tradwife:
|
2023-01-03 05:11:57 +01:00
|
|
|
call chapter_11C from _call_chapter_11C
|
|
|
|
call chapter_12C from _call_chapter_12C
|
|
|
|
call chapter_12_5C from _call_chapter_12_5C
|
|
|
|
call chapter_13C from _call_chapter_13C
|
|
|
|
call chapter_14C from _call_chapter_14C
|
2023-05-07 02:44:59 +02:00
|
|
|
elif _return == Endings.Doomer:
|
2023-01-03 05:11:57 +01:00
|
|
|
call chapter_11B from _call_chapter_11B
|
|
|
|
call chapter_12B from _call_chapter_12B
|
2021-10-10 21:39:24 +02:00
|
|
|
# no chapter_13 here since the scene is different enough to the other routes for everything to go into 13C
|
2023-01-03 05:11:57 +01:00
|
|
|
call chapter_13B from _call_chapter_13B
|
|
|
|
call chapter_14B from _call_chapter_14B
|
2023-05-07 02:44:59 +02:00
|
|
|
else: # if all else fails, we just assume that we got Endings.Shooter
|
2023-01-03 05:11:57 +01:00
|
|
|
call chapter_11A from _call_chapter_11A
|
|
|
|
call chapter_12A from _call_chapter_12A
|
|
|
|
call chapter_12_5D from _call_chapter_12_5D_1
|
|
|
|
call chapter_13A from _call_chapter_13A
|
|
|
|
call chapter_14A from _call_chapter_14A
|
2021-09-23 00:39:56 +02:00
|
|
|
$ ending_image()
|
2021-06-18 04:01:49 +02:00
|
|
|
$ renpy.quit()
|
2021-09-23 00:39:56 +02:00
|
|
|
$ ending_image()
|
2023-01-03 05:11:57 +01:00
|
|
|
call lending from _call_lending
|
2022-11-23 01:18:21 +01:00
|
|
|
return
|