Script Function: Q532

From Ultima Online: The Second Age
Revision as of 04:12, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q532() { <span style="color:#0000FF">int</span> Q62A = getObjType|<span style="col...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q532()
 {
   int Q62A = getObjType(this);
   switch (Q62A)
   {
   case 0x0A28
   case 0x0F64
   case 0x0F6B
     setObjVar(this, "burning", 0x00);
     break;
   case 0x0A18
   case 0x0A1D
   case 0x0A25
     setObjVar(this, "fuel", 0x64);
     setObjVar(this, "burning", 0x00);
     break;
   case 0x0B1A
   case 0x0A0F
   case 0x0A15
   case 0x0A1A
   case 0x0A22
   case 0x0A12
     setObjVar(this, "fuel", 0x64);
     setObjVar(this, "burning", 0x01);
     callback(this, 0x1E, 0x39);
     break;
   case 0x0A26
   case 0x0A27
   case 0x0A29
   case 0x1853
   case 0x1857
   case 0x1849
   case 0x184D
     setObjVar(this, "burning", 0x00);
     break;
   case 0x0B1A
   case 0x0B1D
   case 0x0B26
   case 0x1854
   case 0x1858
   case 0x184A
   case 0x184E
     setObjVar(this, "burning", 0x01);
     break;
   }
   return (0x01);
 }