FANDOM


dset( index, value )

Sets a value in persistent cartridge data.

index
The index of the value.
value
The new value to set.

A cartridge can store 64 numbers (256 bytes) of data to persistent storage. This data is available the next time the user runs the cart, and persists in the player even if the cartridge is replaced with a new version of the same cartridge.

The dget() function retrieves the value for the given index (0 to 63).

Examples Edit

See cartdata() for an example.

See also Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.