Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.24 KB | None | 0 0
  1. if ( a2 == 62 )
  2.       {
  3.         if ( (signed int)a1 > 0x80000 )
  4.         {
  5.           if ( (signed int)a1 > 0x400000 )
  6.           {
  7.             if ( a1 != (char *)&loc_800000 )
  8.               return "Bad Flag Name";
  9.             result = "Permanent Modifiers";
  10.             if ( !a3 )
  11.               result = "CHANGE_ACTOR_PERMANENT_MODIFIERS";
  12.           }
  13.           else if ( a1 == (char *)0x400000 )
  14.           {
  15.             result = "Override Modifiers";
  16.             if ( !a3 )
  17.               result = "CHANGE_ACTOR_OVERRIDE_MODIFIERS";
  18.           }
  19.           else if ( a1 == (char *)0x100000 )
  20.           {
  21.             result = "Temp Modifiers";
  22.             if ( !a3 )
  23.               result = "CHANGE_ACTOR_TEMP_MODIFIERS";
  24.           }
  25.           else
  26.           {
  27.             if ( a1 != (char *)0x200000 )
  28.               return "Bad Flag Name";
  29.             result = "Damage Modifiers";
  30.             if ( !a3 )
  31.               result = "CHANGE_ACTOR_DAMAGE_MODIFIERS";
  32.           }
  33.         }
  34.         else if ( a1 == (char *)0x80000 )
  35.         {
  36.           result = "Disp Modifiers";
  37.           if ( !a3 )
  38.             result = "CHANGE_ACTOR_DISPOSITION_MODIFIERS";
  39.         }
  40.         else if ( (signed int)a1 > 4096 )
  41.         {
  42.           if ( a1 == (char *)0x20000 )
  43.           {
  44.             result = "Dismembered Limbs";
  45.             if ( !a3 )
  46.               result = "CHANGE_ACTOR_EXTRA_DISMEMBERED_LIMBS";
  47.           }
  48.           else
  49.           {
  50.             if ( a1 != (char *)0x40000 )
  51.               return "Bad Flag Name";
  52.             result = "Leveled Actor";
  53.             if ( !a3 )
  54.               result = "CHANGE_ACTOR_LEVELED_ACTOR";
  55.           }
  56.         }
  57.         else if ( a1 == (char *)4096 )
  58.         {
  59.           result = "Merchant Container";
  60.           if ( !a3 )
  61.             result = "CHANGE_ACTOR_EXTRA_MERCHANT_CONTAINER";
  62.         }
  63.         else if ( a1 == (char *)1024 )
  64.         {
  65.           result = "Life State";
  66.           if ( !a3 )
  67.             result = "CHANGE_ACTOR_LIFESTATE";
  68.         }
  69.         else
  70.         {
  71.           if ( a1 != (char *)2048 )
  72.             return "Bad Flag Name";
  73.           result = "Package Data Extra";
  74.           if ( !a3 )
  75.             result = "CHANGE_ACTOR_EXTRA_PACKAGE_DATA";
  76.         }
  77.       }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement