1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

Fix interleaved text and choices

This commit is contained in:
Étienne Fildadut 2023-12-31 14:25:37 +01:00
parent 4125a4c99b
commit aa8dfbd498
4 changed files with 70 additions and 28 deletions

View file

@ -0,0 +1,19 @@
--# run #--
--- choice ---
=> | {}"a" |
--- text ---
| {}"-> a" |
--- choice ---
=> | {}"aa" |
> | {}"ab" |
--- text ---
| {}"-> aa" |
| {}"x" |
--- choice ---
=> | {}"b" |
--- text ---
| {}"-> b" |
--- return ---
()
--# saved #--
{}

View file

@ -0,0 +1,14 @@
:@choice = 1
:f = $_
| a |>
|-> a
| aa |>
|-> aa
| ab |>
|-> ab
| x
| b |>
|-> b
f!