Advertisement
ponyboy837

Super Mario 64 RE #1

Jun 28th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.71 KB | None | 0 0
  1. void Beh1UpCommonInit(void) {
  2.     CurrentObject->Rotation.XRotation = 0xffffc000;
  3.     CurrentObject->Gravity = 3f;
  4.     CurrentObject->Friction = 1f;
  5.     CurrentObject->Buoyancy = 1f;
  6.     return;
  7. }
  8.  
  9. void BehAmpHomingInit(void) {
  10.     CurrentObject->HomeX = CurrentObject->Position.XPos;
  11.     CurrentObject->HomeY = CurrentObject->Position.YPos;
  12.     CurrentObject->HomeZ = CurrentObject->Position.ZPos;
  13.     CurrentObject->Gravity = 0f;
  14.     CurrentObject->Friction = 1f;
  15.     CurrentObject->Buoyancy = 1f;
  16.     CurrentObject->AmpHomingAvgY = CurrentObject->HomeY;
  17.     ScaleObject(0.1f);
  18.     CurrentObject->GraphFlags = CurrentObject->GraphFlags | 0x10;
  19.     return;
  20. }
  21.  
  22. void BehBobombInit(void) {
  23.     CurrentObject->Gravity = 2.5f;
  24.     CurrentObject->Friction = 0.8f;
  25.     CurrentObject->Buoyancy = 1.3f;
  26.     CurrentObject->field_0x190 = 0x100;
  27.     return;
  28. }
  29.  
  30. void BehBooInit(void) {
  31.     CurrentObject->field_0x110 = CurrentObject->Rotation.YRotation;
  32.     return;
  33. }
  34.  
  35. void BehBulletBillInit(void) {
  36.     CurrentObject->field_0xf8 = CurrentObject->Rotation.YRotation;
  37.     return;
  38. }
  39.  
  40. void BehCoinInit(void) {
  41.     return;
  42. }
  43.  
  44. void BehMontyMoleInit(void) {
  45.     CurrentObject->BehaviorObjectType1 = 0;
  46.     return;
  47. }
  48.  
  49. void ActionBowserPuzzlePiece0(void) {
  50.     return;
  51. }
  52.  
  53. void ActionBowserPuzzlePiece1(void) {
  54.     CurrentObject->Position.YPos = CurrentObject->Position.YPos + 50;
  55.     CurrentObject->Action = 3;
  56.     return;
  57. }
  58.  
  59. void ActionBowserPuzzlePiece2(void) {
  60.     if (0x17 < CurrentObject->Timer) {
  61.         CurrentObject->field_0x108 = 0;
  62.     }
  63.     return;
  64. }
  65.  
  66. void ActionBowserTailAnchor1(void) {
  67.     if (0x1e < CurrentObject->Timer) {
  68.         CurrentObject->Action = 0;
  69.     }
  70.     return;
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement