Mem

From Moondust Wiki
Revision as of 17:19, 30 August 2016 by Lighthouse64 (talk | contribs) (→‎Arguments)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function accesses the global memory of SMBX and allows you to change it.

Arguments

Field Type Description
address int (hex) The memory address of SMBX to access. See SMBX Global Memory to find what is stored in an address.
fieldtype int The field type of the address. The FIELD_#### constants may be used here. See LunaLua constants
value object The value to set for that address. Optional. Ignore unless you are testing the value of the address.