This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
super_mario_64:level_commands [2018/10/17 03:40] David [2F: Setup Render Room] Added proper documentation for level command 0x2F |
super_mario_64:level_commands [2019/04/10 15:59] Andrey Linked to Macro section and explained the bit splitting on that object variable |
||
---|---|---|---|
Line 654: | Line 654: | ||
''[<color fuchsia>BB BB</color>] [<color red>XX XX</color>] [<color green>YY YY</color>] [<color aqua>ZZ ZZ</color>] [?? ??]'' | ''[<color fuchsia>BB BB</color>] [<color red>XX XX</color>] [<color green>YY YY</color>] [<color aqua>ZZ ZZ</color>] [?? ??]'' | ||
- | | <color fuchsia>B</color> | Object type ID (behavior, model, etc) | | + | | <color fuchsia>B</color> | Object type ID (references behaviour address and model id) and Y Rotation. First 7 bit are the Y-Rotation, the last 9 bit are the Object type ID. | |
| <color red>X</color>,<color green>Y</color>,<color aqua>Z</color> | Coordinates | | | <color red>X</color>,<color green>Y</color>,<color aqua>Z</color> | Coordinates | | ||
| ?? | Always 00 00 ? | | | ?? | Always 00 00 ? | | ||
+ | |||
+ | [[sm64:macro_objects|See here for more information]] | ||
---- | ---- |