>>95928141Here's how it worked according to the wiki
There are five endings to this toon. Which ending is seen is determined by adding together all the numbers of the choices made, dividing by five, taking the remainder (numbered zero to four), and adding one. Thus, if 2, 1, 3, 3, and 2 are chosen, the equation would come out as 2 + 1 + 3 + 3 + 2 = 11 / 5 = 2, remainder 1. Add 1 to that, and the cartoon plays ending 2. (See the talk page for the source code.)
If the remainder is:
0, then ending 1 appears: Tofu Homestar. There are 53 combinations that yield this result.
When the sum of the choices are 5, 10, or 15 this ending is displayed.
1, then ending 2 appears: Cyclops Homestar. There are 50 combinations that yield this result.
When the sum of the choices are 6 or 11 this ending is displayed.
2, then ending 3 appears: French Homestar. There are 45 combinations that yield this result.
When the sum of the choices are 7 or 12 this ending is displayed.
3, then ending 4 appears: Freaky Marzipan. There are 45 combinations that yield this result.
When the sum of the choices are 8 or 13 this ending is displayed.
4, then ending 5 appears: The Goblin. There are 50 combinations that yield this result.
When the sum of the choices are 9 or 14 this ending is displayed.