document ending_image()

This commit is contained in:
Map 2024-10-11 19:13:41 -05:00
parent ccadc0c179
commit 3f2fc63950

View file

@ -1,4 +1,6 @@
init -1 python: init -1 python:
# This function name is a misnomer, this actually counts endings as seen when the player reaches the ending cards when this is called
# And it's done in the most retarded way possible because someone thought it'd be funny.
def ending_image(): def ending_image():
#0b0000, DCBA, flash the bits with |=, check with & #0b0000, DCBA, flash the bits with |=, check with &
endings = 0b0000 endings = 0b0000
@ -26,7 +28,7 @@ init python:
# We're at an ending # We're at an ending
else: else:
ending_image() ending_image() # Count endings that have seen the ending cards as seen
if ending_route_number == 1: if ending_route_number == 1:
renpy.quit() renpy.quit()