Advertisement
Guest User

boom

a guest
Dec 7th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.81 KB | None | 0 0
  1.   if (local_8 == local_4) { //if the actor the boomerang is moving to is link, do some stuff
  2. LAB_809c86d8:
  3.     iVar6 = -iVar3;
  4.     if (-1 < iVar3) {
  5.       iVar6 = iVar3;
  6.     }
  7.     local_1c = fVar10;
  8.     func_0x800778ac(param_1 + 0x32, (int)local_e, (int)(short)(int)((float)iVar6 * fVar10));
  9.     iVar6 = (int)local_14;
  10.     iVar3 = -iVar6;
  11.     if (-1 < iVar6) {
  12.       iVar3 = iVar6;
  13.     }
  14.     func_0x800778ac(param_1 + 0x30,(int)local_12,(int)(short)(int)((float)iVar3 * local_1c));
  15.   }
  16.   else { //else if its moving to another actor
  17.     if (*(int *)(local_4 + 0x130) != 0) {
  18.       iVar6 = -iVar3;
  19.       if (-1 < iVar3) {
  20.         iVar6 = iVar3;
  21.       }
  22.       if (iVar6 < 0x4001) goto LAB_809c86d8; //do the stuff when returning to player
  23.     }
  24.     *(undefined4 *)(param_1 + 0x1cc) = 0; //null moveTo
  25.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement