Can you explain what you mean by the points being even in the intro? I'm not really sure I understood what the first part of your code would achieve in relation to what you said.
Remix's example will directly jump to a random label:
Code: Select all
jump expression renpy.random.choice( ["sakiko_route", "yoko_route", "katsumi_route"] )
It's basically using the jump expression statement which jumps to whatever the string is that comes after the "jump expressions" statement.
In your revised examples, you've set the variable "variable" to the random choice but you're not checking against the variable (instead you're checking 3 different variables named yoko, sakiko and katsumi - which I assume exists elsewhere in your program or it'd crash.
The second example you've just set the variable but not executed the jump statement.
If you wanted to set the choice to a variable first, you could even do:
or as your original example:
I still don't get what this block is supposed to do though:
Code: Select all
if sakiko_love >= 2:
jump sakiko_route
elif yoko_love >= 2:
jump yoko_route
elif katsumi_love >= 2:
jump katsumi_route
As they'd only check if the first sakiko_love is larger than 2, if not, check if yoko_love is larger than 2, and so on. They're mutually exclusive.