Advertisement
fig02

Untitled

Mar 3rd, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.21 KB | None | 0 0
  1.     if (sp4C->unkA4 != 0x21)
  2.     {
  3.         if (sp4C->unkA4 != 0x35)
  4.         {
  5.             phi_v0 = arg0->unk1C & 0x8000;
  6. block_16:
  7.             if (phi_v0 != 0)
  8.             {
  9.                 arg0->unk1F0 = (u16)0;
  10.                 arg0->unk190 = &func_809FB940;
  11.             }
  12.             else
  13.             {
  14.                 arg0->unk1F0 = (u16)3;
  15.                 arg0->unk190 = &func_809FB858;
  16.             }
  17.         }
  18.         else
  19.         {
  20.             temp_v0 = arg0->unk1C & 0x8000;
  21.             phi_v0 = temp_v0;
  22.             if (temp_v0 == 0)
  23.             {
  24.                 if (*(void *)0x8015FA7C != 0)
  25.                 {
  26.                     Actor_Kill(arg0);
  27.                     return;
  28.                 }
  29.                 arg0->unk1F0 = (u16)3;
  30.                 arg0->unk190 = &func_809FBC6C;
  31.                 arg0->unk68 = 0.0f;
  32.             }
  33.             else
  34.             {
  35.                 goto block_16;
  36.             }
  37.         }
  38.     }
  39.     else
  40.     {
  41.         if (*(void *)0x8015FA7C == 0)
  42.         {
  43.             if (((s32) (arg0->unk1C & 0xF00) >> 8) == 1)
  44.             {
  45.                 Actor_Kill(arg0);
  46.             }
  47.         }
  48.         phi_v0 = arg0->unk1C & 0x8000;
  49.         goto block_16;
  50.     }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement