SMBX Block Offsets

From Moondust Wiki
Revision as of 19:09, 4 October 2015 by Kevsoft (talk | contribs)
Jump to navigation Jump to search


This is the memory map for the Block struct. This struct is not fully analysed. Any help is appreciated!
Please note that the data is probably not 100% accurate. We'd have to check if the structure SMBX Block+(memory) is actually represented that way in-game.


Block Memory
Name Memory address Memory type Description
SMBX Block+0x00 0x00 FIELD_WORD Makes block slippery
SMBX Block+0x02 0x02 FIELD_WORD Unknown attribute in memory offset 02.
SMBX Block+0x04 0x04 FIELD_WORD How many times the block gets hitted (i.e. when Toad hits the block)
SMBX Block+0x06 0x06 FIELD_WORD Block type 2
SMBX Block+0x08 0x08 FIELD_WORD Content ID related
SMBX Block+0x0A 0x0A FIELD_WORD Unknown 0A
SMBX Block+0x0C 0x0C VB6StrPtr Event that triggers when block is hit.
SMBX Block+0x10 0x10 VB6StrPtr Event that triggers when block is destroyed.
SMBX Block+0x14 0x14 VB6StrPtr Event that triggers when there are no more objects in layer.
SMBX Block+0x18 0x18 VB6StrPtr Name of the layer the block belongs to.
SMBX Block+0x1C 0x1C FIELD_WORD Toggles block visibility.
SMBX Block+0x1E 0x1E FIELD_WORD Registers block type.
SMBX Block+0x20 0x20 Momentum Registers momentum.
SMBX Block+0x50 0x50 FIELD_WORD Registers ID of block contents.
SMBX Block+0x52 0x52 FIELD_WORD Sets block hitting effect, type 1.
SMBX Block+0x54 0x54 FIELD_WORD Triggers hit timer. How does it work?
SMBX Block+0x56 0x56 FIELD_WORD Sets block hitting effect, type 2.
SMBX Block+0x58 0x58 FIELD_WORD Unknown attribute on memory offset 58.
SMBX Block+0x5A 0x5A FIELD_WORD Triggers block invisibility, type 2.
SMBX Block+0x5C 0x5C FIELD_WORD Triggers block invisibility, type 3.
SMBX Block+0x5E 0x5E FIELD_WORD Unknown attribute in memory offset 5E.
SMBX Block+0x60 0x60 FIELD_WORD Unknown attribute in memory offset 60.
SMBX Block+0x62 0x62 FIELD_WORD Unknown attribute in memory offset 62.
SMBX Block+0x64 0x64 FIELD_WORD Unknown attribute in memory offset 64.
SMBX Block+0x64 0x66 FIELD_WORD Unknown attribute in memory offset 66.