Log In  


Cart #iscdataempty_bc-0 | 2024-10-12 | Code ▽ | Embed ▽ | No License
1

Use this to check that the saved state of the game, such as mid-game progress, is the initial state (all 0).

print(iscdataempty() and 'cartdata empty' or 'cartdata found')
  • Returns true if it is in the initial state.
  • Returns false if there is any data contained in it.
  • This function consumes 14 Token.

With this test cart, we will verify that entering CARTDATA with the mouse will cause it to return to its initial state.
You can reset CARTDATA in the pause menu.

1



[Please log in to post a comment]