Parameter string (stat(6) breaks between reload.
Stat(6) is read correctly on first boot, but after reloading the cartridge (ctrl+r), the parameter string is cleared and calls to stat(6) in the "new session" are always blank.
This makes using stat(6) for something like a debug flag unfeasible, and seems to me to be a bug.
Invoking the program with
pico8.exe -run stat6 -p debug:
This is correct; the parameter string was 'debug'
After reloading with ctrl+r
This is incorrect; the parameter string should still be 'debug', but was cleared.
[Please log in to post a comment]