@zep There is a mistake in the PICO-8 manual.
6.14 Additional Lua Features > Coroutines > costatus(c) Return the status of coroutine C as a string: "running" "suspended" "dead" |
The status "normal" is missing.
When coroutine A calls coroutine B, and you check the status of A in B, you will get "normal".
1
oh wow, I had no idea this "normal" thing existed!
for reference, the relevant section from the Lua 5.2 manual:
...and a code example which outputs the "normal" status:
[Please log in to post a comment]