SMBX Block Offsets
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 | Short integer | Makes block slippery |
| SMBX Block+0x02 | 0x02 | Short integer | Unknown attribute in memory offset 02. |
| SMBX Block+0x04 | 0x04 | Short integer | Unknown attribute in memory offset 04. |
| SMBX Block+0x06 | 0x06 | Short integer | Block type 2 |
| SMBX Block+0x08 | 0x08 | Short integer | Content ID related |
| SMBX Block+0x10 | 0x10 | Short integer | Unknown 10 |
| SMBX Block+0x0C | 0x0C | VB6 String, Pointer | Event that triggers when block is hit. |
| SMBX Block+0x10 | 0x10 | VB6 String, Pointer | Event that triggers when block is destroyed. |
| SMBX Block+0x14 | 0x14 | VB6 String, Pointer | Event that triggers when there are no more objects in layer. |
| SMBX Block+0x18 | 0x18 | VB6 String, Pointer | Name of the layer the block belongs to. |
| SMBX Block+0x1C | 0x1C | Short integer | Toggles block visibility. |
| SMBX Block+0x1E | 0x1E | Short integer | Registers block type. |
| SMBX Block+0x20 | 0x20 | Momentum | Registers momentum. |
| SMBX Block+0x50 | 0x50 | Short integer | Registers ID of block contents. |
| SMBX Block+0x52 | 0x52 | Short integer | Sets block hitting effect, type 1. |
| SMBX Block+0x54 | 0x54 | Short integer | Triggers hit timer. How does it work? |
| SMBX Block+0x56 | 0x56 | Short integer | Sets block hitting effect, type 2. |
| SMBX Block+0x58 | 0x58 | Short integer | Unknown attribute on memory offset 58. |
| SMBX Block+0x5A | 0x5A | Short integer | Triggers block invisibility, type 2. |
| SMBX Block+0x5C | 0x5C | Short integer | Triggers block invisibility, type 3. |
| SMBX Block+0x5E | 0x5E | Short integer | Unknown attribute in memory offset 5E. |
| SMBX Block+0x60 | 0x60 | Short integer | Unknown attribute in memory offset 60. |
| SMBX Block+0x62 | 0x62 | Short integer | Unknown attribute in memory offset 62. |
| SMBX Block+0x64 | 0x64 | Short integer | Unknown attribute in memory offset 64. |
| SMBX Block+0x64 | 0x66 | Short integer | Unknown attribute in memory offset 66. |