User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
super_mario_64:behavior_commands [2017/12/03 17:32]
david [0A: End Behavior script] Update behavior command 0xA
super_mario_64:behavior_commands [2018/01/27 12:49]
david [17: Right Shift]
Line 115: Line 115:
 ---- ----
  
-==== 0B: Unused ==== +==== 0B: End Behavior script (Unused==== 
-No operation ​Unused.+Marks the end of a behavior that doesn'​t use a loopExactly the same as command 0xA, except this never seems to be used.
  
-----+''​0B 00 00 00''​
  
 +Length: 4
 +
 +----
 ==== 0C: Call Function ==== ==== 0C: Call Function ====
 Calls ASM function. ​ Usually used to call object init routine or looping routine between 0x08/0x09 commands. Calls ASM function. ​ Usually used to call object init routine or looping routine between 0x08/0x09 commands.
Line 274: Line 277:
 | <color brown>​B</​color>​ | u16 | | <color brown>​B</​color>​ | u16 |
 | <color darkgrey>​C</​color>​ | u16 | | <color darkgrey>​C</​color>​ | u16 |
-| obj->​address = <color brown>​B</​color>​ + 80383BB0() >> <color darkgrey>​C</​color>​ ||+| obj->​address = (obj->​address + <color brown>​B</​color>​(80383BB0() >> <color darkgrey>​C</​color>​||
  
 Length: 8 Length: 8