This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
super_mario_64:behavior_commands [2019/11/02 21:28] anonymous_moose [30: Set Gravity] |
super_mario_64:behavior_commands [2019/11/03 09:17] (current) jesusyoshi54 [22: Set 0x10 flag] |
||
---|---|---|---|
Line 405: | Line 405: | ||
---- | ---- | ||
- | ==== 22: Set 0x10 flag ==== | + | ==== 22: Set Render Invisible flag ==== |
- | Sets 0x10 in graph flags. | + | Sets Render Invisible (0x10) in graph flags. |
''22 00 00 00'' | ''22 00 00 00'' | ||
Line 521: | Line 521: | ||
| <color darkred>A</color> | X/Z sphere as int | | | <color darkred>A</color> | X/Z sphere as int | | ||
| <color darkgreen>B</color> | Y sphere as int | | | <color darkgreen>B</color> | Y sphere as int | | ||
- | | <color darkblue>C</color> | obj->0x208 = (float)<color darkblue>C</color> | | + | | <color darkblue>C</color> | obj->-Y offset(0x208) = (float)<color darkblue>C</color> | |
Length: C | Length: C | ||
Line 548: | Line 548: | ||
---- | ---- | ||
- | ==== 2E: Sight Distance ==== | + | ==== 2E: Set Hurtbox ==== |
- | Uselessly long version of 0E? | + | Sets object hurtbox radius and height |
''2E 00 00 00 [<color darkred>AA AA</color>] [<color darkgreen>BB BB</color>]'' | ''2E 00 00 00 [<color darkred>AA AA</color>] [<color darkgreen>BB BB</color>]'' | ||
- | | <color darkred>A</color> | obj->0x200 = (float) <color darkred>A</color> | | + | | <color darkred>A</color> | obj->Hurtbox Radius (0x200) = (float) <color darkred>A</color> | |
- | | <color darkgreen>B</color> | obj->0x204 = (float) <color darkgreen>B</color> | | + | | <color darkgreen>B</color> | obj->Hurtbox Height (0x204) = (float) <color darkgreen>B</color> | |
Length: 8 | Length: 8 | ||
Line 622: | Line 622: | ||
---- | ---- | ||
- | ==== 31: ?? ==== | + | ==== 31: Set Interaction Sub-Type ==== |
- | Sets obj->0x190. Unused. | + | Sets obj->0x190 |
''31 00 00 00 [<color darkred>AA AA AA AA</color>]'' | ''31 00 00 00 [<color darkred>AA AA AA AA</color>]'' | ||
- | | <color darkred>A</color> | obj->0x190 = <color darkred>A</color> | | + | | <color darkred>A</color> | obj->Interaction SubType (0x190) = <color darkred>A</color> | |
Length: 8 | Length: 8 |