It is illegal to fall out of a *choice statement;
you must *goto or *finish before the end of the indented block.
error statement in my game despite using commands like *fake_choice and *create implicit_control_flow true. Do note that this is in a *fake_choice with sub-groups (a.k.a. multiple choices bodies in one page). Other instances of *fake_choice that don’t have sub-group work completely fine.
*title Test Dummy
*author Monkey Lottery
*scene_list
startup
*create implicit_control_flow true
*create fruits "NULL"
*fake_choice Apples Oranges
#One Apple
#One Orange
*set fruits "1 apple 1 orange"
#Two Oranges
*set fruits "1 apple 2 oranges"
#Three Oranges
*set fruits "1 apple 3 oranges"
#Two Apples
#One Orange
*set fruits "2 apples 1 orange"
#Two Oranges
*set fruits "2 apples 2 oranges"
#Three Oranges
*set fruits "2 apples 3 oranges"
#Three Apples
#One Orange
*set fruits "3 apples 1 orange"
#Two Oranges
*set fruits "3 apples 2 oranges"
#Three Oranges
*set fruits "3 apples 3 oranges"
You have ${fruits}
*finish
Another observation I’ve noted is that it also appears to be unpredictable. In some runs, all of the options work fine (meaning I don’t get the error message at all) while all the second options (Two Apples and Two Oranges) would incur the message.
When I close my browser and run the game again, all of the options cause the error message suddenly despite running perfectly in a previous test.
Any help with this problem would be greatly appreciated. Thanks!
@Phantmwolf Don’t forget to indent the second options one more level now that you added *fake_choice. Unless sub-groups don’t need that. Sub-groups are new to me.
Thanks for the feedback! Yes, I also just ended up settling with using a series of *goto commands as well. I appreciate your effort painstakingly coding these things on mobile and for experimenting a bit.