Mem

From Moondust Wiki
Revision as of 23:24, 18 January 2016 by Sambo (talk | contribs) (Created page)
(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 to only test the value of the address.