Advertisement
Guest User

Untitled

a guest
Jan 12th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 475.85 KB | None | 0 0
  1. #include "openmwbindings.hpp"
  2.  
  3. namespace MWScriptExtensions
  4. {
  5.     extern MWScript::InterpreterContext& context;
  6.     extern Interpreter::Interpreter interpreter;//define these in the startexternalscript opcode and install opcodes
  7.  
  8.     void activate()
  9.     {
  10.         Interpreter::Type_Code codeword = 3388997749;//codeword without arguments
  11.         Literals& literals;
  12.         std::vector<Interpreter::Type_Code> code;
  13.         uint argCount = 0;
  14.         uint optionalArgCount = 0;
  15.         uint argumentsPassed = 0;
  16.         uint optionalArgumentsPassed = 0;
  17.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  18.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  19.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  20.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  21.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  22.         return;
  23.     }
  24.     void additem(std::string arg0, Interpreter::Type_Integer arg1)
  25.     {
  26.         Interpreter::Type_Code codeword = 3388997750;//codeword without arguments
  27.         Literals& literals;
  28.         std::vector<Interpreter::Type_Code> code;
  29.         uint argCount = 2;
  30.         uint optionalArgCount = 0;
  31.         uint argumentsPassed = 0;
  32.         uint optionalArgumentsPassed = 0;
  33.         if (arg1!=-123456)
  34.         {
  35.             Compiler::Generator.pushInt(code, literals, arg1);
  36.             argumentsPassed++;
  37.         }
  38.         if (arg0!="OPTIONAL_FLAG")
  39.         {
  40.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  41.             argumentsPassed++;
  42.         }
  43.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  44.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  45.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  46.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  47.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  48.         return;
  49.     }
  50.     void addsoulgem(std::string arg0, std::string arg1)
  51.     {
  52.         Interpreter::Type_Code codeword = 3388998131;//codeword without arguments
  53.         Literals& literals;
  54.         std::vector<Interpreter::Type_Code> code;
  55.         uint argCount = 2;
  56.         uint optionalArgCount = 0;
  57.         uint argumentsPassed = 0;
  58.         uint optionalArgumentsPassed = 0;
  59.         if (arg1!="OPTIONAL_FLAG")
  60.         {
  61.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  62.             argumentsPassed++;
  63.         }
  64.         if (arg0!="OPTIONAL_FLAG")
  65.         {
  66.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  67.             argumentsPassed++;
  68.         }
  69.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  70.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  71.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  72.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  73.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  74.         return;
  75.     }
  76.     void addspell(std::string arg0)
  77.     {
  78.         Interpreter::Type_Code codeword = 3388997959;//codeword without arguments
  79.         Literals& literals;
  80.         std::vector<Interpreter::Type_Code> code;
  81.         uint argCount = 1;
  82.         uint optionalArgCount = 0;
  83.         uint argumentsPassed = 0;
  84.         uint optionalArgumentsPassed = 0;
  85.         if (arg0!="OPTIONAL_FLAG")
  86.         {
  87.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  88.             argumentsPassed++;
  89.         }
  90.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  91.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  92.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  93.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  94.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  95.         return;
  96.     }
  97.     void addtolevcreature(std::string arg0, std::string arg1, Interpreter::Type_Integer arg2)
  98.     {
  99.         Interpreter::Type_Code codeword = 3388998395;//codeword without arguments
  100.         Literals& literals;
  101.         std::vector<Interpreter::Type_Code> code;
  102.         uint argCount = 3;
  103.         uint optionalArgCount = 0;
  104.         uint argumentsPassed = 0;
  105.         uint optionalArgumentsPassed = 0;
  106.         if (arg2!=-123456)
  107.         {
  108.             Compiler::Generator.pushInt(code, literals, arg2);
  109.             argumentsPassed++;
  110.         }
  111.         if (arg1!="OPTIONAL_FLAG")
  112.         {
  113.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  114.             argumentsPassed++;
  115.         }
  116.         if (arg0!="OPTIONAL_FLAG")
  117.         {
  118.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  119.             argumentsPassed++;
  120.         }
  121.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  122.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  123.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  124.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  125.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  126.         return;
  127.     }
  128.     void addtolevitem(std::string arg0, std::string arg1, Interpreter::Type_Integer arg2)
  129.     {
  130.         Interpreter::Type_Code codeword = 3388998397;//codeword without arguments
  131.         Literals& literals;
  132.         std::vector<Interpreter::Type_Code> code;
  133.         uint argCount = 3;
  134.         uint optionalArgCount = 0;
  135.         uint argumentsPassed = 0;
  136.         uint optionalArgumentsPassed = 0;
  137.         if (arg2!=-123456)
  138.         {
  139.             Compiler::Generator.pushInt(code, literals, arg2);
  140.             argumentsPassed++;
  141.         }
  142.         if (arg1!="OPTIONAL_FLAG")
  143.         {
  144.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  145.             argumentsPassed++;
  146.         }
  147.         if (arg0!="OPTIONAL_FLAG")
  148.         {
  149.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  150.             argumentsPassed++;
  151.         }
  152.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  153.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  154.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  155.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  156.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  157.         return;
  158.     }
  159.     void addtopic(std::string arg0)
  160.     {
  161.         Interpreter::Type_Code codeword = 3388997946;//codeword without arguments
  162.         Literals& literals;
  163.         std::vector<Interpreter::Type_Code> code;
  164.         uint argCount = 1;
  165.         uint optionalArgCount = 0;
  166.         uint argumentsPassed = 0;
  167.         uint optionalArgumentsPassed = 0;
  168.         if (arg0!="OPTIONAL_FLAG")
  169.         {
  170.             Compiler::Generator.pushString(code, literals, arg0);
  171.             argumentsPassed++;
  172.         }
  173.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  174.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  175.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  176.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  177.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  178.         return;
  179.     }
  180.     void aiactivate(std::string arg0, Interpreter::Type_Integer arg1)
  181.     {
  182.         Interpreter::Type_Code codeword = 3254787584;//codeword without arguments
  183.         Literals& literals;
  184.         std::vector<Interpreter::Type_Code> code;
  185.         uint argCount = 2;
  186.         uint optionalArgCount = 1;
  187.         uint argumentsPassed = 0;
  188.         uint optionalArgumentsPassed = 0;
  189.         if (arg1!=-123456)
  190.         {
  191.             Compiler::Generator.pushInt(code, literals, arg1);
  192.             argumentsPassed++;
  193.         }
  194.         if (arg0!="OPTIONAL_FLAG")
  195.         {
  196.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  197.             argumentsPassed++;
  198.         }
  199.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  200.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  201.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  202.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  203.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  204.         return;
  205.     }
  206.     void aiescort(std::string arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2, Interpreter::Type_Float arg3, Interpreter::Type_Float arg4, Interpreter::Type_Integer arg5)
  207.     {
  208.         Interpreter::Type_Code codeword = 3254780416;//codeword without arguments
  209.         Literals& literals;
  210.         std::vector<Interpreter::Type_Code> code;
  211.         uint argCount = 6;
  212.         uint optionalArgCount = 1;
  213.         uint argumentsPassed = 0;
  214.         uint optionalArgumentsPassed = 0;
  215.         if (arg5!=-123456)
  216.         {
  217.             Compiler::Generator.pushInt(code, literals, arg5);
  218.             argumentsPassed++;
  219.         }
  220.         if (arg4!=-123456)
  221.         {
  222.             Compiler::Generator.pushFloat(code, literals, arg4);
  223.             argumentsPassed++;
  224.         }
  225.         if (arg3!=-123456)
  226.         {
  227.             Compiler::Generator.pushFloat(code, literals, arg3);
  228.             argumentsPassed++;
  229.         }
  230.         if (arg2!=-123456)
  231.         {
  232.             Compiler::Generator.pushFloat(code, literals, arg2);
  233.             argumentsPassed++;
  234.         }
  235.         if (arg1!=-123456)
  236.         {
  237.             Compiler::Generator.pushFloat(code, literals, arg1);
  238.             argumentsPassed++;
  239.         }
  240.         if (arg0!="OPTIONAL_FLAG")
  241.         {
  242.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  243.             argumentsPassed++;
  244.         }
  245.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  246.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  247.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  248.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  249.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  250.         return;
  251.     }
  252.     void aiescortcell(std::string arg0, std::string arg1, Interpreter::Type_Float arg2, Interpreter::Type_Float arg3, Interpreter::Type_Float arg4, Interpreter::Type_Float arg5, Interpreter::Type_Integer arg6)
  253.     {
  254.         Interpreter::Type_Code codeword = 3254788096;//codeword without arguments
  255.         Literals& literals;
  256.         std::vector<Interpreter::Type_Code> code;
  257.         uint argCount = 7;
  258.         uint optionalArgCount = 1;
  259.         uint argumentsPassed = 0;
  260.         uint optionalArgumentsPassed = 0;
  261.         if (arg6!=-123456)
  262.         {
  263.             Compiler::Generator.pushInt(code, literals, arg6);
  264.             argumentsPassed++;
  265.         }
  266.         if (arg5!=-123456)
  267.         {
  268.             Compiler::Generator.pushFloat(code, literals, arg5);
  269.             argumentsPassed++;
  270.         }
  271.         if (arg4!=-123456)
  272.         {
  273.             Compiler::Generator.pushFloat(code, literals, arg4);
  274.             argumentsPassed++;
  275.         }
  276.         if (arg3!=-123456)
  277.         {
  278.             Compiler::Generator.pushFloat(code, literals, arg3);
  279.             argumentsPassed++;
  280.         }
  281.         if (arg2!=-123456)
  282.         {
  283.             Compiler::Generator.pushFloat(code, literals, arg2);
  284.             argumentsPassed++;
  285.         }
  286.         if (arg1!="OPTIONAL_FLAG")
  287.         {
  288.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  289.             argumentsPassed++;
  290.         }
  291.         if (arg0!="OPTIONAL_FLAG")
  292.         {
  293.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  294.             argumentsPassed++;
  295.         }
  296.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  297.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  298.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  299.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  300.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  301.         return;
  302.     }
  303.     void aifollow(std::string arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2, Interpreter::Type_Float arg3, Interpreter::Type_Float arg4, Interpreter::Type_Integer arg5, Interpreter::Type_Integer arg6, Interpreter::Type_Integer arg7, Interpreter::Type_Integer arg8, Interpreter::Type_Integer arg9, Interpreter::Type_Integer arg10, Interpreter::Type_Integer arg11, Interpreter::Type_Integer arg12)
  304.     {
  305.         Interpreter::Type_Code codeword = 3254788608;//codeword without arguments
  306.         Literals& literals;
  307.         std::vector<Interpreter::Type_Code> code;
  308.         uint argCount = 13;
  309.         uint optionalArgCount = 8;
  310.         uint argumentsPassed = 0;
  311.         uint optionalArgumentsPassed = 0;
  312.         if (arg12!=-123456)
  313.         {
  314.             Compiler::Generator.pushInt(code, literals, arg12);
  315.             argumentsPassed++;
  316.         }
  317.         if (arg11!=-123456)
  318.         {
  319.             Compiler::Generator.pushInt(code, literals, arg11);
  320.             argumentsPassed++;
  321.         }
  322.         if (arg10!=-123456)
  323.         {
  324.             Compiler::Generator.pushInt(code, literals, arg10);
  325.             argumentsPassed++;
  326.         }
  327.         if (arg9!=-123456)
  328.         {
  329.             Compiler::Generator.pushInt(code, literals, arg9);
  330.             argumentsPassed++;
  331.         }
  332.         if (arg8!=-123456)
  333.         {
  334.             Compiler::Generator.pushInt(code, literals, arg8);
  335.             argumentsPassed++;
  336.         }
  337.         if (arg7!=-123456)
  338.         {
  339.             Compiler::Generator.pushInt(code, literals, arg7);
  340.             argumentsPassed++;
  341.         }
  342.         if (arg6!=-123456)
  343.         {
  344.             Compiler::Generator.pushInt(code, literals, arg6);
  345.             argumentsPassed++;
  346.         }
  347.         if (arg5!=-123456)
  348.         {
  349.             Compiler::Generator.pushInt(code, literals, arg5);
  350.             argumentsPassed++;
  351.         }
  352.         if (arg4!=-123456)
  353.         {
  354.             Compiler::Generator.pushFloat(code, literals, arg4);
  355.             argumentsPassed++;
  356.         }
  357.         if (arg3!=-123456)
  358.         {
  359.             Compiler::Generator.pushFloat(code, literals, arg3);
  360.             argumentsPassed++;
  361.         }
  362.         if (arg2!=-123456)
  363.         {
  364.             Compiler::Generator.pushFloat(code, literals, arg2);
  365.             argumentsPassed++;
  366.         }
  367.         if (arg1!=-123456)
  368.         {
  369.             Compiler::Generator.pushFloat(code, literals, arg1);
  370.             argumentsPassed++;
  371.         }
  372.         if (arg0!="OPTIONAL_FLAG")
  373.         {
  374.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  375.             argumentsPassed++;
  376.         }
  377.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  378.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  379.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  380.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  381.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  382.         return;
  383.     }
  384.     void aifollowcell(std::string arg0, std::string arg1, Interpreter::Type_Float arg2, Interpreter::Type_Float arg3, Interpreter::Type_Float arg4, Interpreter::Type_Float arg5, Interpreter::Type_Integer arg6)
  385.     {
  386.         Interpreter::Type_Code codeword = 3254789120;//codeword without arguments
  387.         Literals& literals;
  388.         std::vector<Interpreter::Type_Code> code;
  389.         uint argCount = 7;
  390.         uint optionalArgCount = 1;
  391.         uint argumentsPassed = 0;
  392.         uint optionalArgumentsPassed = 0;
  393.         if (arg6!=-123456)
  394.         {
  395.             Compiler::Generator.pushInt(code, literals, arg6);
  396.             argumentsPassed++;
  397.         }
  398.         if (arg5!=-123456)
  399.         {
  400.             Compiler::Generator.pushFloat(code, literals, arg5);
  401.             argumentsPassed++;
  402.         }
  403.         if (arg4!=-123456)
  404.         {
  405.             Compiler::Generator.pushFloat(code, literals, arg4);
  406.             argumentsPassed++;
  407.         }
  408.         if (arg3!=-123456)
  409.         {
  410.             Compiler::Generator.pushFloat(code, literals, arg3);
  411.             argumentsPassed++;
  412.         }
  413.         if (arg2!=-123456)
  414.         {
  415.             Compiler::Generator.pushFloat(code, literals, arg2);
  416.             argumentsPassed++;
  417.         }
  418.         if (arg1!="OPTIONAL_FLAG")
  419.         {
  420.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  421.             argumentsPassed++;
  422.         }
  423.         if (arg0!="OPTIONAL_FLAG")
  424.         {
  425.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  426.             argumentsPassed++;
  427.         }
  428.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  429.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  430.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  431.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  432.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  433.         return;
  434.     }
  435.     void aitravel(Interpreter::Type_Float arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2, Interpreter::Type_Integer arg3)
  436.     {
  437.         Interpreter::Type_Code codeword = 3254779904;//codeword without arguments
  438.         Literals& literals;
  439.         std::vector<Interpreter::Type_Code> code;
  440.         uint argCount = 4;
  441.         uint optionalArgCount = 1;
  442.         uint argumentsPassed = 0;
  443.         uint optionalArgumentsPassed = 0;
  444.         if (arg3!=-123456)
  445.         {
  446.             Compiler::Generator.pushInt(code, literals, arg3);
  447.             argumentsPassed++;
  448.         }
  449.         if (arg2!=-123456)
  450.         {
  451.             Compiler::Generator.pushFloat(code, literals, arg2);
  452.             argumentsPassed++;
  453.         }
  454.         if (arg1!=-123456)
  455.         {
  456.             Compiler::Generator.pushFloat(code, literals, arg1);
  457.             argumentsPassed++;
  458.         }
  459.         if (arg0!=-123456)
  460.         {
  461.             Compiler::Generator.pushFloat(code, literals, arg0);
  462.             argumentsPassed++;
  463.         }
  464.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  465.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  466.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  467.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  468.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  469.         return;
  470.     }
  471.     void aiwander(Interpreter::Type_Float arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2, Interpreter::Type_Integer arg3, Interpreter::Type_Integer arg4, Interpreter::Type_Integer arg5, Interpreter::Type_Integer arg6, Interpreter::Type_Integer arg7, Interpreter::Type_Integer arg8, Interpreter::Type_Integer arg9, Interpreter::Type_Integer arg10, Interpreter::Type_Integer arg11, Interpreter::Type_Integer arg12)
  472.     {
  473.         Interpreter::Type_Code codeword = 3254784000;//codeword without arguments
  474.         Literals& literals;
  475.         std::vector<Interpreter::Type_Code> code;
  476.         uint argCount = 13;
  477.         uint optionalArgCount = 10;
  478.         uint argumentsPassed = 0;
  479.         uint optionalArgumentsPassed = 0;
  480.         if (arg12!=-123456)
  481.         {
  482.             Compiler::Generator.pushInt(code, literals, arg12);
  483.             argumentsPassed++;
  484.         }
  485.         if (arg11!=-123456)
  486.         {
  487.             Compiler::Generator.pushInt(code, literals, arg11);
  488.             argumentsPassed++;
  489.         }
  490.         if (arg10!=-123456)
  491.         {
  492.             Compiler::Generator.pushInt(code, literals, arg10);
  493.             argumentsPassed++;
  494.         }
  495.         if (arg9!=-123456)
  496.         {
  497.             Compiler::Generator.pushInt(code, literals, arg9);
  498.             argumentsPassed++;
  499.         }
  500.         if (arg8!=-123456)
  501.         {
  502.             Compiler::Generator.pushInt(code, literals, arg8);
  503.             argumentsPassed++;
  504.         }
  505.         if (arg7!=-123456)
  506.         {
  507.             Compiler::Generator.pushInt(code, literals, arg7);
  508.             argumentsPassed++;
  509.         }
  510.         if (arg6!=-123456)
  511.         {
  512.             Compiler::Generator.pushInt(code, literals, arg6);
  513.             argumentsPassed++;
  514.         }
  515.         if (arg5!=-123456)
  516.         {
  517.             Compiler::Generator.pushInt(code, literals, arg5);
  518.             argumentsPassed++;
  519.         }
  520.         if (arg4!=-123456)
  521.         {
  522.             Compiler::Generator.pushInt(code, literals, arg4);
  523.             argumentsPassed++;
  524.         }
  525.         if (arg3!=-123456)
  526.         {
  527.             Compiler::Generator.pushInt(code, literals, arg3);
  528.             argumentsPassed++;
  529.         }
  530.         if (arg2!=-123456)
  531.         {
  532.             Compiler::Generator.pushFloat(code, literals, arg2);
  533.             argumentsPassed++;
  534.         }
  535.         if (arg1!=-123456)
  536.         {
  537.             Compiler::Generator.pushFloat(code, literals, arg1);
  538.             argumentsPassed++;
  539.         }
  540.         if (arg0!=-123456)
  541.         {
  542.             Compiler::Generator.pushFloat(code, literals, arg0);
  543.             argumentsPassed++;
  544.         }
  545.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  546.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  547.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  548.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  549.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  550.         return;
  551.     }
  552.     void bc(std::string arg0)
  553.     {
  554.         Interpreter::Type_Code codeword = 3388998215;//codeword without arguments
  555.         Literals& literals;
  556.         std::vector<Interpreter::Type_Code> code;
  557.         uint argCount = 1;
  558.         uint optionalArgCount = 0;
  559.         uint argumentsPassed = 0;
  560.         uint optionalArgumentsPassed = 0;
  561.         if (arg0!="OPTIONAL_FLAG")
  562.         {
  563.             Compiler::Generator.pushString(code, literals, arg0);
  564.             argumentsPassed++;
  565.         }
  566.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  567.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  568.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  569.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  570.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  571.         return;
  572.     }
  573.     void becomewerewolf()
  574.     {
  575.         Interpreter::Type_Code codeword = 3388998167;//codeword without arguments
  576.         Literals& literals;
  577.         std::vector<Interpreter::Type_Code> code;
  578.         uint argCount = 0;
  579.         uint optionalArgCount = 0;
  580.         uint argumentsPassed = 0;
  581.         uint optionalArgumentsPassed = 0;
  582.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  583.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  584.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  585.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  586.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  587.         return;
  588.     }
  589.     void betacomment(std::string arg0)
  590.     {
  591.         Interpreter::Type_Code codeword = 3388998215;//codeword without arguments
  592.         Literals& literals;
  593.         std::vector<Interpreter::Type_Code> code;
  594.         uint argCount = 1;
  595.         uint optionalArgCount = 0;
  596.         uint argumentsPassed = 0;
  597.         uint optionalArgumentsPassed = 0;
  598.         if (arg0!="OPTIONAL_FLAG")
  599.         {
  600.             Compiler::Generator.pushString(code, literals, arg0);
  601.             argumentsPassed++;
  602.         }
  603.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  604.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  605.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  606.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  607.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  608.         return;
  609.     }
  610.     void cast(std::string arg0, std::string arg1)
  611.     {
  612.         Interpreter::Type_Code codeword = 3388998183;//codeword without arguments
  613.         Literals& literals;
  614.         std::vector<Interpreter::Type_Code> code;
  615.         uint argCount = 2;
  616.         uint optionalArgCount = 0;
  617.         uint argumentsPassed = 0;
  618.         uint optionalArgumentsPassed = 0;
  619.         if (arg1!="OPTIONAL_FLAG")
  620.         {
  621.             Compiler::Generator.pushString(code, literals, arg1);
  622.             argumentsPassed++;
  623.         }
  624.         if (arg0!="OPTIONAL_FLAG")
  625.         {
  626.             Compiler::Generator.pushString(code, literals, arg0);
  627.             argumentsPassed++;
  628.         }
  629.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  630.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  631.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  632.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  633.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  634.         return;
  635.     }
  636.     Interpreter::Type_Integer cellchanged()
  637.     {
  638.         Interpreter::Type_Code codeword = 3388997632;//codeword without arguments
  639.         Literals& literals;
  640.         std::vector<Interpreter::Type_Code> code;
  641.         uint argCount = 0;
  642.         uint optionalArgCount = 0;
  643.         uint argumentsPassed = 0;
  644.         uint optionalArgumentsPassed = 0;
  645.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  646.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  647.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  648.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  649.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  650.         return runtime[0].mInteger;
  651.     }
  652.     void centeroncell(std::string arg0)
  653.     {
  654.         Interpreter::Type_Code codeword = 3388997670;//codeword without arguments
  655.         Literals& literals;
  656.         std::vector<Interpreter::Type_Code> code;
  657.         uint argCount = 1;
  658.         uint optionalArgCount = 0;
  659.         uint argumentsPassed = 0;
  660.         uint optionalArgumentsPassed = 0;
  661.         if (arg0!="OPTIONAL_FLAG")
  662.         {
  663.             Compiler::Generator.pushString(code, literals, arg0);
  664.             argumentsPassed++;
  665.         }
  666.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  667.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  668.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  669.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  670.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  671.         return;
  672.     }
  673.     void centeronexterior(Interpreter::Type_Integer arg0, Interpreter::Type_Integer arg1)
  674.     {
  675.         Interpreter::Type_Code codeword = 3388998182;//codeword without arguments
  676.         Literals& literals;
  677.         std::vector<Interpreter::Type_Code> code;
  678.         uint argCount = 2;
  679.         uint optionalArgCount = 0;
  680.         uint argumentsPassed = 0;
  681.         uint optionalArgumentsPassed = 0;
  682.         if (arg1!=-123456)
  683.         {
  684.             Compiler::Generator.pushInt(code, literals, arg1);
  685.             argumentsPassed++;
  686.         }
  687.         if (arg0!=-123456)
  688.         {
  689.             Compiler::Generator.pushInt(code, literals, arg0);
  690.             argumentsPassed++;
  691.         }
  692.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  693.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  694.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  695.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  696.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  697.         return;
  698.     }
  699.     void changeweather(std::string arg0, Interpreter::Type_Integer arg1)
  700.     {
  701.         Interpreter::Type_Code codeword = 3388997952;//codeword without arguments
  702.         Literals& literals;
  703.         std::vector<Interpreter::Type_Code> code;
  704.         uint argCount = 2;
  705.         uint optionalArgCount = 0;
  706.         uint argumentsPassed = 0;
  707.         uint optionalArgumentsPassed = 0;
  708.         if (arg1!=-123456)
  709.         {
  710.             Compiler::Generator.pushInt(code, literals, arg1);
  711.             argumentsPassed++;
  712.         }
  713.         if (arg0!="OPTIONAL_FLAG")
  714.         {
  715.             Compiler::Generator.pushString(code, literals, arg0);
  716.             argumentsPassed++;
  717.         }
  718.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  719.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  720.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  721.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  722.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  723.         return;
  724.     }
  725.     void choice(std::string arg0, Interpreter::Type_Integer arg1, std::string arg2, Interpreter::Type_Integer arg3, std::string arg4, Interpreter::Type_Integer arg5, std::string arg6, Interpreter::Type_Integer arg7, std::string arg8, Interpreter::Type_Integer arg9, std::string arg10, Interpreter::Type_Integer arg11, std::string arg12, Interpreter::Type_Integer arg13, std::string arg14, Interpreter::Type_Integer arg15, std::string arg16, Interpreter::Type_Integer arg17, std::string arg18, Interpreter::Type_Integer arg19, std::string arg20, Interpreter::Type_Integer arg21, std::string arg22, Interpreter::Type_Integer arg23, std::string arg24, Interpreter::Type_Integer arg25, std::string arg26, Interpreter::Type_Integer arg27, std::string arg28, Interpreter::Type_Integer arg29, std::string arg30, Interpreter::Type_Integer arg31)
  726.     {
  727.         Interpreter::Type_Code codeword = 3254782464;//codeword without arguments
  728.         Literals& literals;
  729.         std::vector<Interpreter::Type_Code> code;
  730.         uint argCount = 32;
  731.         uint optionalArgCount = 32;
  732.         uint argumentsPassed = 0;
  733.         uint optionalArgumentsPassed = 0;
  734.         if (arg31!=-123456)
  735.         {
  736.             Compiler::Generator.pushInt(code, literals, arg31);
  737.             argumentsPassed++;
  738.         }
  739.         if (arg30!="OPTIONAL_FLAG")
  740.         {
  741.             Compiler::Generator.pushString(code, literals, arg30);
  742.             argumentsPassed++;
  743.         }
  744.         if (arg29!=-123456)
  745.         {
  746.             Compiler::Generator.pushInt(code, literals, arg29);
  747.             argumentsPassed++;
  748.         }
  749.         if (arg28!="OPTIONAL_FLAG")
  750.         {
  751.             Compiler::Generator.pushString(code, literals, arg28);
  752.             argumentsPassed++;
  753.         }
  754.         if (arg27!=-123456)
  755.         {
  756.             Compiler::Generator.pushInt(code, literals, arg27);
  757.             argumentsPassed++;
  758.         }
  759.         if (arg26!="OPTIONAL_FLAG")
  760.         {
  761.             Compiler::Generator.pushString(code, literals, arg26);
  762.             argumentsPassed++;
  763.         }
  764.         if (arg25!=-123456)
  765.         {
  766.             Compiler::Generator.pushInt(code, literals, arg25);
  767.             argumentsPassed++;
  768.         }
  769.         if (arg24!="OPTIONAL_FLAG")
  770.         {
  771.             Compiler::Generator.pushString(code, literals, arg24);
  772.             argumentsPassed++;
  773.         }
  774.         if (arg23!=-123456)
  775.         {
  776.             Compiler::Generator.pushInt(code, literals, arg23);
  777.             argumentsPassed++;
  778.         }
  779.         if (arg22!="OPTIONAL_FLAG")
  780.         {
  781.             Compiler::Generator.pushString(code, literals, arg22);
  782.             argumentsPassed++;
  783.         }
  784.         if (arg21!=-123456)
  785.         {
  786.             Compiler::Generator.pushInt(code, literals, arg21);
  787.             argumentsPassed++;
  788.         }
  789.         if (arg20!="OPTIONAL_FLAG")
  790.         {
  791.             Compiler::Generator.pushString(code, literals, arg20);
  792.             argumentsPassed++;
  793.         }
  794.         if (arg19!=-123456)
  795.         {
  796.             Compiler::Generator.pushInt(code, literals, arg19);
  797.             argumentsPassed++;
  798.         }
  799.         if (arg18!="OPTIONAL_FLAG")
  800.         {
  801.             Compiler::Generator.pushString(code, literals, arg18);
  802.             argumentsPassed++;
  803.         }
  804.         if (arg17!=-123456)
  805.         {
  806.             Compiler::Generator.pushInt(code, literals, arg17);
  807.             argumentsPassed++;
  808.         }
  809.         if (arg16!="OPTIONAL_FLAG")
  810.         {
  811.             Compiler::Generator.pushString(code, literals, arg16);
  812.             argumentsPassed++;
  813.         }
  814.         if (arg15!=-123456)
  815.         {
  816.             Compiler::Generator.pushInt(code, literals, arg15);
  817.             argumentsPassed++;
  818.         }
  819.         if (arg14!="OPTIONAL_FLAG")
  820.         {
  821.             Compiler::Generator.pushString(code, literals, arg14);
  822.             argumentsPassed++;
  823.         }
  824.         if (arg13!=-123456)
  825.         {
  826.             Compiler::Generator.pushInt(code, literals, arg13);
  827.             argumentsPassed++;
  828.         }
  829.         if (arg12!="OPTIONAL_FLAG")
  830.         {
  831.             Compiler::Generator.pushString(code, literals, arg12);
  832.             argumentsPassed++;
  833.         }
  834.         if (arg11!=-123456)
  835.         {
  836.             Compiler::Generator.pushInt(code, literals, arg11);
  837.             argumentsPassed++;
  838.         }
  839.         if (arg10!="OPTIONAL_FLAG")
  840.         {
  841.             Compiler::Generator.pushString(code, literals, arg10);
  842.             argumentsPassed++;
  843.         }
  844.         if (arg9!=-123456)
  845.         {
  846.             Compiler::Generator.pushInt(code, literals, arg9);
  847.             argumentsPassed++;
  848.         }
  849.         if (arg8!="OPTIONAL_FLAG")
  850.         {
  851.             Compiler::Generator.pushString(code, literals, arg8);
  852.             argumentsPassed++;
  853.         }
  854.         if (arg7!=-123456)
  855.         {
  856.             Compiler::Generator.pushInt(code, literals, arg7);
  857.             argumentsPassed++;
  858.         }
  859.         if (arg6!="OPTIONAL_FLAG")
  860.         {
  861.             Compiler::Generator.pushString(code, literals, arg6);
  862.             argumentsPassed++;
  863.         }
  864.         if (arg5!=-123456)
  865.         {
  866.             Compiler::Generator.pushInt(code, literals, arg5);
  867.             argumentsPassed++;
  868.         }
  869.         if (arg4!="OPTIONAL_FLAG")
  870.         {
  871.             Compiler::Generator.pushString(code, literals, arg4);
  872.             argumentsPassed++;
  873.         }
  874.         if (arg3!=-123456)
  875.         {
  876.             Compiler::Generator.pushInt(code, literals, arg3);
  877.             argumentsPassed++;
  878.         }
  879.         if (arg2!="OPTIONAL_FLAG")
  880.         {
  881.             Compiler::Generator.pushString(code, literals, arg2);
  882.             argumentsPassed++;
  883.         }
  884.         if (arg1!=-123456)
  885.         {
  886.             Compiler::Generator.pushInt(code, literals, arg1);
  887.             argumentsPassed++;
  888.         }
  889.         if (arg0!="OPTIONAL_FLAG")
  890.         {
  891.             Compiler::Generator.pushString(code, literals, arg0);
  892.             argumentsPassed++;
  893.         }
  894.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  895.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  896.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  897.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  898.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  899.         return;
  900.     }
  901.     void clearforcejump()
  902.     {
  903.         Interpreter::Type_Code codeword = 3388998232;//codeword without arguments
  904.         Literals& literals;
  905.         std::vector<Interpreter::Type_Code> code;
  906.         uint argCount = 0;
  907.         uint optionalArgCount = 0;
  908.         uint argumentsPassed = 0;
  909.         uint optionalArgumentsPassed = 0;
  910.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  911.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  912.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  913.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  914.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  915.         return;
  916.     }
  917.     void clearforcemovejump()
  918.     {
  919.         Interpreter::Type_Code codeword = 3388998236;//codeword without arguments
  920.         Literals& literals;
  921.         std::vector<Interpreter::Type_Code> code;
  922.         uint argCount = 0;
  923.         uint optionalArgCount = 0;
  924.         uint argumentsPassed = 0;
  925.         uint optionalArgumentsPassed = 0;
  926.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  927.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  928.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  929.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  930.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  931.         return;
  932.     }
  933.     void clearforcerun()
  934.     {
  935.         Interpreter::Type_Code codeword = 3388997972;//codeword without arguments
  936.         Literals& literals;
  937.         std::vector<Interpreter::Type_Code> code;
  938.         uint argCount = 0;
  939.         uint optionalArgCount = 0;
  940.         uint argumentsPassed = 0;
  941.         uint optionalArgumentsPassed = 0;
  942.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  943.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  944.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  945.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  946.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  947.         return;
  948.     }
  949.     void clearforcesneak()
  950.     {
  951.         Interpreter::Type_Code codeword = 3388997976;//codeword without arguments
  952.         Literals& literals;
  953.         std::vector<Interpreter::Type_Code> code;
  954.         uint argCount = 0;
  955.         uint optionalArgCount = 0;
  956.         uint argumentsPassed = 0;
  957.         uint optionalArgumentsPassed = 0;
  958.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  959.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  960.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  961.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  962.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  963.         return;
  964.     }
  965.     void clearinfoactor()
  966.     {
  967.         Interpreter::Type_Code codeword = 3388998213;//codeword without arguments
  968.         Literals& literals;
  969.         std::vector<Interpreter::Type_Code> code;
  970.         uint argCount = 0;
  971.         uint optionalArgCount = 0;
  972.         uint argumentsPassed = 0;
  973.         uint optionalArgumentsPassed = 0;
  974.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  975.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  976.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  977.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  978.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  979.         return;
  980.     }
  981.     void coc(std::string arg0)
  982.     {
  983.         Interpreter::Type_Code codeword = 3388997670;//codeword without arguments
  984.         Literals& literals;
  985.         std::vector<Interpreter::Type_Code> code;
  986.         uint argCount = 1;
  987.         uint optionalArgCount = 0;
  988.         uint argumentsPassed = 0;
  989.         uint optionalArgumentsPassed = 0;
  990.         if (arg0!="OPTIONAL_FLAG")
  991.         {
  992.             Compiler::Generator.pushString(code, literals, arg0);
  993.             argumentsPassed++;
  994.         }
  995.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  996.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  997.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  998.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  999.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1000.         return;
  1001.     }
  1002.     void coe(Interpreter::Type_Integer arg0, Interpreter::Type_Integer arg1)
  1003.     {
  1004.         Interpreter::Type_Code codeword = 3388998182;//codeword without arguments
  1005.         Literals& literals;
  1006.         std::vector<Interpreter::Type_Code> code;
  1007.         uint argCount = 2;
  1008.         uint optionalArgCount = 0;
  1009.         uint argumentsPassed = 0;
  1010.         uint optionalArgumentsPassed = 0;
  1011.         if (arg1!=-123456)
  1012.         {
  1013.             Compiler::Generator.pushInt(code, literals, arg1);
  1014.             argumentsPassed++;
  1015.         }
  1016.         if (arg0!=-123456)
  1017.         {
  1018.             Compiler::Generator.pushInt(code, literals, arg0);
  1019.             argumentsPassed++;
  1020.         }
  1021.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1022.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1023.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1024.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1025.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1026.         return;
  1027.     }
  1028.     void disablelevitation()
  1029.     {
  1030.         Interpreter::Type_Code codeword = 3388998176;//codeword without arguments
  1031.         Literals& literals;
  1032.         std::vector<Interpreter::Type_Code> code;
  1033.         uint argCount = 0;
  1034.         uint optionalArgCount = 0;
  1035.         uint argumentsPassed = 0;
  1036.         uint optionalArgumentsPassed = 0;
  1037.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1038.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1039.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1040.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1041.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1042.         return;
  1043.     }
  1044.     void disableplayercontrols()
  1045.     {
  1046.         Interpreter::Type_Code codeword = 3388997765;//codeword without arguments
  1047.         Literals& literals;
  1048.         std::vector<Interpreter::Type_Code> code;
  1049.         uint argCount = 0;
  1050.         uint optionalArgCount = 0;
  1051.         uint argumentsPassed = 0;
  1052.         uint optionalArgumentsPassed = 0;
  1053.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1054.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1055.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1056.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1057.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1058.         return;
  1059.     }
  1060.     void disableplayerfighting()
  1061.     {
  1062.         Interpreter::Type_Code codeword = 3388997766;//codeword without arguments
  1063.         Literals& literals;
  1064.         std::vector<Interpreter::Type_Code> code;
  1065.         uint argCount = 0;
  1066.         uint optionalArgCount = 0;
  1067.         uint argumentsPassed = 0;
  1068.         uint optionalArgumentsPassed = 0;
  1069.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1070.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1071.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1072.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1073.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1074.         return;
  1075.     }
  1076.     void disableplayerjumping()
  1077.     {
  1078.         Interpreter::Type_Code codeword = 3388997767;//codeword without arguments
  1079.         Literals& literals;
  1080.         std::vector<Interpreter::Type_Code> code;
  1081.         uint argCount = 0;
  1082.         uint optionalArgCount = 0;
  1083.         uint argumentsPassed = 0;
  1084.         uint optionalArgumentsPassed = 0;
  1085.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1086.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1087.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1088.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1089.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1090.         return;
  1091.     }
  1092.     void disableplayerlooking()
  1093.     {
  1094.         Interpreter::Type_Code codeword = 3388997768;//codeword without arguments
  1095.         Literals& literals;
  1096.         std::vector<Interpreter::Type_Code> code;
  1097.         uint argCount = 0;
  1098.         uint optionalArgCount = 0;
  1099.         uint argumentsPassed = 0;
  1100.         uint optionalArgumentsPassed = 0;
  1101.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1102.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1103.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1104.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1105.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1106.         return;
  1107.     }
  1108.     void disableplayermagic()
  1109.     {
  1110.         Interpreter::Type_Code codeword = 3388997769;//codeword without arguments
  1111.         Literals& literals;
  1112.         std::vector<Interpreter::Type_Code> code;
  1113.         uint argCount = 0;
  1114.         uint optionalArgCount = 0;
  1115.         uint argumentsPassed = 0;
  1116.         uint optionalArgumentsPassed = 0;
  1117.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1118.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1119.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1120.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1121.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1122.         return;
  1123.     }
  1124.     void disableplayerviewswitch()
  1125.     {
  1126.         Interpreter::Type_Code codeword = 3388997770;//codeword without arguments
  1127.         Literals& literals;
  1128.         std::vector<Interpreter::Type_Code> code;
  1129.         uint argCount = 0;
  1130.         uint optionalArgCount = 0;
  1131.         uint argumentsPassed = 0;
  1132.         uint optionalArgumentsPassed = 0;
  1133.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1134.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1135.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1136.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1137.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1138.         return;
  1139.     }
  1140.     void disableteleporting()
  1141.     {
  1142.         Interpreter::Type_Code codeword = 3388998165;//codeword without arguments
  1143.         Literals& literals;
  1144.         std::vector<Interpreter::Type_Code> code;
  1145.         uint argCount = 0;
  1146.         uint optionalArgCount = 0;
  1147.         uint argumentsPassed = 0;
  1148.         uint optionalArgumentsPassed = 0;
  1149.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1150.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1151.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1152.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1153.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1154.         return;
  1155.     }
  1156.     void disablevanitymode()
  1157.     {
  1158.         Interpreter::Type_Code codeword = 3388997771;//codeword without arguments
  1159.         Literals& literals;
  1160.         std::vector<Interpreter::Type_Code> code;
  1161.         uint argCount = 0;
  1162.         uint optionalArgCount = 0;
  1163.         uint argumentsPassed = 0;
  1164.         uint optionalArgumentsPassed = 0;
  1165.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1166.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1167.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1168.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1169.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1170.         return;
  1171.     }
  1172.     void dontsaveobject()
  1173.     {
  1174.         Interpreter::Type_Code codeword = 3388997971;//codeword without arguments
  1175.         Literals& literals;
  1176.         std::vector<Interpreter::Type_Code> code;
  1177.         uint argCount = 0;
  1178.         uint optionalArgCount = 0;
  1179.         uint argumentsPassed = 0;
  1180.         uint optionalArgumentsPassed = 0;
  1181.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1182.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1183.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1184.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1185.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1186.         return;
  1187.     }
  1188.     void drop(std::string arg0, Interpreter::Type_Integer arg1)
  1189.     {
  1190.         Interpreter::Type_Code codeword = 3388998136;//codeword without arguments
  1191.         Literals& literals;
  1192.         std::vector<Interpreter::Type_Code> code;
  1193.         uint argCount = 2;
  1194.         uint optionalArgCount = 0;
  1195.         uint argumentsPassed = 0;
  1196.         uint optionalArgumentsPassed = 0;
  1197.         if (arg1!=-123456)
  1198.         {
  1199.             Compiler::Generator.pushInt(code, literals, arg1);
  1200.             argumentsPassed++;
  1201.         }
  1202.         if (arg0!="OPTIONAL_FLAG")
  1203.         {
  1204.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  1205.             argumentsPassed++;
  1206.         }
  1207.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1208.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1209.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1210.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1211.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1212.         return;
  1213.     }
  1214.     void dropsoulgem(std::string arg0)
  1215.     {
  1216.         Interpreter::Type_Code codeword = 3388998138;//codeword without arguments
  1217.         Literals& literals;
  1218.         std::vector<Interpreter::Type_Code> code;
  1219.         uint argCount = 1;
  1220.         uint optionalArgCount = 0;
  1221.         uint argumentsPassed = 0;
  1222.         uint optionalArgumentsPassed = 0;
  1223.         if (arg0!="OPTIONAL_FLAG")
  1224.         {
  1225.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  1226.             argumentsPassed++;
  1227.         }
  1228.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1229.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1230.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1231.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1232.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1233.         return;
  1234.     }
  1235.     void enablebirthmenu()
  1236.     {
  1237.         Interpreter::Type_Code codeword = 3388997646;//codeword without arguments
  1238.         Literals& literals;
  1239.         std::vector<Interpreter::Type_Code> code;
  1240.         uint argCount = 0;
  1241.         uint optionalArgCount = 0;
  1242.         uint argumentsPassed = 0;
  1243.         uint optionalArgumentsPassed = 0;
  1244.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1245.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1246.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1247.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1248.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1249.         return;
  1250.     }
  1251.     void enableclassmenu()
  1252.     {
  1253.         Interpreter::Type_Code codeword = 3388997647;//codeword without arguments
  1254.         Literals& literals;
  1255.         std::vector<Interpreter::Type_Code> code;
  1256.         uint argCount = 0;
  1257.         uint optionalArgCount = 0;
  1258.         uint argumentsPassed = 0;
  1259.         uint optionalArgumentsPassed = 0;
  1260.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1261.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1262.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1263.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1264.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1265.         return;
  1266.     }
  1267.     void enableinventorymenu()
  1268.     {
  1269.         Interpreter::Type_Code codeword = 3388997651;//codeword without arguments
  1270.         Literals& literals;
  1271.         std::vector<Interpreter::Type_Code> code;
  1272.         uint argCount = 0;
  1273.         uint optionalArgCount = 0;
  1274.         uint argumentsPassed = 0;
  1275.         uint optionalArgumentsPassed = 0;
  1276.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1277.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1278.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1279.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1280.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1281.         return;
  1282.     }
  1283.     void enablelevelupmenu()
  1284.     {
  1285.         Interpreter::Type_Code codeword = 3388997655;//codeword without arguments
  1286.         Literals& literals;
  1287.         std::vector<Interpreter::Type_Code> code;
  1288.         uint argCount = 0;
  1289.         uint optionalArgCount = 0;
  1290.         uint argumentsPassed = 0;
  1291.         uint optionalArgumentsPassed = 0;
  1292.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1293.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1294.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1295.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1296.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1297.         return;
  1298.     }
  1299.     void enablelevitation()
  1300.     {
  1301.         Interpreter::Type_Code codeword = 3388998177;//codeword without arguments
  1302.         Literals& literals;
  1303.         std::vector<Interpreter::Type_Code> code;
  1304.         uint argCount = 0;
  1305.         uint optionalArgCount = 0;
  1306.         uint argumentsPassed = 0;
  1307.         uint optionalArgumentsPassed = 0;
  1308.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1309.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1310.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1311.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1312.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1313.         return;
  1314.     }
  1315.     void enablemagicmenu()
  1316.     {
  1317.         Interpreter::Type_Code codeword = 3388997652;//codeword without arguments
  1318.         Literals& literals;
  1319.         std::vector<Interpreter::Type_Code> code;
  1320.         uint argCount = 0;
  1321.         uint optionalArgCount = 0;
  1322.         uint argumentsPassed = 0;
  1323.         uint optionalArgumentsPassed = 0;
  1324.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1325.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1326.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1327.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1328.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1329.         return;
  1330.     }
  1331.     void enablemapmenu()
  1332.     {
  1333.         Interpreter::Type_Code codeword = 3388997653;//codeword without arguments
  1334.         Literals& literals;
  1335.         std::vector<Interpreter::Type_Code> code;
  1336.         uint argCount = 0;
  1337.         uint optionalArgCount = 0;
  1338.         uint argumentsPassed = 0;
  1339.         uint optionalArgumentsPassed = 0;
  1340.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1341.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1342.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1343.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1344.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1345.         return;
  1346.     }
  1347.     void enablenamemenu()
  1348.     {
  1349.         Interpreter::Type_Code codeword = 3388997648;//codeword without arguments
  1350.         Literals& literals;
  1351.         std::vector<Interpreter::Type_Code> code;
  1352.         uint argCount = 0;
  1353.         uint optionalArgCount = 0;
  1354.         uint argumentsPassed = 0;
  1355.         uint optionalArgumentsPassed = 0;
  1356.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1357.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1358.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1359.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1360.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1361.         return;
  1362.     }
  1363.     void enableplayercontrols()
  1364.     {
  1365.         Interpreter::Type_Code codeword = 3388997758;//codeword without arguments
  1366.         Literals& literals;
  1367.         std::vector<Interpreter::Type_Code> code;
  1368.         uint argCount = 0;
  1369.         uint optionalArgCount = 0;
  1370.         uint argumentsPassed = 0;
  1371.         uint optionalArgumentsPassed = 0;
  1372.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1373.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1374.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1375.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1376.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1377.         return;
  1378.     }
  1379.     void enableplayerfighting()
  1380.     {
  1381.         Interpreter::Type_Code codeword = 3388997759;//codeword without arguments
  1382.         Literals& literals;
  1383.         std::vector<Interpreter::Type_Code> code;
  1384.         uint argCount = 0;
  1385.         uint optionalArgCount = 0;
  1386.         uint argumentsPassed = 0;
  1387.         uint optionalArgumentsPassed = 0;
  1388.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1389.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1390.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1391.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1392.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1393.         return;
  1394.     }
  1395.     void enableplayerjumping()
  1396.     {
  1397.         Interpreter::Type_Code codeword = 3388997760;//codeword without arguments
  1398.         Literals& literals;
  1399.         std::vector<Interpreter::Type_Code> code;
  1400.         uint argCount = 0;
  1401.         uint optionalArgCount = 0;
  1402.         uint argumentsPassed = 0;
  1403.         uint optionalArgumentsPassed = 0;
  1404.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1405.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1406.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1407.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1408.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1409.         return;
  1410.     }
  1411.     void enableplayerlooking()
  1412.     {
  1413.         Interpreter::Type_Code codeword = 3388997761;//codeword without arguments
  1414.         Literals& literals;
  1415.         std::vector<Interpreter::Type_Code> code;
  1416.         uint argCount = 0;
  1417.         uint optionalArgCount = 0;
  1418.         uint argumentsPassed = 0;
  1419.         uint optionalArgumentsPassed = 0;
  1420.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1421.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1422.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1423.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1424.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1425.         return;
  1426.     }
  1427.     void enableplayermagic()
  1428.     {
  1429.         Interpreter::Type_Code codeword = 3388997762;//codeword without arguments
  1430.         Literals& literals;
  1431.         std::vector<Interpreter::Type_Code> code;
  1432.         uint argCount = 0;
  1433.         uint optionalArgCount = 0;
  1434.         uint argumentsPassed = 0;
  1435.         uint optionalArgumentsPassed = 0;
  1436.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1437.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1438.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1439.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1440.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1441.         return;
  1442.     }
  1443.     void enableplayerviewswitch()
  1444.     {
  1445.         Interpreter::Type_Code codeword = 3388997763;//codeword without arguments
  1446.         Literals& literals;
  1447.         std::vector<Interpreter::Type_Code> code;
  1448.         uint argCount = 0;
  1449.         uint optionalArgCount = 0;
  1450.         uint argumentsPassed = 0;
  1451.         uint optionalArgumentsPassed = 0;
  1452.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1453.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1454.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1455.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1456.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1457.         return;
  1458.     }
  1459.     void enableracemenu()
  1460.     {
  1461.         Interpreter::Type_Code codeword = 3388997649;//codeword without arguments
  1462.         Literals& literals;
  1463.         std::vector<Interpreter::Type_Code> code;
  1464.         uint argCount = 0;
  1465.         uint optionalArgCount = 0;
  1466.         uint argumentsPassed = 0;
  1467.         uint optionalArgumentsPassed = 0;
  1468.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1469.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1470.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1471.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1472.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1473.         return;
  1474.     }
  1475.     void enablerest()
  1476.     {
  1477.         Interpreter::Type_Code codeword = 3388997655;//codeword without arguments
  1478.         Literals& literals;
  1479.         std::vector<Interpreter::Type_Code> code;
  1480.         uint argCount = 0;
  1481.         uint optionalArgCount = 0;
  1482.         uint argumentsPassed = 0;
  1483.         uint optionalArgumentsPassed = 0;
  1484.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1485.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1486.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1487.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1488.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1489.         return;
  1490.     }
  1491.     void enablestatreviewmenu()
  1492.     {
  1493.         Interpreter::Type_Code codeword = 3388997650;//codeword without arguments
  1494.         Literals& literals;
  1495.         std::vector<Interpreter::Type_Code> code;
  1496.         uint argCount = 0;
  1497.         uint optionalArgCount = 0;
  1498.         uint argumentsPassed = 0;
  1499.         uint optionalArgumentsPassed = 0;
  1500.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1501.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1502.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1503.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1504.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1505.         return;
  1506.     }
  1507.     void enablestatsmenu()
  1508.     {
  1509.         Interpreter::Type_Code codeword = 3388997654;//codeword without arguments
  1510.         Literals& literals;
  1511.         std::vector<Interpreter::Type_Code> code;
  1512.         uint argCount = 0;
  1513.         uint optionalArgCount = 0;
  1514.         uint argumentsPassed = 0;
  1515.         uint optionalArgumentsPassed = 0;
  1516.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1517.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1518.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1519.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1520.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1521.         return;
  1522.     }
  1523.     void enableteleporting()
  1524.     {
  1525.         Interpreter::Type_Code codeword = 3388998166;//codeword without arguments
  1526.         Literals& literals;
  1527.         std::vector<Interpreter::Type_Code> code;
  1528.         uint argCount = 0;
  1529.         uint optionalArgCount = 0;
  1530.         uint argumentsPassed = 0;
  1531.         uint optionalArgumentsPassed = 0;
  1532.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1533.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1534.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1535.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1536.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1537.         return;
  1538.     }
  1539.     void enablevanitymode()
  1540.     {
  1541.         Interpreter::Type_Code codeword = 3388997764;//codeword without arguments
  1542.         Literals& literals;
  1543.         std::vector<Interpreter::Type_Code> code;
  1544.         uint argCount = 0;
  1545.         uint optionalArgCount = 0;
  1546.         uint argumentsPassed = 0;
  1547.         uint optionalArgumentsPassed = 0;
  1548.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1549.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1550.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1551.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1552.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1553.         return;
  1554.     }
  1555.     void equip(std::string arg0)
  1556.     {
  1557.         Interpreter::Type_Code codeword = 3388998067;//codeword without arguments
  1558.         Literals& literals;
  1559.         std::vector<Interpreter::Type_Code> code;
  1560.         uint argCount = 1;
  1561.         uint optionalArgCount = 0;
  1562.         uint argumentsPassed = 0;
  1563.         uint optionalArgumentsPassed = 0;
  1564.         if (arg0!="OPTIONAL_FLAG")
  1565.         {
  1566.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  1567.             argumentsPassed++;
  1568.         }
  1569.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1570.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1571.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1572.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1573.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1574.         return;
  1575.     }
  1576.     void explodespell(std::string arg0)
  1577.     {
  1578.         Interpreter::Type_Code codeword = 3388998185;//codeword without arguments
  1579.         Literals& literals;
  1580.         std::vector<Interpreter::Type_Code> code;
  1581.         uint argCount = 1;
  1582.         uint optionalArgCount = 0;
  1583.         uint argumentsPassed = 0;
  1584.         uint optionalArgumentsPassed = 0;
  1585.         if (arg0!="OPTIONAL_FLAG")
  1586.         {
  1587.             Compiler::Generator.pushString(code, literals, arg0);
  1588.             argumentsPassed++;
  1589.         }
  1590.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1591.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1592.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1593.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1594.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1595.         return;
  1596.     }
  1597.     void face(Interpreter::Type_Integer arg0, Interpreter::Type_Integer arg1)
  1598.     {
  1599.         Interpreter::Type_Code codeword = 3388998220;//codeword without arguments
  1600.         Literals& literals;
  1601.         std::vector<Interpreter::Type_Code> code;
  1602.         uint argCount = 2;
  1603.         uint optionalArgCount = 0;
  1604.         uint argumentsPassed = 0;
  1605.         uint optionalArgumentsPassed = 0;
  1606.         if (arg1!=-123456)
  1607.         {
  1608.             Compiler::Generator.pushInt(code, literals, arg1);
  1609.             argumentsPassed++;
  1610.         }
  1611.         if (arg0!=-123456)
  1612.         {
  1613.             Compiler::Generator.pushInt(code, literals, arg0);
  1614.             argumentsPassed++;
  1615.         }
  1616.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1617.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1618.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1619.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1620.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1621.         return;
  1622.     }
  1623.     void fadein(Interpreter::Type_Float arg0)
  1624.     {
  1625.         Interpreter::Type_Code codeword = 3388997948;//codeword without arguments
  1626.         Literals& literals;
  1627.         std::vector<Interpreter::Type_Code> code;
  1628.         uint argCount = 1;
  1629.         uint optionalArgCount = 0;
  1630.         uint argumentsPassed = 0;
  1631.         uint optionalArgumentsPassed = 0;
  1632.         if (arg0!=-123456)
  1633.         {
  1634.             Compiler::Generator.pushFloat(code, literals, arg0);
  1635.             argumentsPassed++;
  1636.         }
  1637.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1638.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1639.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1640.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1641.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1642.         return;
  1643.     }
  1644.     void fadeout(Interpreter::Type_Float arg0)
  1645.     {
  1646.         Interpreter::Type_Code codeword = 3388997949;//codeword without arguments
  1647.         Literals& literals;
  1648.         std::vector<Interpreter::Type_Code> code;
  1649.         uint argCount = 1;
  1650.         uint optionalArgCount = 0;
  1651.         uint argumentsPassed = 0;
  1652.         uint optionalArgumentsPassed = 0;
  1653.         if (arg0!=-123456)
  1654.         {
  1655.             Compiler::Generator.pushFloat(code, literals, arg0);
  1656.             argumentsPassed++;
  1657.         }
  1658.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1659.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1660.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1661.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1662.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1663.         return;
  1664.     }
  1665.     void fadeto(Interpreter::Type_Float arg0, Interpreter::Type_Float arg1)
  1666.     {
  1667.         Interpreter::Type_Code codeword = 3388997950;//codeword without arguments
  1668.         Literals& literals;
  1669.         std::vector<Interpreter::Type_Code> code;
  1670.         uint argCount = 2;
  1671.         uint optionalArgCount = 0;
  1672.         uint argumentsPassed = 0;
  1673.         uint optionalArgumentsPassed = 0;
  1674.         if (arg1!=-123456)
  1675.         {
  1676.             Compiler::Generator.pushFloat(code, literals, arg1);
  1677.             argumentsPassed++;
  1678.         }
  1679.         if (arg0!=-123456)
  1680.         {
  1681.             Compiler::Generator.pushFloat(code, literals, arg0);
  1682.             argumentsPassed++;
  1683.         }
  1684.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1685.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1686.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1687.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1688.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1689.         return;
  1690.     }
  1691.     void fall()
  1692.     {
  1693.         Interpreter::Type_Code codeword = 3388998154;//codeword without arguments
  1694.         Literals& literals;
  1695.         std::vector<Interpreter::Type_Code> code;
  1696.         uint argCount = 0;
  1697.         uint optionalArgCount = 0;
  1698.         uint argumentsPassed = 0;
  1699.         uint optionalArgumentsPassed = 0;
  1700.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1701.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1702.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1703.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1704.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1705.         return;
  1706.     }
  1707.     void fillmap()
  1708.     {
  1709.         Interpreter::Type_Code codeword = 3388998049;//codeword without arguments
  1710.         Literals& literals;
  1711.         std::vector<Interpreter::Type_Code> code;
  1712.         uint argCount = 0;
  1713.         uint optionalArgCount = 0;
  1714.         uint argumentsPassed = 0;
  1715.         uint optionalArgumentsPassed = 0;
  1716.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1717.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1718.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1719.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1720.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1721.         return;
  1722.     }
  1723.     void forcegreeting()
  1724.     {
  1725.         Interpreter::Type_Code codeword = 3388997967;//codeword without arguments
  1726.         Literals& literals;
  1727.         std::vector<Interpreter::Type_Code> code;
  1728.         uint argCount = 0;
  1729.         uint optionalArgCount = 0;
  1730.         uint argumentsPassed = 0;
  1731.         uint optionalArgumentsPassed = 0;
  1732.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1733.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1734.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1735.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1736.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1737.         return;
  1738.     }
  1739.     void forcejump()
  1740.     {
  1741.         Interpreter::Type_Code codeword = 3388998234;//codeword without arguments
  1742.         Literals& literals;
  1743.         std::vector<Interpreter::Type_Code> code;
  1744.         uint argCount = 0;
  1745.         uint optionalArgCount = 0;
  1746.         uint argumentsPassed = 0;
  1747.         uint optionalArgumentsPassed = 0;
  1748.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1749.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1750.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1751.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1752.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1753.         return;
  1754.     }
  1755.     void forcemovejump()
  1756.     {
  1757.         Interpreter::Type_Code codeword = 3388998238;//codeword without arguments
  1758.         Literals& literals;
  1759.         std::vector<Interpreter::Type_Code> code;
  1760.         uint argCount = 0;
  1761.         uint optionalArgCount = 0;
  1762.         uint argumentsPassed = 0;
  1763.         uint optionalArgumentsPassed = 0;
  1764.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1765.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1766.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1767.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1768.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1769.         return;
  1770.     }
  1771.     void forcerun()
  1772.     {
  1773.         Interpreter::Type_Code codeword = 3388997974;//codeword without arguments
  1774.         Literals& literals;
  1775.         std::vector<Interpreter::Type_Code> code;
  1776.         uint argCount = 0;
  1777.         uint optionalArgCount = 0;
  1778.         uint argumentsPassed = 0;
  1779.         uint optionalArgumentsPassed = 0;
  1780.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1781.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1782.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1783.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1784.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1785.         return;
  1786.     }
  1787.     void forcesneak()
  1788.     {
  1789.         Interpreter::Type_Code codeword = 3388997978;//codeword without arguments
  1790.         Literals& literals;
  1791.         std::vector<Interpreter::Type_Code> code;
  1792.         uint argCount = 0;
  1793.         uint optionalArgCount = 0;
  1794.         uint argumentsPassed = 0;
  1795.         uint optionalArgumentsPassed = 0;
  1796.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1797.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1798.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1799.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1800.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1801.         return;
  1802.     }
  1803.     Interpreter::Type_Integer getacrobatics()
  1804.     {
  1805.         Interpreter::Type_Code codeword = 3388997794;//codeword without arguments
  1806.         Literals& literals;
  1807.         std::vector<Interpreter::Type_Code> code;
  1808.         uint argCount = 0;
  1809.         uint optionalArgCount = 0;
  1810.         uint argumentsPassed = 0;
  1811.         uint optionalArgumentsPassed = 0;
  1812.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1813.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1814.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1815.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1816.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1817.         return runtime[0].mInteger;
  1818.     }
  1819.     Interpreter::Type_Integer getagility()
  1820.     {
  1821.         Interpreter::Type_Code codeword = 3388997674;//codeword without arguments
  1822.         Literals& literals;
  1823.         std::vector<Interpreter::Type_Code> code;
  1824.         uint argCount = 0;
  1825.         uint optionalArgCount = 0;
  1826.         uint argumentsPassed = 0;
  1827.         uint optionalArgumentsPassed = 0;
  1828.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1829.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1830.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1831.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1832.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1833.         return runtime[0].mInteger;
  1834.     }
  1835.     Interpreter::Type_Integer getaipackagedone()
  1836.     {
  1837.         Interpreter::Type_Code codeword = 3388997756;//codeword without arguments
  1838.         Literals& literals;
  1839.         std::vector<Interpreter::Type_Code> code;
  1840.         uint argCount = 0;
  1841.         uint optionalArgCount = 0;
  1842.         uint argumentsPassed = 0;
  1843.         uint optionalArgumentsPassed = 0;
  1844.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1845.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1846.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1847.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1848.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1849.         return runtime[0].mInteger;
  1850.     }
  1851.     Interpreter::Type_Integer getalarm()
  1852.     {
  1853.         Interpreter::Type_Code codeword = 3388998085;//codeword without arguments
  1854.         Literals& literals;
  1855.         std::vector<Interpreter::Type_Code> code;
  1856.         uint argCount = 0;
  1857.         uint optionalArgCount = 0;
  1858.         uint argumentsPassed = 0;
  1859.         uint optionalArgumentsPassed = 0;
  1860.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1861.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1862.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1863.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1864.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1865.         return runtime[0].mInteger;
  1866.     }
  1867.     Interpreter::Type_Integer getalchemy()
  1868.     {
  1869.         Interpreter::Type_Code codeword = 3388997790;//codeword without arguments
  1870.         Literals& literals;
  1871.         std::vector<Interpreter::Type_Code> code;
  1872.         uint argCount = 0;
  1873.         uint optionalArgCount = 0;
  1874.         uint argumentsPassed = 0;
  1875.         uint optionalArgumentsPassed = 0;
  1876.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1877.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1878.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1879.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1880.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1881.         return runtime[0].mInteger;
  1882.     }
  1883.     Interpreter::Type_Integer getalteration()
  1884.     {
  1885.         Interpreter::Type_Code codeword = 3388997785;//codeword without arguments
  1886.         Literals& literals;
  1887.         std::vector<Interpreter::Type_Code> code;
  1888.         uint argCount = 0;
  1889.         uint optionalArgCount = 0;
  1890.         uint argumentsPassed = 0;
  1891.         uint optionalArgumentsPassed = 0;
  1892.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1893.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1894.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1895.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1896.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1897.         return runtime[0].mInteger;
  1898.     }
  1899.     Interpreter::Type_Float getangle(std::string arg0)
  1900.     {
  1901.         Interpreter::Type_Code codeword = 3388997994;//codeword without arguments
  1902.         Literals& literals;
  1903.         std::vector<Interpreter::Type_Code> code;
  1904.         uint argCount = 1;
  1905.         uint optionalArgCount = 0;
  1906.         uint argumentsPassed = 0;
  1907.         uint optionalArgumentsPassed = 0;
  1908.         if (arg0!="OPTIONAL_FLAG")
  1909.         {
  1910.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  1911.             argumentsPassed++;
  1912.         }
  1913.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1914.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1915.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1916.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1917.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1918.         return runtime[0].mFloat;
  1919.     }
  1920.     Interpreter::Type_Integer getarmorbonus()
  1921.     {
  1922.         Interpreter::Type_Code codeword = 3388998260;//codeword without arguments
  1923.         Literals& literals;
  1924.         std::vector<Interpreter::Type_Code> code;
  1925.         uint argCount = 0;
  1926.         uint optionalArgCount = 0;
  1927.         uint argumentsPassed = 0;
  1928.         uint optionalArgumentsPassed = 0;
  1929.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1930.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1931.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1932.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1933.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1934.         return runtime[0].mInteger;
  1935.     }
  1936.     Interpreter::Type_Integer getarmorer()
  1937.     {
  1938.         Interpreter::Type_Code codeword = 3388997775;//codeword without arguments
  1939.         Literals& literals;
  1940.         std::vector<Interpreter::Type_Code> code;
  1941.         uint argCount = 0;
  1942.         uint optionalArgCount = 0;
  1943.         uint argumentsPassed = 0;
  1944.         uint optionalArgumentsPassed = 0;
  1945.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1946.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1947.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1948.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1949.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1950.         return runtime[0].mInteger;
  1951.     }
  1952.     Interpreter::Type_Integer getarmortype(Interpreter::Type_Integer arg0)
  1953.     {
  1954.         Interpreter::Type_Code codeword = 3388998097;//codeword without arguments
  1955.         Literals& literals;
  1956.         std::vector<Interpreter::Type_Code> code;
  1957.         uint argCount = 1;
  1958.         uint optionalArgCount = 0;
  1959.         uint argumentsPassed = 0;
  1960.         uint optionalArgumentsPassed = 0;
  1961.         if (arg0!=-123456)
  1962.         {
  1963.             Compiler::Generator.pushInt(code, literals, arg0);
  1964.             argumentsPassed++;
  1965.         }
  1966.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1967.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1968.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1969.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1970.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1971.         return runtime[0].mInteger;
  1972.     }
  1973.     Interpreter::Type_Integer getathletics()
  1974.     {
  1975.         Interpreter::Type_Code codeword = 3388997782;//codeword without arguments
  1976.         Literals& literals;
  1977.         std::vector<Interpreter::Type_Code> code;
  1978.         uint argCount = 0;
  1979.         uint optionalArgCount = 0;
  1980.         uint argumentsPassed = 0;
  1981.         uint optionalArgumentsPassed = 0;
  1982.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1983.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  1984.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  1985.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  1986.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  1987.         return runtime[0].mInteger;
  1988.     }
  1989.     Interpreter::Type_Integer getattackbonus()
  1990.     {
  1991.         Interpreter::Type_Code codeword = 3388998266;//codeword without arguments
  1992.         Literals& literals;
  1993.         std::vector<Interpreter::Type_Code> code;
  1994.         uint argCount = 0;
  1995.         uint optionalArgCount = 0;
  1996.         uint argumentsPassed = 0;
  1997.         uint optionalArgumentsPassed = 0;
  1998.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  1999.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2000.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2001.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2002.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2003.         return runtime[0].mInteger;
  2004.     }
  2005.     Interpreter::Type_Integer getattacked()
  2006.     {
  2007.         Interpreter::Type_Code codeword = 3388998099;//codeword without arguments
  2008.         Literals& literals;
  2009.         std::vector<Interpreter::Type_Code> code;
  2010.         uint argCount = 0;
  2011.         uint optionalArgCount = 0;
  2012.         uint argumentsPassed = 0;
  2013.         uint optionalArgumentsPassed = 0;
  2014.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2015.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2016.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2017.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2018.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2019.         return runtime[0].mInteger;
  2020.     }
  2021.     Interpreter::Type_Integer getaxe()
  2022.     {
  2023.         Interpreter::Type_Code codeword = 3388997780;//codeword without arguments
  2024.         Literals& literals;
  2025.         std::vector<Interpreter::Type_Code> code;
  2026.         uint argCount = 0;
  2027.         uint optionalArgCount = 0;
  2028.         uint argumentsPassed = 0;
  2029.         uint optionalArgumentsPassed = 0;
  2030.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2031.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2032.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2033.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2034.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2035.         return runtime[0].mInteger;
  2036.     }
  2037.     Interpreter::Type_Integer getblightdisease()
  2038.     {
  2039.         Interpreter::Type_Code codeword = 3388998058;//codeword without arguments
  2040.         Literals& literals;
  2041.         std::vector<Interpreter::Type_Code> code;
  2042.         uint argCount = 0;
  2043.         uint optionalArgCount = 0;
  2044.         uint argumentsPassed = 0;
  2045.         uint optionalArgumentsPassed = 0;
  2046.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2047.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2048.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2049.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2050.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2051.         return runtime[0].mInteger;
  2052.     }
  2053.     Interpreter::Type_Integer getblindness()
  2054.     {
  2055.         Interpreter::Type_Code codeword = 3388998263;//codeword without arguments
  2056.         Literals& literals;
  2057.         std::vector<Interpreter::Type_Code> code;
  2058.         uint argCount = 0;
  2059.         uint optionalArgCount = 0;
  2060.         uint argumentsPassed = 0;
  2061.         uint optionalArgumentsPassed = 0;
  2062.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2063.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2064.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2065.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2066.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2067.         return runtime[0].mInteger;
  2068.     }
  2069.     Interpreter::Type_Integer getblock()
  2070.     {
  2071.         Interpreter::Type_Code codeword = 3388997774;//codeword without arguments
  2072.         Literals& literals;
  2073.         std::vector<Interpreter::Type_Code> code;
  2074.         uint argCount = 0;
  2075.         uint optionalArgCount = 0;
  2076.         uint argumentsPassed = 0;
  2077.         uint optionalArgumentsPassed = 0;
  2078.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2079.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2080.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2081.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2082.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2083.         return runtime[0].mInteger;
  2084.     }
  2085.     Interpreter::Type_Integer getbluntweapon()
  2086.     {
  2087.         Interpreter::Type_Code codeword = 3388997778;//codeword without arguments
  2088.         Literals& literals;
  2089.         std::vector<Interpreter::Type_Code> code;
  2090.         uint argCount = 0;
  2091.         uint optionalArgCount = 0;
  2092.         uint argumentsPassed = 0;
  2093.         uint optionalArgumentsPassed = 0;
  2094.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2095.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2096.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2097.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2098.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2099.         return runtime[0].mInteger;
  2100.     }
  2101.     Interpreter::Type_Integer getbuttonpressed()
  2102.     {
  2103.         Interpreter::Type_Code codeword = 3388997943;//codeword without arguments
  2104.         Literals& literals;
  2105.         std::vector<Interpreter::Type_Code> code;
  2106.         uint argCount = 0;
  2107.         uint optionalArgCount = 0;
  2108.         uint argumentsPassed = 0;
  2109.         uint optionalArgumentsPassed = 0;
  2110.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2111.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2112.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2113.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2114.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2115.         return runtime[0].mInteger;
  2116.     }
  2117.     Interpreter::Type_Integer getcastpenalty()
  2118.     {
  2119.         Interpreter::Type_Code codeword = 3388998261;//codeword without arguments
  2120.         Literals& literals;
  2121.         std::vector<Interpreter::Type_Code> code;
  2122.         uint argCount = 0;
  2123.         uint optionalArgCount = 0;
  2124.         uint argumentsPassed = 0;
  2125.         uint optionalArgumentsPassed = 0;
  2126.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2127.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2128.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2129.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2130.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2131.         return runtime[0].mInteger;
  2132.     }
  2133.     Interpreter::Type_Integer getchameleon()
  2134.     {
  2135.         Interpreter::Type_Code codeword = 3388998255;//codeword without arguments
  2136.         Literals& literals;
  2137.         std::vector<Interpreter::Type_Code> code;
  2138.         uint argCount = 0;
  2139.         uint optionalArgCount = 0;
  2140.         uint argumentsPassed = 0;
  2141.         uint optionalArgumentsPassed = 0;
  2142.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2143.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2144.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2145.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2146.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2147.         return runtime[0].mInteger;
  2148.     }
  2149.     Interpreter::Type_Integer getcollidingactor()
  2150.     {
  2151.         Interpreter::Type_Code codeword = 3388998226;//codeword without arguments
  2152.         Literals& literals;
  2153.         std::vector<Interpreter::Type_Code> code;
  2154.         uint argCount = 0;
  2155.         uint optionalArgCount = 0;
  2156.         uint argumentsPassed = 0;
  2157.         uint optionalArgumentsPassed = 0;
  2158.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2159.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2160.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2161.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2162.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2163.         return runtime[0].mInteger;
  2164.     }
  2165.     Interpreter::Type_Integer getcollidingpc()
  2166.     {
  2167.         Interpreter::Type_Code codeword = 3388998224;//codeword without arguments
  2168.         Literals& literals;
  2169.         std::vector<Interpreter::Type_Code> code;
  2170.         uint argCount = 0;
  2171.         uint optionalArgCount = 0;
  2172.         uint argumentsPassed = 0;
  2173.         uint optionalArgumentsPassed = 0;
  2174.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2175.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2176.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2177.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2178.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2179.         return runtime[0].mInteger;
  2180.     }
  2181.     Interpreter::Type_Integer getcommondisease()
  2182.     {
  2183.         Interpreter::Type_Code codeword = 3388998056;//codeword without arguments
  2184.         Literals& literals;
  2185.         std::vector<Interpreter::Type_Code> code;
  2186.         uint argCount = 0;
  2187.         uint optionalArgCount = 0;
  2188.         uint argumentsPassed = 0;
  2189.         uint optionalArgumentsPassed = 0;
  2190.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2191.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2192.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2193.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2194.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2195.         return runtime[0].mInteger;
  2196.     }
  2197.     Interpreter::Type_Integer getconjuration()
  2198.     {
  2199.         Interpreter::Type_Code codeword = 3388997787;//codeword without arguments
  2200.         Literals& literals;
  2201.         std::vector<Interpreter::Type_Code> code;
  2202.         uint argCount = 0;
  2203.         uint optionalArgCount = 0;
  2204.         uint argumentsPassed = 0;
  2205.         uint optionalArgumentsPassed = 0;
  2206.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2207.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2208.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2209.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2210.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2211.         return runtime[0].mInteger;
  2212.     }
  2213.     Interpreter::Type_Integer getcurrentaipackage()
  2214.     {
  2215.         Interpreter::Type_Code codeword = 3388998127;//codeword without arguments
  2216.         Literals& literals;
  2217.         std::vector<Interpreter::Type_Code> code;
  2218.         uint argCount = 0;
  2219.         uint optionalArgCount = 0;
  2220.         uint argumentsPassed = 0;
  2221.         uint optionalArgumentsPassed = 0;
  2222.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2223.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2224.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2225.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2226.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2227.         return runtime[0].mInteger;
  2228.     }
  2229.     Interpreter::Type_Float getcurrenttime()
  2230.     {
  2231.         Interpreter::Type_Code codeword = 3388998109;//codeword without arguments
  2232.         Literals& literals;
  2233.         std::vector<Interpreter::Type_Code> code;
  2234.         uint argCount = 0;
  2235.         uint optionalArgCount = 0;
  2236.         uint argumentsPassed = 0;
  2237.         uint optionalArgumentsPassed = 0;
  2238.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2239.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2240.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2241.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2242.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2243.         return runtime[0].mFloat;
  2244.     }
  2245.     Interpreter::Type_Integer getcurrentweather()
  2246.     {
  2247.         Interpreter::Type_Code codeword = 3388997951;//codeword without arguments
  2248.         Literals& literals;
  2249.         std::vector<Interpreter::Type_Code> code;
  2250.         uint argCount = 0;
  2251.         uint optionalArgCount = 0;
  2252.         uint argumentsPassed = 0;
  2253.         uint optionalArgumentsPassed = 0;
  2254.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2255.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2256.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2257.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2258.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2259.         return runtime[0].mInteger;
  2260.     }
  2261.     Interpreter::Type_Integer getdeadcount(std::string arg0)
  2262.     {
  2263.         Interpreter::Type_Code codeword = 3388998051;//codeword without arguments
  2264.         Literals& literals;
  2265.         std::vector<Interpreter::Type_Code> code;
  2266.         uint argCount = 1;
  2267.         uint optionalArgCount = 0;
  2268.         uint argumentsPassed = 0;
  2269.         uint optionalArgumentsPassed = 0;
  2270.         if (arg0!="OPTIONAL_FLAG")
  2271.         {
  2272.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  2273.             argumentsPassed++;
  2274.         }
  2275.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2276.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2277.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2278.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2279.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2280.         return runtime[0].mInteger;
  2281.     }
  2282.     Interpreter::Type_Integer getdefendbonus()
  2283.     {
  2284.         Interpreter::Type_Code codeword = 3388998267;//codeword without arguments
  2285.         Literals& literals;
  2286.         std::vector<Interpreter::Type_Code> code;
  2287.         uint argCount = 0;
  2288.         uint optionalArgCount = 0;
  2289.         uint argumentsPassed = 0;
  2290.         uint optionalArgumentsPassed = 0;
  2291.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2292.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2293.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2294.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2295.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2296.         return runtime[0].mInteger;
  2297.     }
  2298.     Interpreter::Type_Integer getdestruction()
  2299.     {
  2300.         Interpreter::Type_Code codeword = 3388997784;//codeword without arguments
  2301.         Literals& literals;
  2302.         std::vector<Interpreter::Type_Code> code;
  2303.         uint argCount = 0;
  2304.         uint optionalArgCount = 0;
  2305.         uint argumentsPassed = 0;
  2306.         uint optionalArgumentsPassed = 0;
  2307.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2308.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2309.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2310.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2311.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2312.         return runtime[0].mInteger;
  2313.     }
  2314.     Interpreter::Type_Integer getdetected(std::string arg0)
  2315.     {
  2316.         Interpreter::Type_Code codeword = 3388998129;//codeword without arguments
  2317.         Literals& literals;
  2318.         std::vector<Interpreter::Type_Code> code;
  2319.         uint argCount = 1;
  2320.         uint optionalArgCount = 0;
  2321.         uint argumentsPassed = 0;
  2322.         uint optionalArgumentsPassed = 0;
  2323.         if (arg0!="OPTIONAL_FLAG")
  2324.         {
  2325.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  2326.             argumentsPassed++;
  2327.         }
  2328.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2329.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2330.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2331.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2332.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2333.         return runtime[0].mInteger;
  2334.     }
  2335.     Interpreter::Type_Integer getdisposition()
  2336.     {
  2337.         Interpreter::Type_Code codeword = 3388998054;//codeword without arguments
  2338.         Literals& literals;
  2339.         std::vector<Interpreter::Type_Code> code;
  2340.         uint argCount = 0;
  2341.         uint optionalArgCount = 0;
  2342.         uint argumentsPassed = 0;
  2343.         uint optionalArgumentsPassed = 0;
  2344.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2345.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2346.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2347.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2348.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2349.         return runtime[0].mInteger;
  2350.     }
  2351.     Interpreter::Type_Integer geteffect(std::string arg0)
  2352.     {
  2353.         Interpreter::Type_Code codeword = 3388998095;//codeword without arguments
  2354.         Literals& literals;
  2355.         std::vector<Interpreter::Type_Code> code;
  2356.         uint argCount = 1;
  2357.         uint optionalArgCount = 0;
  2358.         uint argumentsPassed = 0;
  2359.         uint optionalArgumentsPassed = 0;
  2360.         if (arg0!="OPTIONAL_FLAG")
  2361.         {
  2362.             Compiler::Generator.pushString(code, literals, arg0);
  2363.             argumentsPassed++;
  2364.         }
  2365.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2366.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2367.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2368.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2369.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2370.         return runtime[0].mInteger;
  2371.     }
  2372.     Interpreter::Type_Integer getenchant()
  2373.     {
  2374.         Interpreter::Type_Code codeword = 3388997783;//codeword without arguments
  2375.         Literals& literals;
  2376.         std::vector<Interpreter::Type_Code> code;
  2377.         uint argCount = 0;
  2378.         uint optionalArgCount = 0;
  2379.         uint argumentsPassed = 0;
  2380.         uint optionalArgumentsPassed = 0;
  2381.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2382.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2383.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2384.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2385.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2386.         return runtime[0].mInteger;
  2387.     }
  2388.     Interpreter::Type_Integer getendurance()
  2389.     {
  2390.         Interpreter::Type_Code codeword = 3388997676;//codeword without arguments
  2391.         Literals& literals;
  2392.         std::vector<Interpreter::Type_Code> code;
  2393.         uint argCount = 0;
  2394.         uint optionalArgCount = 0;
  2395.         uint argumentsPassed = 0;
  2396.         uint optionalArgumentsPassed = 0;
  2397.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2398.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2399.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2400.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2401.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2402.         return runtime[0].mInteger;
  2403.     }
  2404.     Interpreter::Type_Integer getfactionreaction(std::string arg0, std::string arg1)
  2405.     {
  2406.         Interpreter::Type_Code codeword = 3388998211;//codeword without arguments
  2407.         Literals& literals;
  2408.         std::vector<Interpreter::Type_Code> code;
  2409.         uint argCount = 2;
  2410.         uint optionalArgCount = 0;
  2411.         uint argumentsPassed = 0;
  2412.         uint optionalArgumentsPassed = 0;
  2413.         if (arg1!="OPTIONAL_FLAG")
  2414.         {
  2415.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  2416.             argumentsPassed++;
  2417.         }
  2418.         if (arg0!="OPTIONAL_FLAG")
  2419.         {
  2420.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  2421.             argumentsPassed++;
  2422.         }
  2423.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2424.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2425.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2426.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2427.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2428.         return runtime[0].mInteger;
  2429.     }
  2430.     Interpreter::Type_Float getfatigue()
  2431.     {
  2432.         Interpreter::Type_Code codeword = 3388997721;//codeword without arguments
  2433.         Literals& literals;
  2434.         std::vector<Interpreter::Type_Code> code;
  2435.         uint argCount = 0;
  2436.         uint optionalArgCount = 0;
  2437.         uint argumentsPassed = 0;
  2438.         uint optionalArgumentsPassed = 0;
  2439.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2440.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2441.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2442.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2443.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2444.         return runtime[0].mFloat;
  2445.     }
  2446.     Interpreter::Type_Float getfatiguegetratio()
  2447.     {
  2448.         Interpreter::Type_Code codeword = 3388997745;//codeword without arguments
  2449.         Literals& literals;
  2450.         std::vector<Interpreter::Type_Code> code;
  2451.         uint argCount = 0;
  2452.         uint optionalArgCount = 0;
  2453.         uint argumentsPassed = 0;
  2454.         uint optionalArgumentsPassed = 0;
  2455.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2456.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2457.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2458.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2459.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2460.         return runtime[0].mFloat;
  2461.     }
  2462.     Interpreter::Type_Integer getfight()
  2463.     {
  2464.         Interpreter::Type_Code codeword = 3388998081;//codeword without arguments
  2465.         Literals& literals;
  2466.         std::vector<Interpreter::Type_Code> code;
  2467.         uint argCount = 0;
  2468.         uint optionalArgCount = 0;
  2469.         uint argumentsPassed = 0;
  2470.         uint optionalArgumentsPassed = 0;
  2471.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2472.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2473.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2474.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2475.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2476.         return runtime[0].mInteger;
  2477.     }
  2478.     Interpreter::Type_Integer getflee()
  2479.     {
  2480.         Interpreter::Type_Code codeword = 3388998083;//codeword without arguments
  2481.         Literals& literals;
  2482.         std::vector<Interpreter::Type_Code> code;
  2483.         uint argCount = 0;
  2484.         uint optionalArgCount = 0;
  2485.         uint argumentsPassed = 0;
  2486.         uint optionalArgumentsPassed = 0;
  2487.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2488.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2489.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2490.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2491.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2492.         return runtime[0].mInteger;
  2493.     }
  2494.     Interpreter::Type_Integer getflying()
  2495.     {
  2496.         Interpreter::Type_Code codeword = 3388998259;//codeword without arguments
  2497.         Literals& literals;
  2498.         std::vector<Interpreter::Type_Code> code;
  2499.         uint argCount = 0;
  2500.         uint optionalArgCount = 0;
  2501.         uint argumentsPassed = 0;
  2502.         uint optionalArgumentsPassed = 0;
  2503.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2504.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2505.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2506.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2507.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2508.         return runtime[0].mInteger;
  2509.     }
  2510.     Interpreter::Type_Integer getforcejump()
  2511.     {
  2512.         Interpreter::Type_Code codeword = 3388998240;//codeword without arguments
  2513.         Literals& literals;
  2514.         std::vector<Interpreter::Type_Code> code;
  2515.         uint argCount = 0;
  2516.         uint optionalArgCount = 0;
  2517.         uint argumentsPassed = 0;
  2518.         uint optionalArgumentsPassed = 0;
  2519.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2520.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2521.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2522.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2523.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2524.         return runtime[0].mInteger;
  2525.     }
  2526.     Interpreter::Type_Integer getforcemovejump()
  2527.     {
  2528.         Interpreter::Type_Code codeword = 3388998242;//codeword without arguments
  2529.         Literals& literals;
  2530.         std::vector<Interpreter::Type_Code> code;
  2531.         uint argCount = 0;
  2532.         uint optionalArgCount = 0;
  2533.         uint argumentsPassed = 0;
  2534.         uint optionalArgumentsPassed = 0;
  2535.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2536.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2537.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2538.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2539.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2540.         return runtime[0].mInteger;
  2541.     }
  2542.     Interpreter::Type_Integer getforcerun()
  2543.     {
  2544.         Interpreter::Type_Code codeword = 3388998091;//codeword without arguments
  2545.         Literals& literals;
  2546.         std::vector<Interpreter::Type_Code> code;
  2547.         uint argCount = 0;
  2548.         uint optionalArgCount = 0;
  2549.         uint argumentsPassed = 0;
  2550.         uint optionalArgumentsPassed = 0;
  2551.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2552.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2553.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2554.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2555.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2556.         return runtime[0].mInteger;
  2557.     }
  2558.     Interpreter::Type_Integer getforcesneak()
  2559.     {
  2560.         Interpreter::Type_Code codeword = 3388998092;//codeword without arguments
  2561.         Literals& literals;
  2562.         std::vector<Interpreter::Type_Code> code;
  2563.         uint argCount = 0;
  2564.         uint optionalArgCount = 0;
  2565.         uint argumentsPassed = 0;
  2566.         uint optionalArgumentsPassed = 0;
  2567.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2568.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2569.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2570.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2571.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2572.         return runtime[0].mInteger;
  2573.     }
  2574.     Interpreter::Type_Integer gethandtohand()
  2575.     {
  2576.         Interpreter::Type_Code codeword = 3388997800;//codeword without arguments
  2577.         Literals& literals;
  2578.         std::vector<Interpreter::Type_Code> code;
  2579.         uint argCount = 0;
  2580.         uint optionalArgCount = 0;
  2581.         uint argumentsPassed = 0;
  2582.         uint optionalArgumentsPassed = 0;
  2583.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2584.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2585.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2586.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2587.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2588.         return runtime[0].mInteger;
  2589.     }
  2590.     Interpreter::Type_Float gethealth()
  2591.     {
  2592.         Interpreter::Type_Code codeword = 3388997719;//codeword without arguments
  2593.         Literals& literals;
  2594.         std::vector<Interpreter::Type_Code> code;
  2595.         uint argCount = 0;
  2596.         uint optionalArgCount = 0;
  2597.         uint argumentsPassed = 0;
  2598.         uint optionalArgumentsPassed = 0;
  2599.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2600.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2601.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2602.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2603.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2604.         return runtime[0].mFloat;
  2605.     }
  2606.     Interpreter::Type_Float gethealthgetratio()
  2607.     {
  2608.         Interpreter::Type_Code codeword = 3388997743;//codeword without arguments
  2609.         Literals& literals;
  2610.         std::vector<Interpreter::Type_Code> code;
  2611.         uint argCount = 0;
  2612.         uint optionalArgCount = 0;
  2613.         uint argumentsPassed = 0;
  2614.         uint optionalArgumentsPassed = 0;
  2615.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2616.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2617.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2618.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2619.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2620.         return runtime[0].mFloat;
  2621.     }
  2622.     Interpreter::Type_Integer getheavyarmor()
  2623.     {
  2624.         Interpreter::Type_Code codeword = 3388997777;//codeword without arguments
  2625.         Literals& literals;
  2626.         std::vector<Interpreter::Type_Code> code;
  2627.         uint argCount = 0;
  2628.         uint optionalArgCount = 0;
  2629.         uint argumentsPassed = 0;
  2630.         uint optionalArgumentsPassed = 0;
  2631.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2632.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2633.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2634.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2635.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2636.         return runtime[0].mInteger;
  2637.     }
  2638.     Interpreter::Type_Integer gethello()
  2639.     {
  2640.         Interpreter::Type_Code codeword = 3388998079;//codeword without arguments
  2641.         Literals& literals;
  2642.         std::vector<Interpreter::Type_Code> code;
  2643.         uint argCount = 0;
  2644.         uint optionalArgCount = 0;
  2645.         uint argumentsPassed = 0;
  2646.         uint optionalArgumentsPassed = 0;
  2647.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2648.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2649.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2650.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2651.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2652.         return runtime[0].mInteger;
  2653.     }
  2654.     Interpreter::Type_Integer getillusion()
  2655.     {
  2656.         Interpreter::Type_Code codeword = 3388997786;//codeword without arguments
  2657.         Literals& literals;
  2658.         std::vector<Interpreter::Type_Code> code;
  2659.         uint argCount = 0;
  2660.         uint optionalArgCount = 0;
  2661.         uint argumentsPassed = 0;
  2662.         uint optionalArgumentsPassed = 0;
  2663.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2664.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2665.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2666.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2667.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2668.         return runtime[0].mInteger;
  2669.     }
  2670.     Interpreter::Type_Integer getintelligence()
  2671.     {
  2672.         Interpreter::Type_Code codeword = 3388997672;//codeword without arguments
  2673.         Literals& literals;
  2674.         std::vector<Interpreter::Type_Code> code;
  2675.         uint argCount = 0;
  2676.         uint optionalArgCount = 0;
  2677.         uint argumentsPassed = 0;
  2678.         uint optionalArgumentsPassed = 0;
  2679.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2680.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2681.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2682.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2683.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2684.         return runtime[0].mInteger;
  2685.     }
  2686.     Interpreter::Type_Integer getinterior()
  2687.     {
  2688.         Interpreter::Type_Code codeword = 3388997937;//codeword without arguments
  2689.         Literals& literals;
  2690.         std::vector<Interpreter::Type_Code> code;
  2691.         uint argCount = 0;
  2692.         uint optionalArgCount = 0;
  2693.         uint argumentsPassed = 0;
  2694.         uint optionalArgumentsPassed = 0;
  2695.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2696.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2697.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2698.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2699.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2700.         return runtime[0].mInteger;
  2701.     }
  2702.     Interpreter::Type_Integer getinvisible()
  2703.     {
  2704.         Interpreter::Type_Code codeword = 3388998265;//codeword without arguments
  2705.         Literals& literals;
  2706.         std::vector<Interpreter::Type_Code> code;
  2707.         uint argCount = 0;
  2708.         uint optionalArgCount = 0;
  2709.         uint argumentsPassed = 0;
  2710.         uint optionalArgumentsPassed = 0;
  2711.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2712.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2713.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2714.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2715.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2716.         return runtime[0].mInteger;
  2717.     }
  2718.     Interpreter::Type_Integer getitemcount(std::string arg0)
  2719.     {
  2720.         Interpreter::Type_Code codeword = 3388997752;//codeword without arguments
  2721.         Literals& literals;
  2722.         std::vector<Interpreter::Type_Code> code;
  2723.         uint argCount = 1;
  2724.         uint optionalArgCount = 0;
  2725.         uint argumentsPassed = 0;
  2726.         uint optionalArgumentsPassed = 0;
  2727.         if (arg0!="OPTIONAL_FLAG")
  2728.         {
  2729.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  2730.             argumentsPassed++;
  2731.         }
  2732.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2733.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2734.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2735.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2736.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2737.         return runtime[0].mInteger;
  2738.     }
  2739.     Interpreter::Type_Integer getjournalindex(std::string arg0)
  2740.     {
  2741.         Interpreter::Type_Code codeword = 3388997941;//codeword without arguments
  2742.         Literals& literals;
  2743.         std::vector<Interpreter::Type_Code> code;
  2744.         uint argCount = 1;
  2745.         uint optionalArgCount = 0;
  2746.         uint argumentsPassed = 0;
  2747.         uint optionalArgumentsPassed = 0;
  2748.         if (arg0!="OPTIONAL_FLAG")
  2749.         {
  2750.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  2751.             argumentsPassed++;
  2752.         }
  2753.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2754.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2755.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2756.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2757.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2758.         return runtime[0].mInteger;
  2759.     }
  2760.     Interpreter::Type_Integer getlevel()
  2761.     {
  2762.         Interpreter::Type_Code codeword = 3388998028;//codeword without arguments
  2763.         Literals& literals;
  2764.         std::vector<Interpreter::Type_Code> code;
  2765.         uint argCount = 0;
  2766.         uint optionalArgCount = 0;
  2767.         uint argumentsPassed = 0;
  2768.         uint optionalArgumentsPassed = 0;
  2769.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2770.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2771.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2772.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2773.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2774.         return runtime[0].mInteger;
  2775.     }
  2776.     Interpreter::Type_Integer getlightarmor()
  2777.     {
  2778.         Interpreter::Type_Code codeword = 3388997795;//codeword without arguments
  2779.         Literals& literals;
  2780.         std::vector<Interpreter::Type_Code> code;
  2781.         uint argCount = 0;
  2782.         uint optionalArgCount = 0;
  2783.         uint argumentsPassed = 0;
  2784.         uint optionalArgumentsPassed = 0;
  2785.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2786.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2787.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2788.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2789.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2790.         return runtime[0].mInteger;
  2791.     }
  2792.     Interpreter::Type_Integer getlineofsight(std::string arg0)
  2793.     {
  2794.         Interpreter::Type_Code codeword = 3388998178;//codeword without arguments
  2795.         Literals& literals;
  2796.         std::vector<Interpreter::Type_Code> code;
  2797.         uint argCount = 1;
  2798.         uint optionalArgCount = 0;
  2799.         uint argumentsPassed = 0;
  2800.         uint optionalArgumentsPassed = 0;
  2801.         if (arg0!="OPTIONAL_FLAG")
  2802.         {
  2803.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  2804.             argumentsPassed++;
  2805.         }
  2806.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2807.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2808.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2809.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2810.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2811.         return runtime[0].mInteger;
  2812.     }
  2813.     Interpreter::Type_Integer getlocked()
  2814.     {
  2815.         Interpreter::Type_Code codeword = 3388998087;//codeword without arguments
  2816.         Literals& literals;
  2817.         std::vector<Interpreter::Type_Code> code;
  2818.         uint argCount = 0;
  2819.         uint optionalArgCount = 0;
  2820.         uint argumentsPassed = 0;
  2821.         uint optionalArgumentsPassed = 0;
  2822.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2823.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2824.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2825.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2826.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2827.         return runtime[0].mInteger;
  2828.     }
  2829.     Interpreter::Type_Integer getlongblade()
  2830.     {
  2831.         Interpreter::Type_Code codeword = 3388997779;//codeword without arguments
  2832.         Literals& literals;
  2833.         std::vector<Interpreter::Type_Code> code;
  2834.         uint argCount = 0;
  2835.         uint optionalArgCount = 0;
  2836.         uint argumentsPassed = 0;
  2837.         uint optionalArgumentsPassed = 0;
  2838.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2839.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2840.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2841.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2842.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2843.         return runtime[0].mInteger;
  2844.     }
  2845.     Interpreter::Type_Integer getlos(std::string arg0)
  2846.     {
  2847.         Interpreter::Type_Code codeword = 3388998178;//codeword without arguments
  2848.         Literals& literals;
  2849.         std::vector<Interpreter::Type_Code> code;
  2850.         uint argCount = 1;
  2851.         uint optionalArgCount = 0;
  2852.         uint argumentsPassed = 0;
  2853.         uint optionalArgumentsPassed = 0;
  2854.         if (arg0!="OPTIONAL_FLAG")
  2855.         {
  2856.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  2857.             argumentsPassed++;
  2858.         }
  2859.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2860.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2861.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2862.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2863.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2864.         return runtime[0].mInteger;
  2865.     }
  2866.     Interpreter::Type_Integer getluck()
  2867.     {
  2868.         Interpreter::Type_Code codeword = 3388997678;//codeword without arguments
  2869.         Literals& literals;
  2870.         std::vector<Interpreter::Type_Code> code;
  2871.         uint argCount = 0;
  2872.         uint optionalArgCount = 0;
  2873.         uint argumentsPassed = 0;
  2874.         uint optionalArgumentsPassed = 0;
  2875.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2876.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2877.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2878.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2879.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2880.         return runtime[0].mInteger;
  2881.     }
  2882.     Interpreter::Type_Float getmagicka()
  2883.     {
  2884.         Interpreter::Type_Code codeword = 3388997720;//codeword without arguments
  2885.         Literals& literals;
  2886.         std::vector<Interpreter::Type_Code> code;
  2887.         uint argCount = 0;
  2888.         uint optionalArgCount = 0;
  2889.         uint argumentsPassed = 0;
  2890.         uint optionalArgumentsPassed = 0;
  2891.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2892.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2893.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2894.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2895.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2896.         return runtime[0].mFloat;
  2897.     }
  2898.     Interpreter::Type_Float getmagickagetratio()
  2899.     {
  2900.         Interpreter::Type_Code codeword = 3388997744;//codeword without arguments
  2901.         Literals& literals;
  2902.         std::vector<Interpreter::Type_Code> code;
  2903.         uint argCount = 0;
  2904.         uint optionalArgCount = 0;
  2905.         uint argumentsPassed = 0;
  2906.         uint optionalArgumentsPassed = 0;
  2907.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2908.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2909.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2910.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2911.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2912.         return runtime[0].mFloat;
  2913.     }
  2914.     Interpreter::Type_Integer getmarksman()
  2915.     {
  2916.         Interpreter::Type_Code codeword = 3388997797;//codeword without arguments
  2917.         Literals& literals;
  2918.         std::vector<Interpreter::Type_Code> code;
  2919.         uint argCount = 0;
  2920.         uint optionalArgCount = 0;
  2921.         uint argumentsPassed = 0;
  2922.         uint optionalArgumentsPassed = 0;
  2923.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2924.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2925.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2926.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2927.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2928.         return runtime[0].mInteger;
  2929.     }
  2930.     Interpreter::Type_Integer getmasserphase()
  2931.     {
  2932.         Interpreter::Type_Code codeword = 3388997668;//codeword without arguments
  2933.         Literals& literals;
  2934.         std::vector<Interpreter::Type_Code> code;
  2935.         uint argCount = 0;
  2936.         uint optionalArgCount = 0;
  2937.         uint argumentsPassed = 0;
  2938.         uint optionalArgumentsPassed = 0;
  2939.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2940.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2941.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2942.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2943.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2944.         return runtime[0].mInteger;
  2945.     }
  2946.     Interpreter::Type_Integer getmediumarmor()
  2947.     {
  2948.         Interpreter::Type_Code codeword = 3388997776;//codeword without arguments
  2949.         Literals& literals;
  2950.         std::vector<Interpreter::Type_Code> code;
  2951.         uint argCount = 0;
  2952.         uint optionalArgCount = 0;
  2953.         uint argumentsPassed = 0;
  2954.         uint optionalArgumentsPassed = 0;
  2955.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2956.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2957.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2958.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2959.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2960.         return runtime[0].mInteger;
  2961.     }
  2962.     Interpreter::Type_Integer getmercantile()
  2963.     {
  2964.         Interpreter::Type_Code codeword = 3388997798;//codeword without arguments
  2965.         Literals& literals;
  2966.         std::vector<Interpreter::Type_Code> code;
  2967.         uint argCount = 0;
  2968.         uint optionalArgCount = 0;
  2969.         uint argumentsPassed = 0;
  2970.         uint optionalArgumentsPassed = 0;
  2971.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2972.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2973.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2974.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2975.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2976.         return runtime[0].mInteger;
  2977.     }
  2978.     Interpreter::Type_Integer getmysticism()
  2979.     {
  2980.         Interpreter::Type_Code codeword = 3388997788;//codeword without arguments
  2981.         Literals& literals;
  2982.         std::vector<Interpreter::Type_Code> code;
  2983.         uint argCount = 0;
  2984.         uint optionalArgCount = 0;
  2985.         uint argumentsPassed = 0;
  2986.         uint optionalArgumentsPassed = 0;
  2987.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  2988.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  2989.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  2990.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  2991.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  2992.         return runtime[0].mInteger;
  2993.     }
  2994.     Interpreter::Type_Integer getparalysis()
  2995.     {
  2996.         Interpreter::Type_Code codeword = 3388998264;//codeword without arguments
  2997.         Literals& literals;
  2998.         std::vector<Interpreter::Type_Code> code;
  2999.         uint argCount = 0;
  3000.         uint optionalArgCount = 0;
  3001.         uint argumentsPassed = 0;
  3002.         uint optionalArgumentsPassed = 0;
  3003.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3004.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3005.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3006.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3007.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3008.         return runtime[0].mInteger;
  3009.     }
  3010.     Interpreter::Type_Integer getpccell(std::string arg0)
  3011.     {
  3012.         Interpreter::Type_Code codeword = 3388997942;//codeword without arguments
  3013.         Literals& literals;
  3014.         std::vector<Interpreter::Type_Code> code;
  3015.         uint argCount = 1;
  3016.         uint optionalArgCount = 0;
  3017.         uint argumentsPassed = 0;
  3018.         uint optionalArgumentsPassed = 0;
  3019.         if (arg0!="OPTIONAL_FLAG")
  3020.         {
  3021.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3022.             argumentsPassed++;
  3023.         }
  3024.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3025.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3026.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3027.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3028.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3029.         return runtime[0].mInteger;
  3030.     }
  3031.     Interpreter::Type_Float getpccrimelevel()
  3032.     {
  3033.         Interpreter::Type_Code codeword = 3388998124;//codeword without arguments
  3034.         Literals& literals;
  3035.         std::vector<Interpreter::Type_Code> code;
  3036.         uint argCount = 0;
  3037.         uint optionalArgCount = 0;
  3038.         uint argumentsPassed = 0;
  3039.         uint optionalArgumentsPassed = 0;
  3040.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3041.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3042.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3043.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3044.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3045.         return runtime[0].mFloat;
  3046.     }
  3047.     Interpreter::Type_Integer getpcfacrep(std::string arg0)
  3048.     {
  3049.         Interpreter::Type_Code codeword = 3254784512;//codeword without arguments
  3050.         Literals& literals;
  3051.         std::vector<Interpreter::Type_Code> code;
  3052.         uint argCount = 1;
  3053.         uint optionalArgCount = 1;
  3054.         uint argumentsPassed = 0;
  3055.         uint optionalArgumentsPassed = 0;
  3056.         if (arg0!="OPTIONAL_FLAG")
  3057.         {
  3058.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3059.             argumentsPassed++;
  3060.         }
  3061.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3062.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3063.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3064.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3065.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3066.         return runtime[0].mInteger;
  3067.     }
  3068.     Interpreter::Type_Integer getpcinjail()
  3069.     {
  3070.         Interpreter::Type_Code codeword = 3388998206;//codeword without arguments
  3071.         Literals& literals;
  3072.         std::vector<Interpreter::Type_Code> code;
  3073.         uint argCount = 0;
  3074.         uint optionalArgCount = 0;
  3075.         uint argumentsPassed = 0;
  3076.         uint optionalArgumentsPassed = 0;
  3077.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3078.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3079.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3080.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3081.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3082.         return runtime[0].mInteger;
  3083.     }
  3084.     Interpreter::Type_Integer getpcjumping()
  3085.     {
  3086.         Interpreter::Type_Code codeword = 3388998195;//codeword without arguments
  3087.         Literals& literals;
  3088.         std::vector<Interpreter::Type_Code> code;
  3089.         uint argCount = 0;
  3090.         uint optionalArgCount = 0;
  3091.         uint argumentsPassed = 0;
  3092.         uint optionalArgumentsPassed = 0;
  3093.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3094.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3095.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3096.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3097.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3098.         return runtime[0].mInteger;
  3099.     }
  3100.     Interpreter::Type_Integer getpcrank(std::string arg0)
  3101.     {
  3102.         Interpreter::Type_Code codeword = 3254783488;//codeword without arguments
  3103.         Literals& literals;
  3104.         std::vector<Interpreter::Type_Code> code;
  3105.         uint argCount = 1;
  3106.         uint optionalArgCount = 1;
  3107.         uint argumentsPassed = 0;
  3108.         uint optionalArgumentsPassed = 0;
  3109.         if (arg0!="OPTIONAL_FLAG")
  3110.         {
  3111.             Compiler::Generator.pushString(code, literals, arg0);
  3112.             argumentsPassed++;
  3113.         }
  3114.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3115.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3116.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3117.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3118.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3119.         return runtime[0].mInteger;
  3120.     }
  3121.     Interpreter::Type_Integer getpcrunning()
  3122.     {
  3123.         Interpreter::Type_Code codeword = 3388998089;//codeword without arguments
  3124.         Literals& literals;
  3125.         std::vector<Interpreter::Type_Code> code;
  3126.         uint argCount = 0;
  3127.         uint optionalArgCount = 0;
  3128.         uint argumentsPassed = 0;
  3129.         uint optionalArgumentsPassed = 0;
  3130.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3131.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3132.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3133.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3134.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3135.         return runtime[0].mInteger;
  3136.     }
  3137.     Interpreter::Type_Integer getpcsleep()
  3138.     {
  3139.         Interpreter::Type_Code codeword = 3388998047;//codeword without arguments
  3140.         Literals& literals;
  3141.         std::vector<Interpreter::Type_Code> code;
  3142.         uint argCount = 0;
  3143.         uint optionalArgCount = 0;
  3144.         uint argumentsPassed = 0;
  3145.         uint optionalArgumentsPassed = 0;
  3146.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3147.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3148.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3149.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3150.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3151.         return runtime[0].mInteger;
  3152.     }
  3153.     Interpreter::Type_Integer getpcsneaking()
  3154.     {
  3155.         Interpreter::Type_Code codeword = 3388998090;//codeword without arguments
  3156.         Literals& literals;
  3157.         std::vector<Interpreter::Type_Code> code;
  3158.         uint argCount = 0;
  3159.         uint optionalArgCount = 0;
  3160.         uint argumentsPassed = 0;
  3161.         uint optionalArgumentsPassed = 0;
  3162.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3163.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3164.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3165.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3166.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3167.         return runtime[0].mInteger;
  3168.     }
  3169.     Interpreter::Type_Integer getpctraveling()
  3170.     {
  3171.         Interpreter::Type_Code codeword = 3388998207;//codeword without arguments
  3172.         Literals& literals;
  3173.         std::vector<Interpreter::Type_Code> code;
  3174.         uint argCount = 0;
  3175.         uint optionalArgCount = 0;
  3176.         uint argumentsPassed = 0;
  3177.         uint optionalArgumentsPassed = 0;
  3178.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3179.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3180.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3181.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3182.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3183.         return runtime[0].mInteger;
  3184.     }
  3185.     Interpreter::Type_Integer getpersonality()
  3186.     {
  3187.         Interpreter::Type_Code codeword = 3388997677;//codeword without arguments
  3188.         Literals& literals;
  3189.         std::vector<Interpreter::Type_Code> code;
  3190.         uint argCount = 0;
  3191.         uint optionalArgCount = 0;
  3192.         uint argumentsPassed = 0;
  3193.         uint optionalArgumentsPassed = 0;
  3194.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3195.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3196.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3197.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3198.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3199.         return runtime[0].mInteger;
  3200.     }
  3201.     Interpreter::Type_Integer getplayercontrolsdisabled()
  3202.     {
  3203.         Interpreter::Type_Code codeword = 3388998005;//codeword without arguments
  3204.         Literals& literals;
  3205.         std::vector<Interpreter::Type_Code> code;
  3206.         uint argCount = 0;
  3207.         uint optionalArgCount = 0;
  3208.         uint argumentsPassed = 0;
  3209.         uint optionalArgumentsPassed = 0;
  3210.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3211.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3212.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3213.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3214.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3215.         return runtime[0].mInteger;
  3216.     }
  3217.     Interpreter::Type_Integer getplayerfightingdisabled()
  3218.     {
  3219.         Interpreter::Type_Code codeword = 3388998006;//codeword without arguments
  3220.         Literals& literals;
  3221.         std::vector<Interpreter::Type_Code> code;
  3222.         uint argCount = 0;
  3223.         uint optionalArgCount = 0;
  3224.         uint argumentsPassed = 0;
  3225.         uint optionalArgumentsPassed = 0;
  3226.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3227.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3228.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3229.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3230.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3231.         return runtime[0].mInteger;
  3232.     }
  3233.     Interpreter::Type_Integer getplayerjumpingdisabled()
  3234.     {
  3235.         Interpreter::Type_Code codeword = 3388998007;//codeword without arguments
  3236.         Literals& literals;
  3237.         std::vector<Interpreter::Type_Code> code;
  3238.         uint argCount = 0;
  3239.         uint optionalArgCount = 0;
  3240.         uint argumentsPassed = 0;
  3241.         uint optionalArgumentsPassed = 0;
  3242.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3243.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3244.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3245.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3246.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3247.         return runtime[0].mInteger;
  3248.     }
  3249.     Interpreter::Type_Integer getplayerlookingdisabled()
  3250.     {
  3251.         Interpreter::Type_Code codeword = 3388998008;//codeword without arguments
  3252.         Literals& literals;
  3253.         std::vector<Interpreter::Type_Code> code;
  3254.         uint argCount = 0;
  3255.         uint optionalArgCount = 0;
  3256.         uint argumentsPassed = 0;
  3257.         uint optionalArgumentsPassed = 0;
  3258.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3259.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3260.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3261.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3262.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3263.         return runtime[0].mInteger;
  3264.     }
  3265.     Interpreter::Type_Integer getplayermagicdisabled()
  3266.     {
  3267.         Interpreter::Type_Code codeword = 3388998009;//codeword without arguments
  3268.         Literals& literals;
  3269.         std::vector<Interpreter::Type_Code> code;
  3270.         uint argCount = 0;
  3271.         uint optionalArgCount = 0;
  3272.         uint argumentsPassed = 0;
  3273.         uint optionalArgumentsPassed = 0;
  3274.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3275.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3276.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3277.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3278.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3279.         return runtime[0].mInteger;
  3280.     }
  3281.     Interpreter::Type_Integer getplayerviewswitchdisabled()
  3282.     {
  3283.         Interpreter::Type_Code codeword = 3388998010;//codeword without arguments
  3284.         Literals& literals;
  3285.         std::vector<Interpreter::Type_Code> code;
  3286.         uint argCount = 0;
  3287.         uint optionalArgCount = 0;
  3288.         uint argumentsPassed = 0;
  3289.         uint optionalArgumentsPassed = 0;
  3290.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3291.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3292.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3293.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3294.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3295.         return runtime[0].mInteger;
  3296.     }
  3297.     Interpreter::Type_Float getpos(std::string arg0)
  3298.     {
  3299.         Interpreter::Type_Code codeword = 3388998032;//codeword without arguments
  3300.         Literals& literals;
  3301.         std::vector<Interpreter::Type_Code> code;
  3302.         uint argCount = 1;
  3303.         uint optionalArgCount = 0;
  3304.         uint argumentsPassed = 0;
  3305.         uint optionalArgumentsPassed = 0;
  3306.         if (arg0!="OPTIONAL_FLAG")
  3307.         {
  3308.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3309.             argumentsPassed++;
  3310.         }
  3311.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3312.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3313.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3314.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3315.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3316.         return runtime[0].mFloat;
  3317.     }
  3318.     Interpreter::Type_Integer getrace(std::string arg0)
  3319.     {
  3320.         Interpreter::Type_Code codeword = 3388998105;//codeword without arguments
  3321.         Literals& literals;
  3322.         std::vector<Interpreter::Type_Code> code;
  3323.         uint argCount = 1;
  3324.         uint optionalArgCount = 0;
  3325.         uint argumentsPassed = 0;
  3326.         uint optionalArgumentsPassed = 0;
  3327.         if (arg0!="OPTIONAL_FLAG")
  3328.         {
  3329.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3330.             argumentsPassed++;
  3331.         }
  3332.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3333.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3334.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3335.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3336.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3337.         return runtime[0].mInteger;
  3338.     }
  3339.     Interpreter::Type_Integer getreputation()
  3340.     {
  3341.         Interpreter::Type_Code codeword = 3388998065;//codeword without arguments
  3342.         Literals& literals;
  3343.         std::vector<Interpreter::Type_Code> code;
  3344.         uint argCount = 0;
  3345.         uint optionalArgCount = 0;
  3346.         uint argumentsPassed = 0;
  3347.         uint optionalArgumentsPassed = 0;
  3348.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3349.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3350.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3351.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3352.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3353.         return runtime[0].mInteger;
  3354.     }
  3355.     Interpreter::Type_Integer getresistblight()
  3356.     {
  3357.         Interpreter::Type_Code codeword = 3388998249;//codeword without arguments
  3358.         Literals& literals;
  3359.         std::vector<Interpreter::Type_Code> code;
  3360.         uint argCount = 0;
  3361.         uint optionalArgCount = 0;
  3362.         uint argumentsPassed = 0;
  3363.         uint optionalArgumentsPassed = 0;
  3364.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3365.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3366.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3367.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3368.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3369.         return runtime[0].mInteger;
  3370.     }
  3371.     Interpreter::Type_Integer getresistcorprus()
  3372.     {
  3373.         Interpreter::Type_Code codeword = 3388998250;//codeword without arguments
  3374.         Literals& literals;
  3375.         std::vector<Interpreter::Type_Code> code;
  3376.         uint argCount = 0;
  3377.         uint optionalArgCount = 0;
  3378.         uint argumentsPassed = 0;
  3379.         uint optionalArgumentsPassed = 0;
  3380.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3381.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3382.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3383.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3384.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3385.         return runtime[0].mInteger;
  3386.     }
  3387.     Interpreter::Type_Integer getresistdisease()
  3388.     {
  3389.         Interpreter::Type_Code codeword = 3388998248;//codeword without arguments
  3390.         Literals& literals;
  3391.         std::vector<Interpreter::Type_Code> code;
  3392.         uint argCount = 0;
  3393.         uint optionalArgCount = 0;
  3394.         uint argumentsPassed = 0;
  3395.         uint optionalArgumentsPassed = 0;
  3396.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3397.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3398.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3399.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3400.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3401.         return runtime[0].mInteger;
  3402.     }
  3403.     Interpreter::Type_Integer getresistfire()
  3404.     {
  3405.         Interpreter::Type_Code codeword = 3388998245;//codeword without arguments
  3406.         Literals& literals;
  3407.         std::vector<Interpreter::Type_Code> code;
  3408.         uint argCount = 0;
  3409.         uint optionalArgCount = 0;
  3410.         uint argumentsPassed = 0;
  3411.         uint optionalArgumentsPassed = 0;
  3412.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3413.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3414.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3415.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3416.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3417.         return runtime[0].mInteger;
  3418.     }
  3419.     Interpreter::Type_Integer getresistfrost()
  3420.     {
  3421.         Interpreter::Type_Code codeword = 3388998246;//codeword without arguments
  3422.         Literals& literals;
  3423.         std::vector<Interpreter::Type_Code> code;
  3424.         uint argCount = 0;
  3425.         uint optionalArgCount = 0;
  3426.         uint argumentsPassed = 0;
  3427.         uint optionalArgumentsPassed = 0;
  3428.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3429.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3430.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3431.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3432.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3433.         return runtime[0].mInteger;
  3434.     }
  3435.     Interpreter::Type_Integer getresistmagicka()
  3436.     {
  3437.         Interpreter::Type_Code codeword = 3388998244;//codeword without arguments
  3438.         Literals& literals;
  3439.         std::vector<Interpreter::Type_Code> code;
  3440.         uint argCount = 0;
  3441.         uint optionalArgCount = 0;
  3442.         uint argumentsPassed = 0;
  3443.         uint optionalArgumentsPassed = 0;
  3444.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3445.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3446.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3447.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3448.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3449.         return runtime[0].mInteger;
  3450.     }
  3451.     Interpreter::Type_Integer getresistnormalweapons()
  3452.     {
  3453.         Interpreter::Type_Code codeword = 3388998253;//codeword without arguments
  3454.         Literals& literals;
  3455.         std::vector<Interpreter::Type_Code> code;
  3456.         uint argCount = 0;
  3457.         uint optionalArgCount = 0;
  3458.         uint argumentsPassed = 0;
  3459.         uint optionalArgumentsPassed = 0;
  3460.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3461.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3462.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3463.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3464.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3465.         return runtime[0].mInteger;
  3466.     }
  3467.     Interpreter::Type_Integer getresistparalysis()
  3468.     {
  3469.         Interpreter::Type_Code codeword = 3388998252;//codeword without arguments
  3470.         Literals& literals;
  3471.         std::vector<Interpreter::Type_Code> code;
  3472.         uint argCount = 0;
  3473.         uint optionalArgCount = 0;
  3474.         uint argumentsPassed = 0;
  3475.         uint optionalArgumentsPassed = 0;
  3476.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3477.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3478.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3479.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3480.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3481.         return runtime[0].mInteger;
  3482.     }
  3483.     Interpreter::Type_Integer getresistpoison()
  3484.     {
  3485.         Interpreter::Type_Code codeword = 3388998251;//codeword without arguments
  3486.         Literals& literals;
  3487.         std::vector<Interpreter::Type_Code> code;
  3488.         uint argCount = 0;
  3489.         uint optionalArgCount = 0;
  3490.         uint argumentsPassed = 0;
  3491.         uint optionalArgumentsPassed = 0;
  3492.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3493.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3494.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3495.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3496.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3497.         return runtime[0].mInteger;
  3498.     }
  3499.     Interpreter::Type_Integer getresistshock()
  3500.     {
  3501.         Interpreter::Type_Code codeword = 3388998247;//codeword without arguments
  3502.         Literals& literals;
  3503.         std::vector<Interpreter::Type_Code> code;
  3504.         uint argCount = 0;
  3505.         uint optionalArgCount = 0;
  3506.         uint argumentsPassed = 0;
  3507.         uint optionalArgumentsPassed = 0;
  3508.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3509.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3510.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3511.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3512.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3513.         return runtime[0].mInteger;
  3514.     }
  3515.     Interpreter::Type_Integer getrestoration()
  3516.     {
  3517.         Interpreter::Type_Code codeword = 3388997789;//codeword without arguments
  3518.         Literals& literals;
  3519.         std::vector<Interpreter::Type_Code> code;
  3520.         uint argCount = 0;
  3521.         uint optionalArgCount = 0;
  3522.         uint argumentsPassed = 0;
  3523.         uint optionalArgumentsPassed = 0;
  3524.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3525.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3526.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3527.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3528.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3529.         return runtime[0].mInteger;
  3530.     }
  3531.     Interpreter::Type_Float getscale()
  3532.     {
  3533.         Interpreter::Type_Code codeword = 3388997992;//codeword without arguments
  3534.         Literals& literals;
  3535.         std::vector<Interpreter::Type_Code> code;
  3536.         uint argCount = 0;
  3537.         uint optionalArgCount = 0;
  3538.         uint argumentsPassed = 0;
  3539.         uint optionalArgumentsPassed = 0;
  3540.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3541.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3542.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3543.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3544.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3545.         return runtime[0].mFloat;
  3546.     }
  3547.     Interpreter::Type_Integer getsecundaphase()
  3548.     {
  3549.         Interpreter::Type_Code codeword = 3388997669;//codeword without arguments
  3550.         Literals& literals;
  3551.         std::vector<Interpreter::Type_Code> code;
  3552.         uint argCount = 0;
  3553.         uint optionalArgCount = 0;
  3554.         uint argumentsPassed = 0;
  3555.         uint optionalArgumentsPassed = 0;
  3556.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3557.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3558.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3559.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3560.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3561.         return runtime[0].mInteger;
  3562.     }
  3563.     Interpreter::Type_Integer getsecurity()
  3564.     {
  3565.         Interpreter::Type_Code codeword = 3388997792;//codeword without arguments
  3566.         Literals& literals;
  3567.         std::vector<Interpreter::Type_Code> code;
  3568.         uint argCount = 0;
  3569.         uint optionalArgCount = 0;
  3570.         uint argumentsPassed = 0;
  3571.         uint optionalArgumentsPassed = 0;
  3572.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3573.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3574.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3575.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3576.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3577.         return runtime[0].mInteger;
  3578.     }
  3579.     Interpreter::Type_Integer getshortblade()
  3580.     {
  3581.         Interpreter::Type_Code codeword = 3388997796;//codeword without arguments
  3582.         Literals& literals;
  3583.         std::vector<Interpreter::Type_Code> code;
  3584.         uint argCount = 0;
  3585.         uint optionalArgCount = 0;
  3586.         uint argumentsPassed = 0;
  3587.         uint optionalArgumentsPassed = 0;
  3588.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3589.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3590.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3591.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3592.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3593.         return runtime[0].mInteger;
  3594.     }
  3595.     Interpreter::Type_Integer getsilence()
  3596.     {
  3597.         Interpreter::Type_Code codeword = 3388998262;//codeword without arguments
  3598.         Literals& literals;
  3599.         std::vector<Interpreter::Type_Code> code;
  3600.         uint argCount = 0;
  3601.         uint optionalArgCount = 0;
  3602.         uint argumentsPassed = 0;
  3603.         uint optionalArgumentsPassed = 0;
  3604.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3605.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3606.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3607.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3608.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3609.         return runtime[0].mInteger;
  3610.     }
  3611.     Interpreter::Type_Integer getsneak()
  3612.     {
  3613.         Interpreter::Type_Code codeword = 3388997793;//codeword without arguments
  3614.         Literals& literals;
  3615.         std::vector<Interpreter::Type_Code> code;
  3616.         uint argCount = 0;
  3617.         uint optionalArgCount = 0;
  3618.         uint argumentsPassed = 0;
  3619.         uint optionalArgumentsPassed = 0;
  3620.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3621.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3622.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3623.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3624.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3625.         return runtime[0].mInteger;
  3626.     }
  3627.     Interpreter::Type_Integer getsoundplaying(std::string arg0)
  3628.     {
  3629.         Interpreter::Type_Code codeword = 3388997643;//codeword without arguments
  3630.         Literals& literals;
  3631.         std::vector<Interpreter::Type_Code> code;
  3632.         uint argCount = 1;
  3633.         uint optionalArgCount = 0;
  3634.         uint argumentsPassed = 0;
  3635.         uint optionalArgumentsPassed = 0;
  3636.         if (arg0!="OPTIONAL_FLAG")
  3637.         {
  3638.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3639.             argumentsPassed++;
  3640.         }
  3641.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3642.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3643.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3644.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3645.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3646.         return runtime[0].mInteger;
  3647.     }
  3648.     Interpreter::Type_Integer getspear()
  3649.     {
  3650.         Interpreter::Type_Code codeword = 3388997781;//codeword without arguments
  3651.         Literals& literals;
  3652.         std::vector<Interpreter::Type_Code> code;
  3653.         uint argCount = 0;
  3654.         uint optionalArgCount = 0;
  3655.         uint argumentsPassed = 0;
  3656.         uint optionalArgumentsPassed = 0;
  3657.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3658.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3659.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3660.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3661.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3662.         return runtime[0].mInteger;
  3663.     }
  3664.     Interpreter::Type_Integer getspeechcraft()
  3665.     {
  3666.         Interpreter::Type_Code codeword = 3388997799;//codeword without arguments
  3667.         Literals& literals;
  3668.         std::vector<Interpreter::Type_Code> code;
  3669.         uint argCount = 0;
  3670.         uint optionalArgCount = 0;
  3671.         uint argumentsPassed = 0;
  3672.         uint optionalArgumentsPassed = 0;
  3673.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3674.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3675.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3676.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3677.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3678.         return runtime[0].mInteger;
  3679.     }
  3680.     Interpreter::Type_Integer getspeed()
  3681.     {
  3682.         Interpreter::Type_Code codeword = 3388997675;//codeword without arguments
  3683.         Literals& literals;
  3684.         std::vector<Interpreter::Type_Code> code;
  3685.         uint argCount = 0;
  3686.         uint optionalArgCount = 0;
  3687.         uint argumentsPassed = 0;
  3688.         uint optionalArgumentsPassed = 0;
  3689.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3690.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3691.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3692.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3693.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3694.         return runtime[0].mInteger;
  3695.     }
  3696.     Interpreter::Type_Integer getspell(std::string arg0)
  3697.     {
  3698.         Interpreter::Type_Code codeword = 3388997963;//codeword without arguments
  3699.         Literals& literals;
  3700.         std::vector<Interpreter::Type_Code> code;
  3701.         uint argCount = 1;
  3702.         uint optionalArgCount = 0;
  3703.         uint argumentsPassed = 0;
  3704.         uint optionalArgumentsPassed = 0;
  3705.         if (arg0!="OPTIONAL_FLAG")
  3706.         {
  3707.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3708.             argumentsPassed++;
  3709.         }
  3710.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3711.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3712.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3713.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3714.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3715.         return runtime[0].mInteger;
  3716.     }
  3717.     Interpreter::Type_Integer getspelleffects(std::string arg0)
  3718.     {
  3719.         Interpreter::Type_Code codeword = 3388998107;//codeword without arguments
  3720.         Literals& literals;
  3721.         std::vector<Interpreter::Type_Code> code;
  3722.         uint argCount = 1;
  3723.         uint optionalArgCount = 0;
  3724.         uint argumentsPassed = 0;
  3725.         uint optionalArgumentsPassed = 0;
  3726.         if (arg0!="OPTIONAL_FLAG")
  3727.         {
  3728.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3729.             argumentsPassed++;
  3730.         }
  3731.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3732.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3733.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3734.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3735.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3736.         return runtime[0].mInteger;
  3737.     }
  3738.     Interpreter::Type_Integer getspellreadied()
  3739.     {
  3740.         Interpreter::Type_Code codeword = 3388998193;//codeword without arguments
  3741.         Literals& literals;
  3742.         std::vector<Interpreter::Type_Code> code;
  3743.         uint argCount = 0;
  3744.         uint optionalArgCount = 0;
  3745.         uint argumentsPassed = 0;
  3746.         uint optionalArgumentsPassed = 0;
  3747.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3748.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3749.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3750.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3751.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3752.         return runtime[0].mInteger;
  3753.     }
  3754.     Interpreter::Type_Float getsquareroot(Interpreter::Type_Float arg0)
  3755.     {
  3756.         Interpreter::Type_Code codeword = 3388998119;//codeword without arguments
  3757.         Literals& literals;
  3758.         std::vector<Interpreter::Type_Code> code;
  3759.         uint argCount = 1;
  3760.         uint optionalArgCount = 0;
  3761.         uint argumentsPassed = 0;
  3762.         uint optionalArgumentsPassed = 0;
  3763.         if (arg0!=-123456)
  3764.         {
  3765.             Compiler::Generator.pushFloat(code, literals, arg0);
  3766.             argumentsPassed++;
  3767.         }
  3768.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3769.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3770.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3771.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3772.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3773.         return runtime[0].mFloat;
  3774.     }
  3775.     Interpreter::Type_Integer getstandingactor()
  3776.     {
  3777.         Interpreter::Type_Code codeword = 3388998158;//codeword without arguments
  3778.         Literals& literals;
  3779.         std::vector<Interpreter::Type_Code> code;
  3780.         uint argCount = 0;
  3781.         uint optionalArgCount = 0;
  3782.         uint argumentsPassed = 0;
  3783.         uint optionalArgumentsPassed = 0;
  3784.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3785.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3786.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3787.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3788.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3789.         return runtime[0].mInteger;
  3790.     }
  3791.     Interpreter::Type_Integer getstandingpc()
  3792.     {
  3793.         Interpreter::Type_Code codeword = 3388998156;//codeword without arguments
  3794.         Literals& literals;
  3795.         std::vector<Interpreter::Type_Code> code;
  3796.         uint argCount = 0;
  3797.         uint optionalArgCount = 0;
  3798.         uint argumentsPassed = 0;
  3799.         uint optionalArgumentsPassed = 0;
  3800.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3801.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3802.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3803.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3804.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3805.         return runtime[0].mInteger;
  3806.     }
  3807.     Interpreter::Type_Float getstartingangle(std::string arg0)
  3808.     {
  3809.         Interpreter::Type_Code codeword = 3388998160;//codeword without arguments
  3810.         Literals& literals;
  3811.         std::vector<Interpreter::Type_Code> code;
  3812.         uint argCount = 1;
  3813.         uint optionalArgCount = 0;
  3814.         uint argumentsPassed = 0;
  3815.         uint optionalArgumentsPassed = 0;
  3816.         if (arg0!="OPTIONAL_FLAG")
  3817.         {
  3818.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3819.             argumentsPassed++;
  3820.         }
  3821.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3822.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3823.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3824.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3825.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3826.         return runtime[0].mFloat;
  3827.     }
  3828.     Interpreter::Type_Float getstartingpos(std::string arg0)
  3829.     {
  3830.         Interpreter::Type_Code codeword = 3388998036;//codeword without arguments
  3831.         Literals& literals;
  3832.         std::vector<Interpreter::Type_Code> code;
  3833.         uint argCount = 1;
  3834.         uint optionalArgCount = 0;
  3835.         uint argumentsPassed = 0;
  3836.         uint optionalArgumentsPassed = 0;
  3837.         if (arg0!="OPTIONAL_FLAG")
  3838.         {
  3839.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3840.             argumentsPassed++;
  3841.         }
  3842.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3843.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3844.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3845.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3846.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3847.         return runtime[0].mFloat;
  3848.     }
  3849.     Interpreter::Type_Integer getstat(std::string arg0)
  3850.     {
  3851.         Interpreter::Type_Code codeword = 3388998222;//codeword without arguments
  3852.         Literals& literals;
  3853.         std::vector<Interpreter::Type_Code> code;
  3854.         uint argCount = 1;
  3855.         uint optionalArgCount = 0;
  3856.         uint argumentsPassed = 0;
  3857.         uint optionalArgumentsPassed = 0;
  3858.         if (arg0!="OPTIONAL_FLAG")
  3859.         {
  3860.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3861.             argumentsPassed++;
  3862.         }
  3863.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3864.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3865.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3866.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3867.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3868.         return runtime[0].mInteger;
  3869.     }
  3870.     Interpreter::Type_Integer getstrength()
  3871.     {
  3872.         Interpreter::Type_Code codeword = 3388997671;//codeword without arguments
  3873.         Literals& literals;
  3874.         std::vector<Interpreter::Type_Code> code;
  3875.         uint argCount = 0;
  3876.         uint optionalArgCount = 0;
  3877.         uint argumentsPassed = 0;
  3878.         uint optionalArgumentsPassed = 0;
  3879.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3880.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3881.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3882.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3883.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3884.         return runtime[0].mInteger;
  3885.     }
  3886.     Interpreter::Type_Integer getsuperjump()
  3887.     {
  3888.         Interpreter::Type_Code codeword = 3388998258;//codeword without arguments
  3889.         Literals& literals;
  3890.         std::vector<Interpreter::Type_Code> code;
  3891.         uint argCount = 0;
  3892.         uint optionalArgCount = 0;
  3893.         uint argumentsPassed = 0;
  3894.         uint optionalArgumentsPassed = 0;
  3895.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3896.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3897.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3898.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3899.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3900.         return runtime[0].mInteger;
  3901.     }
  3902.     Interpreter::Type_Integer getswimspeed()
  3903.     {
  3904.         Interpreter::Type_Code codeword = 3388998257;//codeword without arguments
  3905.         Literals& literals;
  3906.         std::vector<Interpreter::Type_Code> code;
  3907.         uint argCount = 0;
  3908.         uint optionalArgCount = 0;
  3909.         uint argumentsPassed = 0;
  3910.         uint optionalArgumentsPassed = 0;
  3911.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3912.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3913.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3914.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3915.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3916.         return runtime[0].mInteger;
  3917.     }
  3918.     Interpreter::Type_Integer gettarget(std::string arg0)
  3919.     {
  3920.         Interpreter::Type_Code codeword = 3388998200;//codeword without arguments
  3921.         Literals& literals;
  3922.         std::vector<Interpreter::Type_Code> code;
  3923.         uint argCount = 1;
  3924.         uint optionalArgCount = 0;
  3925.         uint argumentsPassed = 0;
  3926.         uint optionalArgumentsPassed = 0;
  3927.         if (arg0!="OPTIONAL_FLAG")
  3928.         {
  3929.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  3930.             argumentsPassed++;
  3931.         }
  3932.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3933.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3934.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3935.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3936.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3937.         return runtime[0].mInteger;
  3938.     }
  3939.     Interpreter::Type_Integer getunarmored()
  3940.     {
  3941.         Interpreter::Type_Code codeword = 3388997791;//codeword without arguments
  3942.         Literals& literals;
  3943.         std::vector<Interpreter::Type_Code> code;
  3944.         uint argCount = 0;
  3945.         uint optionalArgCount = 0;
  3946.         uint argumentsPassed = 0;
  3947.         uint optionalArgumentsPassed = 0;
  3948.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3949.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3950.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3951.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3952.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3953.         return runtime[0].mInteger;
  3954.     }
  3955.     Interpreter::Type_Integer getvanitymodedisabled()
  3956.     {
  3957.         Interpreter::Type_Code codeword = 3388998011;//codeword without arguments
  3958.         Literals& literals;
  3959.         std::vector<Interpreter::Type_Code> code;
  3960.         uint argCount = 0;
  3961.         uint optionalArgCount = 0;
  3962.         uint argumentsPassed = 0;
  3963.         uint optionalArgumentsPassed = 0;
  3964.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3965.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3966.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3967.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3968.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3969.         return runtime[0].mInteger;
  3970.     }
  3971.     Interpreter::Type_Integer getwaterbreathing()
  3972.     {
  3973.         Interpreter::Type_Code codeword = 3388998254;//codeword without arguments
  3974.         Literals& literals;
  3975.         std::vector<Interpreter::Type_Code> code;
  3976.         uint argCount = 0;
  3977.         uint optionalArgCount = 0;
  3978.         uint argumentsPassed = 0;
  3979.         uint optionalArgumentsPassed = 0;
  3980.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3981.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3982.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3983.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  3984.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  3985.         return runtime[0].mInteger;
  3986.     }
  3987.     Interpreter::Type_Float getwaterlevel()
  3988.     {
  3989.         Interpreter::Type_Code codeword = 3388997953;//codeword without arguments
  3990.         Literals& literals;
  3991.         std::vector<Interpreter::Type_Code> code;
  3992.         uint argCount = 0;
  3993.         uint optionalArgCount = 0;
  3994.         uint argumentsPassed = 0;
  3995.         uint optionalArgumentsPassed = 0;
  3996.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  3997.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  3998.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  3999.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4000.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4001.         return runtime[0].mFloat;
  4002.     }
  4003.     Interpreter::Type_Integer getwaterwalking()
  4004.     {
  4005.         Interpreter::Type_Code codeword = 3388998256;//codeword without arguments
  4006.         Literals& literals;
  4007.         std::vector<Interpreter::Type_Code> code;
  4008.         uint argCount = 0;
  4009.         uint optionalArgCount = 0;
  4010.         uint argumentsPassed = 0;
  4011.         uint optionalArgumentsPassed = 0;
  4012.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4013.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4014.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4015.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4016.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4017.         return runtime[0].mInteger;
  4018.     }
  4019.     Interpreter::Type_Integer getweapondrawn()
  4020.     {
  4021.         Interpreter::Type_Code codeword = 3388998103;//codeword without arguments
  4022.         Literals& literals;
  4023.         std::vector<Interpreter::Type_Code> code;
  4024.         uint argCount = 0;
  4025.         uint optionalArgCount = 0;
  4026.         uint argumentsPassed = 0;
  4027.         uint optionalArgumentsPassed = 0;
  4028.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4029.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4030.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4031.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4032.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4033.         return runtime[0].mInteger;
  4034.     }
  4035.     Interpreter::Type_Integer getweapontype()
  4036.     {
  4037.         Interpreter::Type_Code codeword = 3388998112;//codeword without arguments
  4038.         Literals& literals;
  4039.         std::vector<Interpreter::Type_Code> code;
  4040.         uint argCount = 0;
  4041.         uint optionalArgCount = 0;
  4042.         uint argumentsPassed = 0;
  4043.         uint optionalArgumentsPassed = 0;
  4044.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4045.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4046.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4047.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4048.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4049.         return runtime[0].mInteger;
  4050.     }
  4051.     Interpreter::Type_Integer getwerewolfkills()
  4052.     {
  4053.         Interpreter::Type_Code codeword = 3388998114;//codeword without arguments
  4054.         Literals& literals;
  4055.         std::vector<Interpreter::Type_Code> code;
  4056.         uint argCount = 0;
  4057.         uint optionalArgCount = 0;
  4058.         uint argumentsPassed = 0;
  4059.         uint optionalArgumentsPassed = 0;
  4060.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4061.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4062.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4063.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4064.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4065.         return runtime[0].mInteger;
  4066.     }
  4067.     Interpreter::Type_Integer getwillpower()
  4068.     {
  4069.         Interpreter::Type_Code codeword = 3388997673;//codeword without arguments
  4070.         Literals& literals;
  4071.         std::vector<Interpreter::Type_Code> code;
  4072.         uint argCount = 0;
  4073.         uint optionalArgCount = 0;
  4074.         uint argumentsPassed = 0;
  4075.         uint optionalArgumentsPassed = 0;
  4076.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4077.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4078.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4079.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4080.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4081.         return runtime[0].mInteger;
  4082.     }
  4083.     Interpreter::Type_Float getwindspeed()
  4084.     {
  4085.         Interpreter::Type_Code codeword = 3388998162;//codeword without arguments
  4086.         Literals& literals;
  4087.         std::vector<Interpreter::Type_Code> code;
  4088.         uint argCount = 0;
  4089.         uint optionalArgCount = 0;
  4090.         uint argumentsPassed = 0;
  4091.         uint optionalArgumentsPassed = 0;
  4092.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4093.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4094.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4095.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4096.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4097.         return runtime[0].mFloat;
  4098.     }
  4099.     void goodbye()
  4100.     {
  4101.         Interpreter::Type_Code codeword = 3388997970;//codeword without arguments
  4102.         Literals& literals;
  4103.         std::vector<Interpreter::Type_Code> code;
  4104.         uint argCount = 0;
  4105.         uint optionalArgCount = 0;
  4106.         uint argumentsPassed = 0;
  4107.         uint optionalArgumentsPassed = 0;
  4108.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4109.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4110.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4111.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4112.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4113.         return;
  4114.     }
  4115.     void gotojail()
  4116.     {
  4117.         Interpreter::Type_Code codeword = 3388998197;//codeword without arguments
  4118.         Literals& literals;
  4119.         std::vector<Interpreter::Type_Code> code;
  4120.         uint argCount = 0;
  4121.         uint optionalArgCount = 0;
  4122.         uint argumentsPassed = 0;
  4123.         uint optionalArgumentsPassed = 0;
  4124.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4125.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4126.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4127.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4128.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4129.         return;
  4130.     }
  4131.     Interpreter::Type_Integer hasitemequipped(std::string arg0)
  4132.     {
  4133.         Interpreter::Type_Code codeword = 3388998101;//codeword without arguments
  4134.         Literals& literals;
  4135.         std::vector<Interpreter::Type_Code> code;
  4136.         uint argCount = 1;
  4137.         uint optionalArgCount = 0;
  4138.         uint argumentsPassed = 0;
  4139.         uint optionalArgumentsPassed = 0;
  4140.         if (arg0!="OPTIONAL_FLAG")
  4141.         {
  4142.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  4143.             argumentsPassed++;
  4144.         }
  4145.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4146.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4147.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4148.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4149.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4150.         return runtime[0].mInteger;
  4151.     }
  4152.     Interpreter::Type_Integer hassoulgem(std::string arg0)
  4153.     {
  4154.         Interpreter::Type_Code codeword = 3388998110;//codeword without arguments
  4155.         Literals& literals;
  4156.         std::vector<Interpreter::Type_Code> code;
  4157.         uint argCount = 1;
  4158.         uint optionalArgCount = 0;
  4159.         uint argumentsPassed = 0;
  4160.         uint optionalArgumentsPassed = 0;
  4161.         if (arg0!="OPTIONAL_FLAG")
  4162.         {
  4163.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  4164.             argumentsPassed++;
  4165.         }
  4166.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4167.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4168.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4169.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4170.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4171.         return runtime[0].mInteger;
  4172.     }
  4173.     Interpreter::Type_Integer hitattemptonme(std::string arg0)
  4174.     {
  4175.         Interpreter::Type_Code codeword = 3388998393;//codeword without arguments
  4176.         Literals& literals;
  4177.         std::vector<Interpreter::Type_Code> code;
  4178.         uint argCount = 1;
  4179.         uint optionalArgCount = 0;
  4180.         uint argumentsPassed = 0;
  4181.         uint optionalArgumentsPassed = 0;
  4182.         if (arg0!="OPTIONAL_FLAG")
  4183.         {
  4184.             Compiler::Generator.pushString(code, literals, arg0);
  4185.             argumentsPassed++;
  4186.         }
  4187.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4188.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4189.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4190.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4191.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4192.         return runtime[0].mInteger;
  4193.     }
  4194.     Interpreter::Type_Integer hitonme(std::string arg0)
  4195.     {
  4196.         Interpreter::Type_Code codeword = 3388998163;//codeword without arguments
  4197.         Literals& literals;
  4198.         std::vector<Interpreter::Type_Code> code;
  4199.         uint argCount = 1;
  4200.         uint optionalArgCount = 0;
  4201.         uint argumentsPassed = 0;
  4202.         uint optionalArgumentsPassed = 0;
  4203.         if (arg0!="OPTIONAL_FLAG")
  4204.         {
  4205.             Compiler::Generator.pushString(code, literals, arg0);
  4206.             argumentsPassed++;
  4207.         }
  4208.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4209.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4210.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4211.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4212.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4213.         return runtime[0].mInteger;
  4214.     }
  4215.     void hurtcollidingactor(Interpreter::Type_Float arg0)
  4216.     {
  4217.         Interpreter::Type_Code codeword = 3388998230;//codeword without arguments
  4218.         Literals& literals;
  4219.         std::vector<Interpreter::Type_Code> code;
  4220.         uint argCount = 1;
  4221.         uint optionalArgCount = 0;
  4222.         uint argumentsPassed = 0;
  4223.         uint optionalArgumentsPassed = 0;
  4224.         if (arg0!=-123456)
  4225.         {
  4226.             Compiler::Generator.pushFloat(code, literals, arg0);
  4227.             argumentsPassed++;
  4228.         }
  4229.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4230.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4231.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4232.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4233.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4234.         return;
  4235.     }
  4236.     void hurtstandingactor(Interpreter::Type_Float arg0)
  4237.     {
  4238.         Interpreter::Type_Code codeword = 3388998228;//codeword without arguments
  4239.         Literals& literals;
  4240.         std::vector<Interpreter::Type_Code> code;
  4241.         uint argCount = 1;
  4242.         uint optionalArgCount = 0;
  4243.         uint argumentsPassed = 0;
  4244.         uint optionalArgumentsPassed = 0;
  4245.         if (arg0!=-123456)
  4246.         {
  4247.             Compiler::Generator.pushFloat(code, literals, arg0);
  4248.             argumentsPassed++;
  4249.         }
  4250.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4251.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4252.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4253.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4254.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4255.         return;
  4256.     }
  4257.     Interpreter::Type_Integer iswerewolf()
  4258.     {
  4259.         Interpreter::Type_Code codeword = 3388998141;//codeword without arguments
  4260.         Literals& literals;
  4261.         std::vector<Interpreter::Type_Code> code;
  4262.         uint argCount = 0;
  4263.         uint optionalArgCount = 0;
  4264.         uint argumentsPassed = 0;
  4265.         uint optionalArgumentsPassed = 0;
  4266.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4267.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4268.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4269.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4270.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4271.         return runtime[0].mInteger;
  4272.     }
  4273.     void journal(std::string arg0, Interpreter::Type_Integer arg1)
  4274.     {
  4275.         Interpreter::Type_Code codeword = 3388997939;//codeword without arguments
  4276.         Literals& literals;
  4277.         std::vector<Interpreter::Type_Code> code;
  4278.         uint argCount = 2;
  4279.         uint optionalArgCount = 0;
  4280.         uint argumentsPassed = 0;
  4281.         uint optionalArgumentsPassed = 0;
  4282.         if (arg1!=-123456)
  4283.         {
  4284.             Compiler::Generator.pushInt(code, literals, arg1);
  4285.             argumentsPassed++;
  4286.         }
  4287.         if (arg0!="OPTIONAL_FLAG")
  4288.         {
  4289.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  4290.             argumentsPassed++;
  4291.         }
  4292.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4293.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4294.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4295.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4296.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4297.         return;
  4298.     }
  4299.     void lock(Interpreter::Type_Integer arg0)
  4300.     {
  4301.         Interpreter::Type_Code codeword = 3254780928;//codeword without arguments
  4302.         Literals& literals;
  4303.         std::vector<Interpreter::Type_Code> code;
  4304.         uint argCount = 1;
  4305.         uint optionalArgCount = 1;
  4306.         uint argumentsPassed = 0;
  4307.         uint optionalArgumentsPassed = 0;
  4308.         if (arg0!=-123456)
  4309.         {
  4310.             Compiler::Generator.pushInt(code, literals, arg0);
  4311.             argumentsPassed++;
  4312.         }
  4313.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4314.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4315.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4316.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4317.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4318.         return;
  4319.     }
  4320.     void loopgroup(std::string arg0, Interpreter::Type_Integer arg1, Interpreter::Type_Integer arg2)
  4321.     {
  4322.         Interpreter::Type_Code codeword = 3254781952;//codeword without arguments
  4323.         Literals& literals;
  4324.         std::vector<Interpreter::Type_Code> code;
  4325.         uint argCount = 3;
  4326.         uint optionalArgCount = 1;
  4327.         uint argumentsPassed = 0;
  4328.         uint optionalArgumentsPassed = 0;
  4329.         if (arg2!=-123456)
  4330.         {
  4331.             Compiler::Generator.pushInt(code, literals, arg2);
  4332.             argumentsPassed++;
  4333.         }
  4334.         if (arg1!=-123456)
  4335.         {
  4336.             Compiler::Generator.pushInt(code, literals, arg1);
  4337.             argumentsPassed++;
  4338.         }
  4339.         if (arg0!="OPTIONAL_FLAG")
  4340.         {
  4341.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  4342.             argumentsPassed++;
  4343.         }
  4344.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4345.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4346.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4347.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4348.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4349.         return;
  4350.     }
  4351.     void lowerrank()
  4352.     {
  4353.         Interpreter::Type_Code codeword = 3388998122;//codeword without arguments
  4354.         Literals& literals;
  4355.         std::vector<Interpreter::Type_Code> code;
  4356.         uint argCount = 0;
  4357.         uint optionalArgCount = 0;
  4358.         uint argumentsPassed = 0;
  4359.         uint optionalArgumentsPassed = 0;
  4360.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4361.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4362.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4363.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4364.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4365.         return;
  4366.     }
  4367.     void menutest(Interpreter::Type_Integer arg0)
  4368.     {
  4369.         Interpreter::Type_Code codeword = 3254791168;//codeword without arguments
  4370.         Literals& literals;
  4371.         std::vector<Interpreter::Type_Code> code;
  4372.         uint argCount = 1;
  4373.         uint optionalArgCount = 1;
  4374.         uint argumentsPassed = 0;
  4375.         uint optionalArgumentsPassed = 0;
  4376.         if (arg0!=-123456)
  4377.         {
  4378.             Compiler::Generator.pushInt(code, literals, arg0);
  4379.             argumentsPassed++;
  4380.         }
  4381.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4382.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4383.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4384.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4385.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4386.         return;
  4387.     }
  4388.     void modacrobatics(Interpreter::Type_Integer arg0)
  4389.     {
  4390.         Interpreter::Type_Code codeword = 3388997902;//codeword without arguments
  4391.         Literals& literals;
  4392.         std::vector<Interpreter::Type_Code> code;
  4393.         uint argCount = 1;
  4394.         uint optionalArgCount = 0;
  4395.         uint argumentsPassed = 0;
  4396.         uint optionalArgumentsPassed = 0;
  4397.         if (arg0!=-123456)
  4398.         {
  4399.             Compiler::Generator.pushInt(code, literals, arg0);
  4400.             argumentsPassed++;
  4401.         }
  4402.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4403.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4404.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4405.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4406.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4407.         return;
  4408.     }
  4409.     void modagility(Interpreter::Type_Integer arg0)
  4410.     {
  4411.         Interpreter::Type_Code codeword = 3388997706;//codeword without arguments
  4412.         Literals& literals;
  4413.         std::vector<Interpreter::Type_Code> code;
  4414.         uint argCount = 1;
  4415.         uint optionalArgCount = 0;
  4416.         uint argumentsPassed = 0;
  4417.         uint optionalArgumentsPassed = 0;
  4418.         if (arg0!=-123456)
  4419.         {
  4420.             Compiler::Generator.pushInt(code, literals, arg0);
  4421.             argumentsPassed++;
  4422.         }
  4423.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4424.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4425.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4426.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4427.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4428.         return;
  4429.     }
  4430.     void modalarm(Interpreter::Type_Integer arg0)
  4431.     {
  4432.         Interpreter::Type_Code codeword = 3388998077;//codeword without arguments
  4433.         Literals& literals;
  4434.         std::vector<Interpreter::Type_Code> code;
  4435.         uint argCount = 1;
  4436.         uint optionalArgCount = 0;
  4437.         uint argumentsPassed = 0;
  4438.         uint optionalArgumentsPassed = 0;
  4439.         if (arg0!=-123456)
  4440.         {
  4441.             Compiler::Generator.pushInt(code, literals, arg0);
  4442.             argumentsPassed++;
  4443.         }
  4444.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4445.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4446.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4447.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4448.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4449.         return;
  4450.     }
  4451.     void modalchemy(Interpreter::Type_Integer arg0)
  4452.     {
  4453.         Interpreter::Type_Code codeword = 3388997898;//codeword without arguments
  4454.         Literals& literals;
  4455.         std::vector<Interpreter::Type_Code> code;
  4456.         uint argCount = 1;
  4457.         uint optionalArgCount = 0;
  4458.         uint argumentsPassed = 0;
  4459.         uint optionalArgumentsPassed = 0;
  4460.         if (arg0!=-123456)
  4461.         {
  4462.             Compiler::Generator.pushInt(code, literals, arg0);
  4463.             argumentsPassed++;
  4464.         }
  4465.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4466.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4467.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4468.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4469.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4470.         return;
  4471.     }
  4472.     void modalteration(Interpreter::Type_Integer arg0)
  4473.     {
  4474.         Interpreter::Type_Code codeword = 3388997893;//codeword without arguments
  4475.         Literals& literals;
  4476.         std::vector<Interpreter::Type_Code> code;
  4477.         uint argCount = 1;
  4478.         uint optionalArgCount = 0;
  4479.         uint argumentsPassed = 0;
  4480.         uint optionalArgumentsPassed = 0;
  4481.         if (arg0!=-123456)
  4482.         {
  4483.             Compiler::Generator.pushInt(code, literals, arg0);
  4484.             argumentsPassed++;
  4485.         }
  4486.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4487.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4488.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4489.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4490.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4491.         return;
  4492.     }
  4493.     void modarmorbonus(Interpreter::Type_Integer arg0)
  4494.     {
  4495.         Interpreter::Type_Code codeword = 3388998356;//codeword without arguments
  4496.         Literals& literals;
  4497.         std::vector<Interpreter::Type_Code> code;
  4498.         uint argCount = 1;
  4499.         uint optionalArgCount = 0;
  4500.         uint argumentsPassed = 0;
  4501.         uint optionalArgumentsPassed = 0;
  4502.         if (arg0!=-123456)
  4503.         {
  4504.             Compiler::Generator.pushInt(code, literals, arg0);
  4505.             argumentsPassed++;
  4506.         }
  4507.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4508.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4509.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4510.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4511.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4512.         return;
  4513.     }
  4514.     void modarmorer(Interpreter::Type_Integer arg0)
  4515.     {
  4516.         Interpreter::Type_Code codeword = 3388997883;//codeword without arguments
  4517.         Literals& literals;
  4518.         std::vector<Interpreter::Type_Code> code;
  4519.         uint argCount = 1;
  4520.         uint optionalArgCount = 0;
  4521.         uint argumentsPassed = 0;
  4522.         uint optionalArgumentsPassed = 0;
  4523.         if (arg0!=-123456)
  4524.         {
  4525.             Compiler::Generator.pushInt(code, literals, arg0);
  4526.             argumentsPassed++;
  4527.         }
  4528.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4529.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4530.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4531.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4532.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4533.         return;
  4534.     }
  4535.     void modathletics(Interpreter::Type_Integer arg0)
  4536.     {
  4537.         Interpreter::Type_Code codeword = 3388997890;//codeword without arguments
  4538.         Literals& literals;
  4539.         std::vector<Interpreter::Type_Code> code;
  4540.         uint argCount = 1;
  4541.         uint optionalArgCount = 0;
  4542.         uint argumentsPassed = 0;
  4543.         uint optionalArgumentsPassed = 0;
  4544.         if (arg0!=-123456)
  4545.         {
  4546.             Compiler::Generator.pushInt(code, literals, arg0);
  4547.             argumentsPassed++;
  4548.         }
  4549.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4550.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4551.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4552.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4553.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4554.         return;
  4555.     }
  4556.     void modattackbonus(Interpreter::Type_Integer arg0)
  4557.     {
  4558.         Interpreter::Type_Code codeword = 3388998362;//codeword without arguments
  4559.         Literals& literals;
  4560.         std::vector<Interpreter::Type_Code> code;
  4561.         uint argCount = 1;
  4562.         uint optionalArgCount = 0;
  4563.         uint argumentsPassed = 0;
  4564.         uint optionalArgumentsPassed = 0;
  4565.         if (arg0!=-123456)
  4566.         {
  4567.             Compiler::Generator.pushInt(code, literals, arg0);
  4568.             argumentsPassed++;
  4569.         }
  4570.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4571.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4572.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4573.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4574.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4575.         return;
  4576.     }
  4577.     void modaxe(Interpreter::Type_Integer arg0)
  4578.     {
  4579.         Interpreter::Type_Code codeword = 3388997888;//codeword without arguments
  4580.         Literals& literals;
  4581.         std::vector<Interpreter::Type_Code> code;
  4582.         uint argCount = 1;
  4583.         uint optionalArgCount = 0;
  4584.         uint argumentsPassed = 0;
  4585.         uint optionalArgumentsPassed = 0;
  4586.         if (arg0!=-123456)
  4587.         {
  4588.             Compiler::Generator.pushInt(code, literals, arg0);
  4589.             argumentsPassed++;
  4590.         }
  4591.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4592.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4593.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4594.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4595.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4596.         return;
  4597.     }
  4598.     void modblindness(Interpreter::Type_Integer arg0)
  4599.     {
  4600.         Interpreter::Type_Code codeword = 3388998359;//codeword without arguments
  4601.         Literals& literals;
  4602.         std::vector<Interpreter::Type_Code> code;
  4603.         uint argCount = 1;
  4604.         uint optionalArgCount = 0;
  4605.         uint argumentsPassed = 0;
  4606.         uint optionalArgumentsPassed = 0;
  4607.         if (arg0!=-123456)
  4608.         {
  4609.             Compiler::Generator.pushInt(code, literals, arg0);
  4610.             argumentsPassed++;
  4611.         }
  4612.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4613.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4614.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4615.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4616.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4617.         return;
  4618.     }
  4619.     void modblock(Interpreter::Type_Integer arg0)
  4620.     {
  4621.         Interpreter::Type_Code codeword = 3388997882;//codeword without arguments
  4622.         Literals& literals;
  4623.         std::vector<Interpreter::Type_Code> code;
  4624.         uint argCount = 1;
  4625.         uint optionalArgCount = 0;
  4626.         uint argumentsPassed = 0;
  4627.         uint optionalArgumentsPassed = 0;
  4628.         if (arg0!=-123456)
  4629.         {
  4630.             Compiler::Generator.pushInt(code, literals, arg0);
  4631.             argumentsPassed++;
  4632.         }
  4633.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4634.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4635.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4636.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4637.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4638.         return;
  4639.     }
  4640.     void modbluntweapon(Interpreter::Type_Integer arg0)
  4641.     {
  4642.         Interpreter::Type_Code codeword = 3388997886;//codeword without arguments
  4643.         Literals& literals;
  4644.         std::vector<Interpreter::Type_Code> code;
  4645.         uint argCount = 1;
  4646.         uint optionalArgCount = 0;
  4647.         uint argumentsPassed = 0;
  4648.         uint optionalArgumentsPassed = 0;
  4649.         if (arg0!=-123456)
  4650.         {
  4651.             Compiler::Generator.pushInt(code, literals, arg0);
  4652.             argumentsPassed++;
  4653.         }
  4654.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4655.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4656.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4657.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4658.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4659.         return;
  4660.     }
  4661.     void modcastpenalty(Interpreter::Type_Integer arg0)
  4662.     {
  4663.         Interpreter::Type_Code codeword = 3388998357;//codeword without arguments
  4664.         Literals& literals;
  4665.         std::vector<Interpreter::Type_Code> code;
  4666.         uint argCount = 1;
  4667.         uint optionalArgCount = 0;
  4668.         uint argumentsPassed = 0;
  4669.         uint optionalArgumentsPassed = 0;
  4670.         if (arg0!=-123456)
  4671.         {
  4672.             Compiler::Generator.pushInt(code, literals, arg0);
  4673.             argumentsPassed++;
  4674.         }
  4675.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4676.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4677.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4678.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4679.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4680.         return;
  4681.     }
  4682.     void modchameleon(Interpreter::Type_Integer arg0)
  4683.     {
  4684.         Interpreter::Type_Code codeword = 3388998351;//codeword without arguments
  4685.         Literals& literals;
  4686.         std::vector<Interpreter::Type_Code> code;
  4687.         uint argCount = 1;
  4688.         uint optionalArgCount = 0;
  4689.         uint argumentsPassed = 0;
  4690.         uint optionalArgumentsPassed = 0;
  4691.         if (arg0!=-123456)
  4692.         {
  4693.             Compiler::Generator.pushInt(code, literals, arg0);
  4694.             argumentsPassed++;
  4695.         }
  4696.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4697.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4698.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4699.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4700.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4701.         return;
  4702.     }
  4703.     void modconjuration(Interpreter::Type_Integer arg0)
  4704.     {
  4705.         Interpreter::Type_Code codeword = 3388997895;//codeword without arguments
  4706.         Literals& literals;
  4707.         std::vector<Interpreter::Type_Code> code;
  4708.         uint argCount = 1;
  4709.         uint optionalArgCount = 0;
  4710.         uint argumentsPassed = 0;
  4711.         uint optionalArgumentsPassed = 0;
  4712.         if (arg0!=-123456)
  4713.         {
  4714.             Compiler::Generator.pushInt(code, literals, arg0);
  4715.             argumentsPassed++;
  4716.         }
  4717.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4718.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4719.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4720.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4721.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4722.         return;
  4723.     }
  4724.     void modcurrentfatigue(Interpreter::Type_Float arg0)
  4725.     {
  4726.         Interpreter::Type_Code codeword = 3388997739;//codeword without arguments
  4727.         Literals& literals;
  4728.         std::vector<Interpreter::Type_Code> code;
  4729.         uint argCount = 1;
  4730.         uint optionalArgCount = 0;
  4731.         uint argumentsPassed = 0;
  4732.         uint optionalArgumentsPassed = 0;
  4733.         if (arg0!=-123456)
  4734.         {
  4735.             Compiler::Generator.pushFloat(code, literals, arg0);
  4736.             argumentsPassed++;
  4737.         }
  4738.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4739.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4740.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4741.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4742.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4743.         return;
  4744.     }
  4745.     void modcurrenthealth(Interpreter::Type_Float arg0)
  4746.     {
  4747.         Interpreter::Type_Code codeword = 3388997737;//codeword without arguments
  4748.         Literals& literals;
  4749.         std::vector<Interpreter::Type_Code> code;
  4750.         uint argCount = 1;
  4751.         uint optionalArgCount = 0;
  4752.         uint argumentsPassed = 0;
  4753.         uint optionalArgumentsPassed = 0;
  4754.         if (arg0!=-123456)
  4755.         {
  4756.             Compiler::Generator.pushFloat(code, literals, arg0);
  4757.             argumentsPassed++;
  4758.         }
  4759.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4760.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4761.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4762.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4763.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4764.         return;
  4765.     }
  4766.     void modcurrentmagicka(Interpreter::Type_Float arg0)
  4767.     {
  4768.         Interpreter::Type_Code codeword = 3388997738;//codeword without arguments
  4769.         Literals& literals;
  4770.         std::vector<Interpreter::Type_Code> code;
  4771.         uint argCount = 1;
  4772.         uint optionalArgCount = 0;
  4773.         uint argumentsPassed = 0;
  4774.         uint optionalArgumentsPassed = 0;
  4775.         if (arg0!=-123456)
  4776.         {
  4777.             Compiler::Generator.pushFloat(code, literals, arg0);
  4778.             argumentsPassed++;
  4779.         }
  4780.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4781.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4782.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4783.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4784.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4785.         return;
  4786.     }
  4787.     void moddefendbonus(Interpreter::Type_Integer arg0)
  4788.     {
  4789.         Interpreter::Type_Code codeword = 3388998363;//codeword without arguments
  4790.         Literals& literals;
  4791.         std::vector<Interpreter::Type_Code> code;
  4792.         uint argCount = 1;
  4793.         uint optionalArgCount = 0;
  4794.         uint argumentsPassed = 0;
  4795.         uint optionalArgumentsPassed = 0;
  4796.         if (arg0!=-123456)
  4797.         {
  4798.             Compiler::Generator.pushInt(code, literals, arg0);
  4799.             argumentsPassed++;
  4800.         }
  4801.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4802.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4803.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4804.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4805.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4806.         return;
  4807.     }
  4808.     void moddestruction(Interpreter::Type_Integer arg0)
  4809.     {
  4810.         Interpreter::Type_Code codeword = 3388997892;//codeword without arguments
  4811.         Literals& literals;
  4812.         std::vector<Interpreter::Type_Code> code;
  4813.         uint argCount = 1;
  4814.         uint optionalArgCount = 0;
  4815.         uint argumentsPassed = 0;
  4816.         uint optionalArgumentsPassed = 0;
  4817.         if (arg0!=-123456)
  4818.         {
  4819.             Compiler::Generator.pushInt(code, literals, arg0);
  4820.             argumentsPassed++;
  4821.         }
  4822.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4823.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4824.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4825.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4826.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4827.         return;
  4828.     }
  4829.     void moddisposition(Interpreter::Type_Integer arg0)
  4830.     {
  4831.         Interpreter::Type_Code codeword = 3388997965;//codeword without arguments
  4832.         Literals& literals;
  4833.         std::vector<Interpreter::Type_Code> code;
  4834.         uint argCount = 1;
  4835.         uint optionalArgCount = 0;
  4836.         uint argumentsPassed = 0;
  4837.         uint optionalArgumentsPassed = 0;
  4838.         if (arg0!=-123456)
  4839.         {
  4840.             Compiler::Generator.pushInt(code, literals, arg0);
  4841.             argumentsPassed++;
  4842.         }
  4843.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4844.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4845.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4846.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4847.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4848.         return;
  4849.     }
  4850.     void modenchant(Interpreter::Type_Integer arg0)
  4851.     {
  4852.         Interpreter::Type_Code codeword = 3388997891;//codeword without arguments
  4853.         Literals& literals;
  4854.         std::vector<Interpreter::Type_Code> code;
  4855.         uint argCount = 1;
  4856.         uint optionalArgCount = 0;
  4857.         uint argumentsPassed = 0;
  4858.         uint optionalArgumentsPassed = 0;
  4859.         if (arg0!=-123456)
  4860.         {
  4861.             Compiler::Generator.pushInt(code, literals, arg0);
  4862.             argumentsPassed++;
  4863.         }
  4864.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4865.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4866.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4867.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4868.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4869.         return;
  4870.     }
  4871.     void modendurance(Interpreter::Type_Integer arg0)
  4872.     {
  4873.         Interpreter::Type_Code codeword = 3388997708;//codeword without arguments
  4874.         Literals& literals;
  4875.         std::vector<Interpreter::Type_Code> code;
  4876.         uint argCount = 1;
  4877.         uint optionalArgCount = 0;
  4878.         uint argumentsPassed = 0;
  4879.         uint optionalArgumentsPassed = 0;
  4880.         if (arg0!=-123456)
  4881.         {
  4882.             Compiler::Generator.pushInt(code, literals, arg0);
  4883.             argumentsPassed++;
  4884.         }
  4885.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4886.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4887.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4888.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4889.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4890.         return;
  4891.     }
  4892.     void modfactionreaction(std::string arg0, std::string arg1, Interpreter::Type_Integer arg2)
  4893.     {
  4894.         Interpreter::Type_Code codeword = 3388998210;//codeword without arguments
  4895.         Literals& literals;
  4896.         std::vector<Interpreter::Type_Code> code;
  4897.         uint argCount = 3;
  4898.         uint optionalArgCount = 0;
  4899.         uint argumentsPassed = 0;
  4900.         uint optionalArgumentsPassed = 0;
  4901.         if (arg2!=-123456)
  4902.         {
  4903.             Compiler::Generator.pushInt(code, literals, arg2);
  4904.             argumentsPassed++;
  4905.         }
  4906.         if (arg1!="OPTIONAL_FLAG")
  4907.         {
  4908.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  4909.             argumentsPassed++;
  4910.         }
  4911.         if (arg0!="OPTIONAL_FLAG")
  4912.         {
  4913.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  4914.             argumentsPassed++;
  4915.         }
  4916.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4917.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4918.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4919.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4920.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4921.         return;
  4922.     }
  4923.     void modfatigue(Interpreter::Type_Float arg0)
  4924.     {
  4925.         Interpreter::Type_Code codeword = 3388997733;//codeword without arguments
  4926.         Literals& literals;
  4927.         std::vector<Interpreter::Type_Code> code;
  4928.         uint argCount = 1;
  4929.         uint optionalArgCount = 0;
  4930.         uint argumentsPassed = 0;
  4931.         uint optionalArgumentsPassed = 0;
  4932.         if (arg0!=-123456)
  4933.         {
  4934.             Compiler::Generator.pushFloat(code, literals, arg0);
  4935.             argumentsPassed++;
  4936.         }
  4937.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4938.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4939.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4940.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4941.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4942.         return;
  4943.     }
  4944.     void modfight(Interpreter::Type_Integer arg0)
  4945.     {
  4946.         Interpreter::Type_Code codeword = 3388998073;//codeword without arguments
  4947.         Literals& literals;
  4948.         std::vector<Interpreter::Type_Code> code;
  4949.         uint argCount = 1;
  4950.         uint optionalArgCount = 0;
  4951.         uint argumentsPassed = 0;
  4952.         uint optionalArgumentsPassed = 0;
  4953.         if (arg0!=-123456)
  4954.         {
  4955.             Compiler::Generator.pushInt(code, literals, arg0);
  4956.             argumentsPassed++;
  4957.         }
  4958.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4959.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4960.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4961.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4962.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4963.         return;
  4964.     }
  4965.     void modflee(Interpreter::Type_Integer arg0)
  4966.     {
  4967.         Interpreter::Type_Code codeword = 3388998075;//codeword without arguments
  4968.         Literals& literals;
  4969.         std::vector<Interpreter::Type_Code> code;
  4970.         uint argCount = 1;
  4971.         uint optionalArgCount = 0;
  4972.         uint argumentsPassed = 0;
  4973.         uint optionalArgumentsPassed = 0;
  4974.         if (arg0!=-123456)
  4975.         {
  4976.             Compiler::Generator.pushInt(code, literals, arg0);
  4977.             argumentsPassed++;
  4978.         }
  4979.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  4980.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  4981.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  4982.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  4983.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  4984.         return;
  4985.     }
  4986.     void modflying(Interpreter::Type_Integer arg0)
  4987.     {
  4988.         Interpreter::Type_Code codeword = 3388998355;//codeword without arguments
  4989.         Literals& literals;
  4990.         std::vector<Interpreter::Type_Code> code;
  4991.         uint argCount = 1;
  4992.         uint optionalArgCount = 0;
  4993.         uint argumentsPassed = 0;
  4994.         uint optionalArgumentsPassed = 0;
  4995.         if (arg0!=-123456)
  4996.         {
  4997.             Compiler::Generator.pushInt(code, literals, arg0);
  4998.             argumentsPassed++;
  4999.         }
  5000.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5001.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5002.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5003.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5004.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5005.         return;
  5006.     }
  5007.     void modhandtohand(Interpreter::Type_Integer arg0)
  5008.     {
  5009.         Interpreter::Type_Code codeword = 3388997908;//codeword without arguments
  5010.         Literals& literals;
  5011.         std::vector<Interpreter::Type_Code> code;
  5012.         uint argCount = 1;
  5013.         uint optionalArgCount = 0;
  5014.         uint argumentsPassed = 0;
  5015.         uint optionalArgumentsPassed = 0;
  5016.         if (arg0!=-123456)
  5017.         {
  5018.             Compiler::Generator.pushInt(code, literals, arg0);
  5019.             argumentsPassed++;
  5020.         }
  5021.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5022.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5023.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5024.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5025.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5026.         return;
  5027.     }
  5028.     void modhealth(Interpreter::Type_Float arg0)
  5029.     {
  5030.         Interpreter::Type_Code codeword = 3388997731;//codeword without arguments
  5031.         Literals& literals;
  5032.         std::vector<Interpreter::Type_Code> code;
  5033.         uint argCount = 1;
  5034.         uint optionalArgCount = 0;
  5035.         uint argumentsPassed = 0;
  5036.         uint optionalArgumentsPassed = 0;
  5037.         if (arg0!=-123456)
  5038.         {
  5039.             Compiler::Generator.pushFloat(code, literals, arg0);
  5040.             argumentsPassed++;
  5041.         }
  5042.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5043.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5044.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5045.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5046.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5047.         return;
  5048.     }
  5049.     void modheavyarmor(Interpreter::Type_Integer arg0)
  5050.     {
  5051.         Interpreter::Type_Code codeword = 3388997885;//codeword without arguments
  5052.         Literals& literals;
  5053.         std::vector<Interpreter::Type_Code> code;
  5054.         uint argCount = 1;
  5055.         uint optionalArgCount = 0;
  5056.         uint argumentsPassed = 0;
  5057.         uint optionalArgumentsPassed = 0;
  5058.         if (arg0!=-123456)
  5059.         {
  5060.             Compiler::Generator.pushInt(code, literals, arg0);
  5061.             argumentsPassed++;
  5062.         }
  5063.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5064.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5065.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5066.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5067.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5068.         return;
  5069.     }
  5070.     void modhello(Interpreter::Type_Integer arg0)
  5071.     {
  5072.         Interpreter::Type_Code codeword = 3388998071;//codeword without arguments
  5073.         Literals& literals;
  5074.         std::vector<Interpreter::Type_Code> code;
  5075.         uint argCount = 1;
  5076.         uint optionalArgCount = 0;
  5077.         uint argumentsPassed = 0;
  5078.         uint optionalArgumentsPassed = 0;
  5079.         if (arg0!=-123456)
  5080.         {
  5081.             Compiler::Generator.pushInt(code, literals, arg0);
  5082.             argumentsPassed++;
  5083.         }
  5084.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5085.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5086.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5087.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5088.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5089.         return;
  5090.     }
  5091.     void modillusion(Interpreter::Type_Integer arg0)
  5092.     {
  5093.         Interpreter::Type_Code codeword = 3388997894;//codeword without arguments
  5094.         Literals& literals;
  5095.         std::vector<Interpreter::Type_Code> code;
  5096.         uint argCount = 1;
  5097.         uint optionalArgCount = 0;
  5098.         uint argumentsPassed = 0;
  5099.         uint optionalArgumentsPassed = 0;
  5100.         if (arg0!=-123456)
  5101.         {
  5102.             Compiler::Generator.pushInt(code, literals, arg0);
  5103.             argumentsPassed++;
  5104.         }
  5105.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5106.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5107.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5108.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5109.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5110.         return;
  5111.     }
  5112.     void modintelligence(Interpreter::Type_Integer arg0)
  5113.     {
  5114.         Interpreter::Type_Code codeword = 3388997704;//codeword without arguments
  5115.         Literals& literals;
  5116.         std::vector<Interpreter::Type_Code> code;
  5117.         uint argCount = 1;
  5118.         uint optionalArgCount = 0;
  5119.         uint argumentsPassed = 0;
  5120.         uint optionalArgumentsPassed = 0;
  5121.         if (arg0!=-123456)
  5122.         {
  5123.             Compiler::Generator.pushInt(code, literals, arg0);
  5124.             argumentsPassed++;
  5125.         }
  5126.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5127.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5128.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5129.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5130.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5131.         return;
  5132.     }
  5133.     void modinvisible(Interpreter::Type_Integer arg0)
  5134.     {
  5135.         Interpreter::Type_Code codeword = 3388998361;//codeword without arguments
  5136.         Literals& literals;
  5137.         std::vector<Interpreter::Type_Code> code;
  5138.         uint argCount = 1;
  5139.         uint optionalArgCount = 0;
  5140.         uint argumentsPassed = 0;
  5141.         uint optionalArgumentsPassed = 0;
  5142.         if (arg0!=-123456)
  5143.         {
  5144.             Compiler::Generator.pushInt(code, literals, arg0);
  5145.             argumentsPassed++;
  5146.         }
  5147.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5148.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5149.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5150.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5151.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5152.         return;
  5153.     }
  5154.     void modlightarmor(Interpreter::Type_Integer arg0)
  5155.     {
  5156.         Interpreter::Type_Code codeword = 3388997903;//codeword without arguments
  5157.         Literals& literals;
  5158.         std::vector<Interpreter::Type_Code> code;
  5159.         uint argCount = 1;
  5160.         uint optionalArgCount = 0;
  5161.         uint argumentsPassed = 0;
  5162.         uint optionalArgumentsPassed = 0;
  5163.         if (arg0!=-123456)
  5164.         {
  5165.             Compiler::Generator.pushInt(code, literals, arg0);
  5166.             argumentsPassed++;
  5167.         }
  5168.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5169.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5170.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5171.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5172.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5173.         return;
  5174.     }
  5175.     void modlongblade(Interpreter::Type_Integer arg0)
  5176.     {
  5177.         Interpreter::Type_Code codeword = 3388997887;//codeword without arguments
  5178.         Literals& literals;
  5179.         std::vector<Interpreter::Type_Code> code;
  5180.         uint argCount = 1;
  5181.         uint optionalArgCount = 0;
  5182.         uint argumentsPassed = 0;
  5183.         uint optionalArgumentsPassed = 0;
  5184.         if (arg0!=-123456)
  5185.         {
  5186.             Compiler::Generator.pushInt(code, literals, arg0);
  5187.             argumentsPassed++;
  5188.         }
  5189.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5190.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5191.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5192.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5193.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5194.         return;
  5195.     }
  5196.     void modluck(Interpreter::Type_Integer arg0)
  5197.     {
  5198.         Interpreter::Type_Code codeword = 3388997710;//codeword without arguments
  5199.         Literals& literals;
  5200.         std::vector<Interpreter::Type_Code> code;
  5201.         uint argCount = 1;
  5202.         uint optionalArgCount = 0;
  5203.         uint argumentsPassed = 0;
  5204.         uint optionalArgumentsPassed = 0;
  5205.         if (arg0!=-123456)
  5206.         {
  5207.             Compiler::Generator.pushInt(code, literals, arg0);
  5208.             argumentsPassed++;
  5209.         }
  5210.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5211.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5212.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5213.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5214.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5215.         return;
  5216.     }
  5217.     void modmagicka(Interpreter::Type_Float arg0)
  5218.     {
  5219.         Interpreter::Type_Code codeword = 3388997732;//codeword without arguments
  5220.         Literals& literals;
  5221.         std::vector<Interpreter::Type_Code> code;
  5222.         uint argCount = 1;
  5223.         uint optionalArgCount = 0;
  5224.         uint argumentsPassed = 0;
  5225.         uint optionalArgumentsPassed = 0;
  5226.         if (arg0!=-123456)
  5227.         {
  5228.             Compiler::Generator.pushFloat(code, literals, arg0);
  5229.             argumentsPassed++;
  5230.         }
  5231.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5232.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5233.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5234.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5235.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5236.         return;
  5237.     }
  5238.     void modmarksman(Interpreter::Type_Integer arg0)
  5239.     {
  5240.         Interpreter::Type_Code codeword = 3388997905;//codeword without arguments
  5241.         Literals& literals;
  5242.         std::vector<Interpreter::Type_Code> code;
  5243.         uint argCount = 1;
  5244.         uint optionalArgCount = 0;
  5245.         uint argumentsPassed = 0;
  5246.         uint optionalArgumentsPassed = 0;
  5247.         if (arg0!=-123456)
  5248.         {
  5249.             Compiler::Generator.pushInt(code, literals, arg0);
  5250.             argumentsPassed++;
  5251.         }
  5252.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5253.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5254.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5255.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5256.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5257.         return;
  5258.     }
  5259.     void modmediumarmor(Interpreter::Type_Integer arg0)
  5260.     {
  5261.         Interpreter::Type_Code codeword = 3388997884;//codeword without arguments
  5262.         Literals& literals;
  5263.         std::vector<Interpreter::Type_Code> code;
  5264.         uint argCount = 1;
  5265.         uint optionalArgCount = 0;
  5266.         uint argumentsPassed = 0;
  5267.         uint optionalArgumentsPassed = 0;
  5268.         if (arg0!=-123456)
  5269.         {
  5270.             Compiler::Generator.pushInt(code, literals, arg0);
  5271.             argumentsPassed++;
  5272.         }
  5273.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5274.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5275.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5276.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5277.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5278.         return;
  5279.     }
  5280.     void modmercantile(Interpreter::Type_Integer arg0)
  5281.     {
  5282.         Interpreter::Type_Code codeword = 3388997906;//codeword without arguments
  5283.         Literals& literals;
  5284.         std::vector<Interpreter::Type_Code> code;
  5285.         uint argCount = 1;
  5286.         uint optionalArgCount = 0;
  5287.         uint argumentsPassed = 0;
  5288.         uint optionalArgumentsPassed = 0;
  5289.         if (arg0!=-123456)
  5290.         {
  5291.             Compiler::Generator.pushInt(code, literals, arg0);
  5292.             argumentsPassed++;
  5293.         }
  5294.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5295.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5296.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5297.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5298.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5299.         return;
  5300.     }
  5301.     void modmysticism(Interpreter::Type_Integer arg0)
  5302.     {
  5303.         Interpreter::Type_Code codeword = 3388997896;//codeword without arguments
  5304.         Literals& literals;
  5305.         std::vector<Interpreter::Type_Code> code;
  5306.         uint argCount = 1;
  5307.         uint optionalArgCount = 0;
  5308.         uint argumentsPassed = 0;
  5309.         uint optionalArgumentsPassed = 0;
  5310.         if (arg0!=-123456)
  5311.         {
  5312.             Compiler::Generator.pushInt(code, literals, arg0);
  5313.             argumentsPassed++;
  5314.         }
  5315.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5316.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5317.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5318.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5319.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5320.         return;
  5321.     }
  5322.     void modparalysis(Interpreter::Type_Integer arg0)
  5323.     {
  5324.         Interpreter::Type_Code codeword = 3388998360;//codeword without arguments
  5325.         Literals& literals;
  5326.         std::vector<Interpreter::Type_Code> code;
  5327.         uint argCount = 1;
  5328.         uint optionalArgCount = 0;
  5329.         uint argumentsPassed = 0;
  5330.         uint optionalArgumentsPassed = 0;
  5331.         if (arg0!=-123456)
  5332.         {
  5333.             Compiler::Generator.pushInt(code, literals, arg0);
  5334.             argumentsPassed++;
  5335.         }
  5336.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5337.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5338.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5339.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5340.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5341.         return;
  5342.     }
  5343.     void modpccrimelevel(Interpreter::Type_Float arg0)
  5344.     {
  5345.         Interpreter::Type_Code codeword = 3388998126;//codeword without arguments
  5346.         Literals& literals;
  5347.         std::vector<Interpreter::Type_Code> code;
  5348.         uint argCount = 1;
  5349.         uint optionalArgCount = 0;
  5350.         uint argumentsPassed = 0;
  5351.         uint optionalArgumentsPassed = 0;
  5352.         if (arg0!=-123456)
  5353.         {
  5354.             Compiler::Generator.pushFloat(code, literals, arg0);
  5355.             argumentsPassed++;
  5356.         }
  5357.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5358.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5359.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5360.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5361.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5362.         return;
  5363.     }
  5364.     void modpcfacrep(Interpreter::Type_Integer arg0, std::string arg1)
  5365.     {
  5366.         Interpreter::Type_Code codeword = 3254785536;//codeword without arguments
  5367.         Literals& literals;
  5368.         std::vector<Interpreter::Type_Code> code;
  5369.         uint argCount = 2;
  5370.         uint optionalArgCount = 1;
  5371.         uint argumentsPassed = 0;
  5372.         uint optionalArgumentsPassed = 0;
  5373.         if (arg1!="OPTIONAL_FLAG")
  5374.         {
  5375.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  5376.             argumentsPassed++;
  5377.         }
  5378.         if (arg0!=-123456)
  5379.         {
  5380.             Compiler::Generator.pushInt(code, literals, arg0);
  5381.             argumentsPassed++;
  5382.         }
  5383.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5384.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5385.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5386.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5387.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5388.         return;
  5389.     }
  5390.     void modpersonality(Interpreter::Type_Integer arg0)
  5391.     {
  5392.         Interpreter::Type_Code codeword = 3388997709;//codeword without arguments
  5393.         Literals& literals;
  5394.         std::vector<Interpreter::Type_Code> code;
  5395.         uint argCount = 1;
  5396.         uint optionalArgCount = 0;
  5397.         uint argumentsPassed = 0;
  5398.         uint optionalArgumentsPassed = 0;
  5399.         if (arg0!=-123456)
  5400.         {
  5401.             Compiler::Generator.pushInt(code, literals, arg0);
  5402.             argumentsPassed++;
  5403.         }
  5404.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5405.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5406.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5407.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5408.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5409.         return;
  5410.     }
  5411.     void modregion(std::string arg0, Interpreter::Type_Integer arg1, Interpreter::Type_Integer arg2, Interpreter::Type_Integer arg3, Interpreter::Type_Integer arg4, Interpreter::Type_Integer arg5, Interpreter::Type_Integer arg6, Interpreter::Type_Integer arg7, Interpreter::Type_Integer arg8, Interpreter::Type_Integer arg9, Interpreter::Type_Integer arg10)
  5412.     {
  5413.         Interpreter::Type_Code codeword = 3254789632;//codeword without arguments
  5414.         Literals& literals;
  5415.         std::vector<Interpreter::Type_Code> code;
  5416.         uint argCount = 11;
  5417.         uint optionalArgCount = 10;
  5418.         uint argumentsPassed = 0;
  5419.         uint optionalArgumentsPassed = 0;
  5420.         if (arg10!=-123456)
  5421.         {
  5422.             Compiler::Generator.pushInt(code, literals, arg10);
  5423.             argumentsPassed++;
  5424.         }
  5425.         if (arg9!=-123456)
  5426.         {
  5427.             Compiler::Generator.pushInt(code, literals, arg9);
  5428.             argumentsPassed++;
  5429.         }
  5430.         if (arg8!=-123456)
  5431.         {
  5432.             Compiler::Generator.pushInt(code, literals, arg8);
  5433.             argumentsPassed++;
  5434.         }
  5435.         if (arg7!=-123456)
  5436.         {
  5437.             Compiler::Generator.pushInt(code, literals, arg7);
  5438.             argumentsPassed++;
  5439.         }
  5440.         if (arg6!=-123456)
  5441.         {
  5442.             Compiler::Generator.pushInt(code, literals, arg6);
  5443.             argumentsPassed++;
  5444.         }
  5445.         if (arg5!=-123456)
  5446.         {
  5447.             Compiler::Generator.pushInt(code, literals, arg5);
  5448.             argumentsPassed++;
  5449.         }
  5450.         if (arg4!=-123456)
  5451.         {
  5452.             Compiler::Generator.pushInt(code, literals, arg4);
  5453.             argumentsPassed++;
  5454.         }
  5455.         if (arg3!=-123456)
  5456.         {
  5457.             Compiler::Generator.pushInt(code, literals, arg3);
  5458.             argumentsPassed++;
  5459.         }
  5460.         if (arg2!=-123456)
  5461.         {
  5462.             Compiler::Generator.pushInt(code, literals, arg2);
  5463.             argumentsPassed++;
  5464.         }
  5465.         if (arg1!=-123456)
  5466.         {
  5467.             Compiler::Generator.pushInt(code, literals, arg1);
  5468.             argumentsPassed++;
  5469.         }
  5470.         if (arg0!="OPTIONAL_FLAG")
  5471.         {
  5472.             Compiler::Generator.pushString(code, literals, arg0);
  5473.             argumentsPassed++;
  5474.         }
  5475.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5476.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5477.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5478.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5479.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5480.         return;
  5481.     }
  5482.     void modreputation(Interpreter::Type_Integer arg0)
  5483.     {
  5484.         Interpreter::Type_Code codeword = 3388998062;//codeword without arguments
  5485.         Literals& literals;
  5486.         std::vector<Interpreter::Type_Code> code;
  5487.         uint argCount = 1;
  5488.         uint optionalArgCount = 0;
  5489.         uint argumentsPassed = 0;
  5490.         uint optionalArgumentsPassed = 0;
  5491.         if (arg0!=-123456)
  5492.         {
  5493.             Compiler::Generator.pushInt(code, literals, arg0);
  5494.             argumentsPassed++;
  5495.         }
  5496.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5497.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5498.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5499.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5500.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5501.         return;
  5502.     }
  5503.     void modresistblight(Interpreter::Type_Integer arg0)
  5504.     {
  5505.         Interpreter::Type_Code codeword = 3388998345;//codeword without arguments
  5506.         Literals& literals;
  5507.         std::vector<Interpreter::Type_Code> code;
  5508.         uint argCount = 1;
  5509.         uint optionalArgCount = 0;
  5510.         uint argumentsPassed = 0;
  5511.         uint optionalArgumentsPassed = 0;
  5512.         if (arg0!=-123456)
  5513.         {
  5514.             Compiler::Generator.pushInt(code, literals, arg0);
  5515.             argumentsPassed++;
  5516.         }
  5517.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5518.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5519.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5520.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5521.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5522.         return;
  5523.     }
  5524.     void modresistcorprus(Interpreter::Type_Integer arg0)
  5525.     {
  5526.         Interpreter::Type_Code codeword = 3388998346;//codeword without arguments
  5527.         Literals& literals;
  5528.         std::vector<Interpreter::Type_Code> code;
  5529.         uint argCount = 1;
  5530.         uint optionalArgCount = 0;
  5531.         uint argumentsPassed = 0;
  5532.         uint optionalArgumentsPassed = 0;
  5533.         if (arg0!=-123456)
  5534.         {
  5535.             Compiler::Generator.pushInt(code, literals, arg0);
  5536.             argumentsPassed++;
  5537.         }
  5538.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5539.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5540.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5541.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5542.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5543.         return;
  5544.     }
  5545.     void modresistdisease(Interpreter::Type_Integer arg0)
  5546.     {
  5547.         Interpreter::Type_Code codeword = 3388998344;//codeword without arguments
  5548.         Literals& literals;
  5549.         std::vector<Interpreter::Type_Code> code;
  5550.         uint argCount = 1;
  5551.         uint optionalArgCount = 0;
  5552.         uint argumentsPassed = 0;
  5553.         uint optionalArgumentsPassed = 0;
  5554.         if (arg0!=-123456)
  5555.         {
  5556.             Compiler::Generator.pushInt(code, literals, arg0);
  5557.             argumentsPassed++;
  5558.         }
  5559.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5560.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5561.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5562.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5563.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5564.         return;
  5565.     }
  5566.     void modresistfire(Interpreter::Type_Integer arg0)
  5567.     {
  5568.         Interpreter::Type_Code codeword = 3388998341;//codeword without arguments
  5569.         Literals& literals;
  5570.         std::vector<Interpreter::Type_Code> code;
  5571.         uint argCount = 1;
  5572.         uint optionalArgCount = 0;
  5573.         uint argumentsPassed = 0;
  5574.         uint optionalArgumentsPassed = 0;
  5575.         if (arg0!=-123456)
  5576.         {
  5577.             Compiler::Generator.pushInt(code, literals, arg0);
  5578.             argumentsPassed++;
  5579.         }
  5580.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5581.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5582.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5583.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5584.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5585.         return;
  5586.     }
  5587.     void modresistfrost(Interpreter::Type_Integer arg0)
  5588.     {
  5589.         Interpreter::Type_Code codeword = 3388998342;//codeword without arguments
  5590.         Literals& literals;
  5591.         std::vector<Interpreter::Type_Code> code;
  5592.         uint argCount = 1;
  5593.         uint optionalArgCount = 0;
  5594.         uint argumentsPassed = 0;
  5595.         uint optionalArgumentsPassed = 0;
  5596.         if (arg0!=-123456)
  5597.         {
  5598.             Compiler::Generator.pushInt(code, literals, arg0);
  5599.             argumentsPassed++;
  5600.         }
  5601.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5602.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5603.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5604.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5605.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5606.         return;
  5607.     }
  5608.     void modresistmagicka(Interpreter::Type_Integer arg0)
  5609.     {
  5610.         Interpreter::Type_Code codeword = 3388998340;//codeword without arguments
  5611.         Literals& literals;
  5612.         std::vector<Interpreter::Type_Code> code;
  5613.         uint argCount = 1;
  5614.         uint optionalArgCount = 0;
  5615.         uint argumentsPassed = 0;
  5616.         uint optionalArgumentsPassed = 0;
  5617.         if (arg0!=-123456)
  5618.         {
  5619.             Compiler::Generator.pushInt(code, literals, arg0);
  5620.             argumentsPassed++;
  5621.         }
  5622.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5623.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5624.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5625.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5626.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5627.         return;
  5628.     }
  5629.     void modresistnormalweapons(Interpreter::Type_Integer arg0)
  5630.     {
  5631.         Interpreter::Type_Code codeword = 3388998349;//codeword without arguments
  5632.         Literals& literals;
  5633.         std::vector<Interpreter::Type_Code> code;
  5634.         uint argCount = 1;
  5635.         uint optionalArgCount = 0;
  5636.         uint argumentsPassed = 0;
  5637.         uint optionalArgumentsPassed = 0;
  5638.         if (arg0!=-123456)
  5639.         {
  5640.             Compiler::Generator.pushInt(code, literals, arg0);
  5641.             argumentsPassed++;
  5642.         }
  5643.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5644.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5645.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5646.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5647.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5648.         return;
  5649.     }
  5650.     void modresistparalysis(Interpreter::Type_Integer arg0)
  5651.     {
  5652.         Interpreter::Type_Code codeword = 3388998348;//codeword without arguments
  5653.         Literals& literals;
  5654.         std::vector<Interpreter::Type_Code> code;
  5655.         uint argCount = 1;
  5656.         uint optionalArgCount = 0;
  5657.         uint argumentsPassed = 0;
  5658.         uint optionalArgumentsPassed = 0;
  5659.         if (arg0!=-123456)
  5660.         {
  5661.             Compiler::Generator.pushInt(code, literals, arg0);
  5662.             argumentsPassed++;
  5663.         }
  5664.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5665.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5666.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5667.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5668.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5669.         return;
  5670.     }
  5671.     void modresistpoison(Interpreter::Type_Integer arg0)
  5672.     {
  5673.         Interpreter::Type_Code codeword = 3388998347;//codeword without arguments
  5674.         Literals& literals;
  5675.         std::vector<Interpreter::Type_Code> code;
  5676.         uint argCount = 1;
  5677.         uint optionalArgCount = 0;
  5678.         uint argumentsPassed = 0;
  5679.         uint optionalArgumentsPassed = 0;
  5680.         if (arg0!=-123456)
  5681.         {
  5682.             Compiler::Generator.pushInt(code, literals, arg0);
  5683.             argumentsPassed++;
  5684.         }
  5685.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5686.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5687.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5688.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5689.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5690.         return;
  5691.     }
  5692.     void modresistshock(Interpreter::Type_Integer arg0)
  5693.     {
  5694.         Interpreter::Type_Code codeword = 3388998343;//codeword without arguments
  5695.         Literals& literals;
  5696.         std::vector<Interpreter::Type_Code> code;
  5697.         uint argCount = 1;
  5698.         uint optionalArgCount = 0;
  5699.         uint argumentsPassed = 0;
  5700.         uint optionalArgumentsPassed = 0;
  5701.         if (arg0!=-123456)
  5702.         {
  5703.             Compiler::Generator.pushInt(code, literals, arg0);
  5704.             argumentsPassed++;
  5705.         }
  5706.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5707.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5708.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5709.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5710.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5711.         return;
  5712.     }
  5713.     void modrestoration(Interpreter::Type_Integer arg0)
  5714.     {
  5715.         Interpreter::Type_Code codeword = 3388997897;//codeword without arguments
  5716.         Literals& literals;
  5717.         std::vector<Interpreter::Type_Code> code;
  5718.         uint argCount = 1;
  5719.         uint optionalArgCount = 0;
  5720.         uint argumentsPassed = 0;
  5721.         uint optionalArgumentsPassed = 0;
  5722.         if (arg0!=-123456)
  5723.         {
  5724.             Compiler::Generator.pushInt(code, literals, arg0);
  5725.             argumentsPassed++;
  5726.         }
  5727.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5728.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5729.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5730.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5731.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5732.         return;
  5733.     }
  5734.     void modscale(Interpreter::Type_Float arg0)
  5735.     {
  5736.         Interpreter::Type_Code codeword = 3388998115;//codeword without arguments
  5737.         Literals& literals;
  5738.         std::vector<Interpreter::Type_Code> code;
  5739.         uint argCount = 1;
  5740.         uint optionalArgCount = 0;
  5741.         uint argumentsPassed = 0;
  5742.         uint optionalArgumentsPassed = 0;
  5743.         if (arg0!=-123456)
  5744.         {
  5745.             Compiler::Generator.pushFloat(code, literals, arg0);
  5746.             argumentsPassed++;
  5747.         }
  5748.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5749.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5750.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5751.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5752.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5753.         return;
  5754.     }
  5755.     void modsecurity(Interpreter::Type_Integer arg0)
  5756.     {
  5757.         Interpreter::Type_Code codeword = 3388997900;//codeword without arguments
  5758.         Literals& literals;
  5759.         std::vector<Interpreter::Type_Code> code;
  5760.         uint argCount = 1;
  5761.         uint optionalArgCount = 0;
  5762.         uint argumentsPassed = 0;
  5763.         uint optionalArgumentsPassed = 0;
  5764.         if (arg0!=-123456)
  5765.         {
  5766.             Compiler::Generator.pushInt(code, literals, arg0);
  5767.             argumentsPassed++;
  5768.         }
  5769.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5770.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5771.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5772.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5773.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5774.         return;
  5775.     }
  5776.     void modshortblade(Interpreter::Type_Integer arg0)
  5777.     {
  5778.         Interpreter::Type_Code codeword = 3388997904;//codeword without arguments
  5779.         Literals& literals;
  5780.         std::vector<Interpreter::Type_Code> code;
  5781.         uint argCount = 1;
  5782.         uint optionalArgCount = 0;
  5783.         uint argumentsPassed = 0;
  5784.         uint optionalArgumentsPassed = 0;
  5785.         if (arg0!=-123456)
  5786.         {
  5787.             Compiler::Generator.pushInt(code, literals, arg0);
  5788.             argumentsPassed++;
  5789.         }
  5790.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5791.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5792.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5793.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5794.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5795.         return;
  5796.     }
  5797.     void modsilence(Interpreter::Type_Integer arg0)
  5798.     {
  5799.         Interpreter::Type_Code codeword = 3388998358;//codeword without arguments
  5800.         Literals& literals;
  5801.         std::vector<Interpreter::Type_Code> code;
  5802.         uint argCount = 1;
  5803.         uint optionalArgCount = 0;
  5804.         uint argumentsPassed = 0;
  5805.         uint optionalArgumentsPassed = 0;
  5806.         if (arg0!=-123456)
  5807.         {
  5808.             Compiler::Generator.pushInt(code, literals, arg0);
  5809.             argumentsPassed++;
  5810.         }
  5811.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5812.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5813.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5814.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5815.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5816.         return;
  5817.     }
  5818.     void modsneak(Interpreter::Type_Integer arg0)
  5819.     {
  5820.         Interpreter::Type_Code codeword = 3388997901;//codeword without arguments
  5821.         Literals& literals;
  5822.         std::vector<Interpreter::Type_Code> code;
  5823.         uint argCount = 1;
  5824.         uint optionalArgCount = 0;
  5825.         uint argumentsPassed = 0;
  5826.         uint optionalArgumentsPassed = 0;
  5827.         if (arg0!=-123456)
  5828.         {
  5829.             Compiler::Generator.pushInt(code, literals, arg0);
  5830.             argumentsPassed++;
  5831.         }
  5832.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5833.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5834.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5835.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5836.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5837.         return;
  5838.     }
  5839.     void modspear(Interpreter::Type_Integer arg0)
  5840.     {
  5841.         Interpreter::Type_Code codeword = 3388997889;//codeword without arguments
  5842.         Literals& literals;
  5843.         std::vector<Interpreter::Type_Code> code;
  5844.         uint argCount = 1;
  5845.         uint optionalArgCount = 0;
  5846.         uint argumentsPassed = 0;
  5847.         uint optionalArgumentsPassed = 0;
  5848.         if (arg0!=-123456)
  5849.         {
  5850.             Compiler::Generator.pushInt(code, literals, arg0);
  5851.             argumentsPassed++;
  5852.         }
  5853.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5854.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5855.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5856.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5857.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5858.         return;
  5859.     }
  5860.     void modspeechcraft(Interpreter::Type_Integer arg0)
  5861.     {
  5862.         Interpreter::Type_Code codeword = 3388997907;//codeword without arguments
  5863.         Literals& literals;
  5864.         std::vector<Interpreter::Type_Code> code;
  5865.         uint argCount = 1;
  5866.         uint optionalArgCount = 0;
  5867.         uint argumentsPassed = 0;
  5868.         uint optionalArgumentsPassed = 0;
  5869.         if (arg0!=-123456)
  5870.         {
  5871.             Compiler::Generator.pushInt(code, literals, arg0);
  5872.             argumentsPassed++;
  5873.         }
  5874.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5875.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5876.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5877.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5878.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5879.         return;
  5880.     }
  5881.     void modspeed(Interpreter::Type_Integer arg0)
  5882.     {
  5883.         Interpreter::Type_Code codeword = 3388997707;//codeword without arguments
  5884.         Literals& literals;
  5885.         std::vector<Interpreter::Type_Code> code;
  5886.         uint argCount = 1;
  5887.         uint optionalArgCount = 0;
  5888.         uint argumentsPassed = 0;
  5889.         uint optionalArgumentsPassed = 0;
  5890.         if (arg0!=-123456)
  5891.         {
  5892.             Compiler::Generator.pushInt(code, literals, arg0);
  5893.             argumentsPassed++;
  5894.         }
  5895.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5896.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5897.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5898.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5899.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5900.         return;
  5901.     }
  5902.     void modstrength(Interpreter::Type_Integer arg0)
  5903.     {
  5904.         Interpreter::Type_Code codeword = 3388997703;//codeword without arguments
  5905.         Literals& literals;
  5906.         std::vector<Interpreter::Type_Code> code;
  5907.         uint argCount = 1;
  5908.         uint optionalArgCount = 0;
  5909.         uint argumentsPassed = 0;
  5910.         uint optionalArgumentsPassed = 0;
  5911.         if (arg0!=-123456)
  5912.         {
  5913.             Compiler::Generator.pushInt(code, literals, arg0);
  5914.             argumentsPassed++;
  5915.         }
  5916.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5917.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5918.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5919.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5920.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5921.         return;
  5922.     }
  5923.     void modsuperjump(Interpreter::Type_Integer arg0)
  5924.     {
  5925.         Interpreter::Type_Code codeword = 3388998354;//codeword without arguments
  5926.         Literals& literals;
  5927.         std::vector<Interpreter::Type_Code> code;
  5928.         uint argCount = 1;
  5929.         uint optionalArgCount = 0;
  5930.         uint argumentsPassed = 0;
  5931.         uint optionalArgumentsPassed = 0;
  5932.         if (arg0!=-123456)
  5933.         {
  5934.             Compiler::Generator.pushInt(code, literals, arg0);
  5935.             argumentsPassed++;
  5936.         }
  5937.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5938.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5939.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5940.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5941.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5942.         return;
  5943.     }
  5944.     void modswimspeed(Interpreter::Type_Integer arg0)
  5945.     {
  5946.         Interpreter::Type_Code codeword = 3388998353;//codeword without arguments
  5947.         Literals& literals;
  5948.         std::vector<Interpreter::Type_Code> code;
  5949.         uint argCount = 1;
  5950.         uint optionalArgCount = 0;
  5951.         uint argumentsPassed = 0;
  5952.         uint optionalArgumentsPassed = 0;
  5953.         if (arg0!=-123456)
  5954.         {
  5955.             Compiler::Generator.pushInt(code, literals, arg0);
  5956.             argumentsPassed++;
  5957.         }
  5958.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5959.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5960.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5961.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5962.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5963.         return;
  5964.     }
  5965.     void modunarmored(Interpreter::Type_Integer arg0)
  5966.     {
  5967.         Interpreter::Type_Code codeword = 3388997899;//codeword without arguments
  5968.         Literals& literals;
  5969.         std::vector<Interpreter::Type_Code> code;
  5970.         uint argCount = 1;
  5971.         uint optionalArgCount = 0;
  5972.         uint argumentsPassed = 0;
  5973.         uint optionalArgumentsPassed = 0;
  5974.         if (arg0!=-123456)
  5975.         {
  5976.             Compiler::Generator.pushInt(code, literals, arg0);
  5977.             argumentsPassed++;
  5978.         }
  5979.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  5980.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  5981.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  5982.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  5983.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  5984.         return;
  5985.     }
  5986.     void modwaterbreathing(Interpreter::Type_Integer arg0)
  5987.     {
  5988.         Interpreter::Type_Code codeword = 3388998350;//codeword without arguments
  5989.         Literals& literals;
  5990.         std::vector<Interpreter::Type_Code> code;
  5991.         uint argCount = 1;
  5992.         uint optionalArgCount = 0;
  5993.         uint argumentsPassed = 0;
  5994.         uint optionalArgumentsPassed = 0;
  5995.         if (arg0!=-123456)
  5996.         {
  5997.             Compiler::Generator.pushInt(code, literals, arg0);
  5998.             argumentsPassed++;
  5999.         }
  6000.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6001.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6002.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6003.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6004.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6005.         return;
  6006.     }
  6007.     void modwaterlevel(Interpreter::Type_Float arg0)
  6008.     {
  6009.         Interpreter::Type_Code codeword = 3388997955;//codeword without arguments
  6010.         Literals& literals;
  6011.         std::vector<Interpreter::Type_Code> code;
  6012.         uint argCount = 1;
  6013.         uint optionalArgCount = 0;
  6014.         uint argumentsPassed = 0;
  6015.         uint optionalArgumentsPassed = 0;
  6016.         if (arg0!=-123456)
  6017.         {
  6018.             Compiler::Generator.pushFloat(code, literals, arg0);
  6019.             argumentsPassed++;
  6020.         }
  6021.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6022.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6023.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6024.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6025.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6026.         return;
  6027.     }
  6028.     void modwaterwalking(Interpreter::Type_Integer arg0)
  6029.     {
  6030.         Interpreter::Type_Code codeword = 3388998352;//codeword without arguments
  6031.         Literals& literals;
  6032.         std::vector<Interpreter::Type_Code> code;
  6033.         uint argCount = 1;
  6034.         uint optionalArgCount = 0;
  6035.         uint argumentsPassed = 0;
  6036.         uint optionalArgumentsPassed = 0;
  6037.         if (arg0!=-123456)
  6038.         {
  6039.             Compiler::Generator.pushInt(code, literals, arg0);
  6040.             argumentsPassed++;
  6041.         }
  6042.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6043.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6044.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6045.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6046.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6047.         return;
  6048.     }
  6049.     void modwillpower(Interpreter::Type_Integer arg0)
  6050.     {
  6051.         Interpreter::Type_Code codeword = 3388997705;//codeword without arguments
  6052.         Literals& literals;
  6053.         std::vector<Interpreter::Type_Code> code;
  6054.         uint argCount = 1;
  6055.         uint optionalArgCount = 0;
  6056.         uint argumentsPassed = 0;
  6057.         uint optionalArgumentsPassed = 0;
  6058.         if (arg0!=-123456)
  6059.         {
  6060.             Compiler::Generator.pushInt(code, literals, arg0);
  6061.             argumentsPassed++;
  6062.         }
  6063.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6064.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6065.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6066.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6067.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6068.         return;
  6069.     }
  6070.     void move(std::string arg0, Interpreter::Type_Float arg1)
  6071.     {
  6072.         Interpreter::Type_Code codeword = 3388998150;//codeword without arguments
  6073.         Literals& literals;
  6074.         std::vector<Interpreter::Type_Code> code;
  6075.         uint argCount = 2;
  6076.         uint optionalArgCount = 0;
  6077.         uint argumentsPassed = 0;
  6078.         uint optionalArgumentsPassed = 0;
  6079.         if (arg1!=-123456)
  6080.         {
  6081.             Compiler::Generator.pushFloat(code, literals, arg1);
  6082.             argumentsPassed++;
  6083.         }
  6084.         if (arg0!="OPTIONAL_FLAG")
  6085.         {
  6086.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6087.             argumentsPassed++;
  6088.         }
  6089.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6090.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6091.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6092.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6093.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6094.         return;
  6095.     }
  6096.     void moveworld(std::string arg0, Interpreter::Type_Float arg1)
  6097.     {
  6098.         Interpreter::Type_Code codeword = 3388998152;//codeword without arguments
  6099.         Literals& literals;
  6100.         std::vector<Interpreter::Type_Code> code;
  6101.         uint argCount = 2;
  6102.         uint optionalArgCount = 0;
  6103.         uint argumentsPassed = 0;
  6104.         uint optionalArgumentsPassed = 0;
  6105.         if (arg1!=-123456)
  6106.         {
  6107.             Compiler::Generator.pushFloat(code, literals, arg1);
  6108.             argumentsPassed++;
  6109.         }
  6110.         if (arg0!="OPTIONAL_FLAG")
  6111.         {
  6112.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6113.             argumentsPassed++;
  6114.         }
  6115.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6116.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6117.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6118.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6119.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6120.         return;
  6121.     }
  6122.     Interpreter::Type_Integer onactivate()
  6123.     {
  6124.         Interpreter::Type_Code codeword = 3388997645;//codeword without arguments
  6125.         Literals& literals;
  6126.         std::vector<Interpreter::Type_Code> code;
  6127.         uint argCount = 0;
  6128.         uint optionalArgCount = 0;
  6129.         uint argumentsPassed = 0;
  6130.         uint optionalArgumentsPassed = 0;
  6131.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6132.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6133.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6134.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6135.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6136.         return runtime[0].mInteger;
  6137.     }
  6138.     Interpreter::Type_Integer ondeath()
  6139.     {
  6140.         Interpreter::Type_Code codeword = 3388998140;//codeword without arguments
  6141.         Literals& literals;
  6142.         std::vector<Interpreter::Type_Code> code;
  6143.         uint argCount = 0;
  6144.         uint optionalArgCount = 0;
  6145.         uint argumentsPassed = 0;
  6146.         uint optionalArgumentsPassed = 0;
  6147.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6148.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6149.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6150.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6151.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6152.         return runtime[0].mInteger;
  6153.     }
  6154.     Interpreter::Type_Integer onknockout()
  6155.     {
  6156.         Interpreter::Type_Code codeword = 3388998208;//codeword without arguments
  6157.         Literals& literals;
  6158.         std::vector<Interpreter::Type_Code> code;
  6159.         uint argCount = 0;
  6160.         uint optionalArgCount = 0;
  6161.         uint argumentsPassed = 0;
  6162.         uint optionalArgumentsPassed = 0;
  6163.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6164.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6165.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6166.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6167.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6168.         return runtime[0].mInteger;
  6169.     }
  6170.     Interpreter::Type_Integer onmurder()
  6171.     {
  6172.         Interpreter::Type_Code codeword = 3388998217;//codeword without arguments
  6173.         Literals& literals;
  6174.         std::vector<Interpreter::Type_Code> code;
  6175.         uint argCount = 0;
  6176.         uint optionalArgCount = 0;
  6177.         uint argumentsPassed = 0;
  6178.         uint optionalArgumentsPassed = 0;
  6179.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6180.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6181.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6182.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6183.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6184.         return runtime[0].mInteger;
  6185.     }
  6186.     void payfine()
  6187.     {
  6188.         Interpreter::Type_Code codeword = 3388998198;//codeword without arguments
  6189.         Literals& literals;
  6190.         std::vector<Interpreter::Type_Code> code;
  6191.         uint argCount = 0;
  6192.         uint optionalArgCount = 0;
  6193.         uint argumentsPassed = 0;
  6194.         uint optionalArgumentsPassed = 0;
  6195.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6196.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6197.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6198.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6199.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6200.         return;
  6201.     }
  6202.     void payfinethief()
  6203.     {
  6204.         Interpreter::Type_Code codeword = 3388998199;//codeword without arguments
  6205.         Literals& literals;
  6206.         std::vector<Interpreter::Type_Code> code;
  6207.         uint argCount = 0;
  6208.         uint optionalArgCount = 0;
  6209.         uint argumentsPassed = 0;
  6210.         uint optionalArgumentsPassed = 0;
  6211.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6212.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6213.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6214.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6215.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6216.         return;
  6217.     }
  6218.     void pcclearexpelled(std::string arg0)
  6219.     {
  6220.         Interpreter::Type_Code codeword = 3254787072;//codeword without arguments
  6221.         Literals& literals;
  6222.         std::vector<Interpreter::Type_Code> code;
  6223.         uint argCount = 1;
  6224.         uint optionalArgCount = 1;
  6225.         uint argumentsPassed = 0;
  6226.         uint optionalArgumentsPassed = 0;
  6227.         if (arg0!="OPTIONAL_FLAG")
  6228.         {
  6229.             Compiler::Generator.pushString(code, literals, arg0);
  6230.             argumentsPassed++;
  6231.         }
  6232.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6233.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6234.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6235.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6236.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6237.         return;
  6238.     }
  6239.     void pcexpell(std::string arg0)
  6240.     {
  6241.         Interpreter::Type_Code codeword = 3254786560;//codeword without arguments
  6242.         Literals& literals;
  6243.         std::vector<Interpreter::Type_Code> code;
  6244.         uint argCount = 1;
  6245.         uint optionalArgCount = 1;
  6246.         uint argumentsPassed = 0;
  6247.         uint optionalArgumentsPassed = 0;
  6248.         if (arg0!="OPTIONAL_FLAG")
  6249.         {
  6250.             Compiler::Generator.pushString(code, literals, arg0);
  6251.             argumentsPassed++;
  6252.         }
  6253.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6254.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6255.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6256.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6257.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6258.         return;
  6259.     }
  6260.     Interpreter::Type_Integer pcexpelled(std::string arg0)
  6261.     {
  6262.         Interpreter::Type_Code codeword = 3254786048;//codeword without arguments
  6263.         Literals& literals;
  6264.         std::vector<Interpreter::Type_Code> code;
  6265.         uint argCount = 1;
  6266.         uint optionalArgCount = 1;
  6267.         uint argumentsPassed = 0;
  6268.         uint optionalArgumentsPassed = 0;
  6269.         if (arg0!="OPTIONAL_FLAG")
  6270.         {
  6271.             Compiler::Generator.pushString(code, literals, arg0);
  6272.             argumentsPassed++;
  6273.         }
  6274.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6275.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6276.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6277.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6278.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6279.         return runtime[0].mInteger;
  6280.     }
  6281.     void pcforce1stperson()
  6282.     {
  6283.         Interpreter::Type_Code codeword = 3388998390;//codeword without arguments
  6284.         Literals& literals;
  6285.         std::vector<Interpreter::Type_Code> code;
  6286.         uint argCount = 0;
  6287.         uint optionalArgCount = 0;
  6288.         uint argumentsPassed = 0;
  6289.         uint optionalArgumentsPassed = 0;
  6290.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6291.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6292.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6293.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6294.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6295.         return;
  6296.     }
  6297.     void pcforce3rdperson()
  6298.     {
  6299.         Interpreter::Type_Code codeword = 3388998391;//codeword without arguments
  6300.         Literals& literals;
  6301.         std::vector<Interpreter::Type_Code> code;
  6302.         uint argCount = 0;
  6303.         uint optionalArgCount = 0;
  6304.         uint argumentsPassed = 0;
  6305.         uint optionalArgumentsPassed = 0;
  6306.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6307.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6308.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6309.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6310.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6311.         return;
  6312.     }
  6313.     Interpreter::Type_Integer pcget3rdperson()
  6314.     {
  6315.         Interpreter::Type_Code codeword = 3388998392;//codeword without arguments
  6316.         Literals& literals;
  6317.         std::vector<Interpreter::Type_Code> code;
  6318.         uint argCount = 0;
  6319.         uint optionalArgCount = 0;
  6320.         uint argumentsPassed = 0;
  6321.         uint optionalArgumentsPassed = 0;
  6322.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6323.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6324.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6325.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6326.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6327.         return runtime[0].mInteger;
  6328.     }
  6329.     void pcjoinfaction(std::string arg0)
  6330.     {
  6331.         Interpreter::Type_Code codeword = 3254783232;//codeword without arguments
  6332.         Literals& literals;
  6333.         std::vector<Interpreter::Type_Code> code;
  6334.         uint argCount = 1;
  6335.         uint optionalArgCount = 1;
  6336.         uint argumentsPassed = 0;
  6337.         uint optionalArgumentsPassed = 0;
  6338.         if (arg0!="OPTIONAL_FLAG")
  6339.         {
  6340.             Compiler::Generator.pushString(code, literals, arg0);
  6341.             argumentsPassed++;
  6342.         }
  6343.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6344.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6345.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6346.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6347.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6348.         return;
  6349.     }
  6350.     void pclowerrank(std::string arg0)
  6351.     {
  6352.         Interpreter::Type_Code codeword = 3254782976;//codeword without arguments
  6353.         Literals& literals;
  6354.         std::vector<Interpreter::Type_Code> code;
  6355.         uint argCount = 1;
  6356.         uint optionalArgCount = 1;
  6357.         uint argumentsPassed = 0;
  6358.         uint optionalArgumentsPassed = 0;
  6359.         if (arg0!="OPTIONAL_FLAG")
  6360.         {
  6361.             Compiler::Generator.pushString(code, literals, arg0);
  6362.             argumentsPassed++;
  6363.         }
  6364.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6365.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6366.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6367.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6368.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6369.         return;
  6370.     }
  6371.     void pcraiserank(std::string arg0)
  6372.     {
  6373.         Interpreter::Type_Code codeword = 3254782720;//codeword without arguments
  6374.         Literals& literals;
  6375.         std::vector<Interpreter::Type_Code> code;
  6376.         uint argCount = 1;
  6377.         uint optionalArgCount = 1;
  6378.         uint argumentsPassed = 0;
  6379.         uint optionalArgumentsPassed = 0;
  6380.         if (arg0!="OPTIONAL_FLAG")
  6381.         {
  6382.             Compiler::Generator.pushString(code, literals, arg0);
  6383.             argumentsPassed++;
  6384.         }
  6385.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6386.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6387.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6388.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6389.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6390.         return;
  6391.     }
  6392.     void placeatme(std::string arg0, Interpreter::Type_Integer arg1, Interpreter::Type_Float arg2, Interpreter::Type_Integer arg3)
  6393.     {
  6394.         Interpreter::Type_Code codeword = 3388998045;//codeword without arguments
  6395.         Literals& literals;
  6396.         std::vector<Interpreter::Type_Code> code;
  6397.         uint argCount = 4;
  6398.         uint optionalArgCount = 0;
  6399.         uint argumentsPassed = 0;
  6400.         uint optionalArgumentsPassed = 0;
  6401.         if (arg3!=-123456)
  6402.         {
  6403.             Compiler::Generator.pushInt(code, literals, arg3);
  6404.             argumentsPassed++;
  6405.         }
  6406.         if (arg2!=-123456)
  6407.         {
  6408.             Compiler::Generator.pushFloat(code, literals, arg2);
  6409.             argumentsPassed++;
  6410.         }
  6411.         if (arg1!=-123456)
  6412.         {
  6413.             Compiler::Generator.pushInt(code, literals, arg1);
  6414.             argumentsPassed++;
  6415.         }
  6416.         if (arg0!="OPTIONAL_FLAG")
  6417.         {
  6418.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6419.             argumentsPassed++;
  6420.         }
  6421.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6422.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6423.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6424.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6425.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6426.         return;
  6427.     }
  6428.     void placeatpc(std::string arg0, Interpreter::Type_Integer arg1, Interpreter::Type_Float arg2, Interpreter::Type_Integer arg3)
  6429.     {
  6430.         Interpreter::Type_Code codeword = 3388998044;//codeword without arguments
  6431.         Literals& literals;
  6432.         std::vector<Interpreter::Type_Code> code;
  6433.         uint argCount = 4;
  6434.         uint optionalArgCount = 0;
  6435.         uint argumentsPassed = 0;
  6436.         uint optionalArgumentsPassed = 0;
  6437.         if (arg3!=-123456)
  6438.         {
  6439.             Compiler::Generator.pushInt(code, literals, arg3);
  6440.             argumentsPassed++;
  6441.         }
  6442.         if (arg2!=-123456)
  6443.         {
  6444.             Compiler::Generator.pushFloat(code, literals, arg2);
  6445.             argumentsPassed++;
  6446.         }
  6447.         if (arg1!=-123456)
  6448.         {
  6449.             Compiler::Generator.pushInt(code, literals, arg1);
  6450.             argumentsPassed++;
  6451.         }
  6452.         if (arg0!="OPTIONAL_FLAG")
  6453.         {
  6454.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6455.             argumentsPassed++;
  6456.         }
  6457.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6458.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6459.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6460.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6461.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6462.         return;
  6463.     }
  6464.     void placeitem(std::string arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2, Interpreter::Type_Float arg3, Interpreter::Type_Float arg4)
  6465.     {
  6466.         Interpreter::Type_Code codeword = 3388998043;//codeword without arguments
  6467.         Literals& literals;
  6468.         std::vector<Interpreter::Type_Code> code;
  6469.         uint argCount = 5;
  6470.         uint optionalArgCount = 0;
  6471.         uint argumentsPassed = 0;
  6472.         uint optionalArgumentsPassed = 0;
  6473.         if (arg4!=-123456)
  6474.         {
  6475.             Compiler::Generator.pushFloat(code, literals, arg4);
  6476.             argumentsPassed++;
  6477.         }
  6478.         if (arg3!=-123456)
  6479.         {
  6480.             Compiler::Generator.pushFloat(code, literals, arg3);
  6481.             argumentsPassed++;
  6482.         }
  6483.         if (arg2!=-123456)
  6484.         {
  6485.             Compiler::Generator.pushFloat(code, literals, arg2);
  6486.             argumentsPassed++;
  6487.         }
  6488.         if (arg1!=-123456)
  6489.         {
  6490.             Compiler::Generator.pushFloat(code, literals, arg1);
  6491.             argumentsPassed++;
  6492.         }
  6493.         if (arg0!="OPTIONAL_FLAG")
  6494.         {
  6495.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6496.             argumentsPassed++;
  6497.         }
  6498.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6499.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6500.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6501.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6502.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6503.         return;
  6504.     }
  6505.     void placeitemcell(std::string arg0, std::string arg1, Interpreter::Type_Float arg2, Interpreter::Type_Float arg3, Interpreter::Type_Float arg4, Interpreter::Type_Float arg5)
  6506.     {
  6507.         Interpreter::Type_Code codeword = 3388998042;//codeword without arguments
  6508.         Literals& literals;
  6509.         std::vector<Interpreter::Type_Code> code;
  6510.         uint argCount = 6;
  6511.         uint optionalArgCount = 0;
  6512.         uint argumentsPassed = 0;
  6513.         uint optionalArgumentsPassed = 0;
  6514.         if (arg5!=-123456)
  6515.         {
  6516.             Compiler::Generator.pushFloat(code, literals, arg5);
  6517.             argumentsPassed++;
  6518.         }
  6519.         if (arg4!=-123456)
  6520.         {
  6521.             Compiler::Generator.pushFloat(code, literals, arg4);
  6522.             argumentsPassed++;
  6523.         }
  6524.         if (arg3!=-123456)
  6525.         {
  6526.             Compiler::Generator.pushFloat(code, literals, arg3);
  6527.             argumentsPassed++;
  6528.         }
  6529.         if (arg2!=-123456)
  6530.         {
  6531.             Compiler::Generator.pushFloat(code, literals, arg2);
  6532.             argumentsPassed++;
  6533.         }
  6534.         if (arg1!="OPTIONAL_FLAG")
  6535.         {
  6536.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  6537.             argumentsPassed++;
  6538.         }
  6539.         if (arg0!="OPTIONAL_FLAG")
  6540.         {
  6541.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6542.             argumentsPassed++;
  6543.         }
  6544.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6545.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6546.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6547.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6548.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6549.         return;
  6550.     }
  6551.     void playbink(std::string arg0, Interpreter::Type_Integer arg1)
  6552.     {
  6553.         Interpreter::Type_Code codeword = 3388998135;//codeword without arguments
  6554.         Literals& literals;
  6555.         std::vector<Interpreter::Type_Code> code;
  6556.         uint argCount = 2;
  6557.         uint optionalArgCount = 0;
  6558.         uint argumentsPassed = 0;
  6559.         uint optionalArgumentsPassed = 0;
  6560.         if (arg1!=-123456)
  6561.         {
  6562.             Compiler::Generator.pushInt(code, literals, arg1);
  6563.             argumentsPassed++;
  6564.         }
  6565.         if (arg0!="OPTIONAL_FLAG")
  6566.         {
  6567.             Compiler::Generator.pushString(code, literals, arg0);
  6568.             argumentsPassed++;
  6569.         }
  6570.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6571.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6572.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6573.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6574.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6575.         return;
  6576.     }
  6577.     void playgroup(std::string arg0, Interpreter::Type_Integer arg1)
  6578.     {
  6579.         Interpreter::Type_Code codeword = 3254781440;//codeword without arguments
  6580.         Literals& literals;
  6581.         std::vector<Interpreter::Type_Code> code;
  6582.         uint argCount = 2;
  6583.         uint optionalArgCount = 1;
  6584.         uint argumentsPassed = 0;
  6585.         uint optionalArgumentsPassed = 0;
  6586.         if (arg1!=-123456)
  6587.         {
  6588.             Compiler::Generator.pushInt(code, literals, arg1);
  6589.             argumentsPassed++;
  6590.         }
  6591.         if (arg0!="OPTIONAL_FLAG")
  6592.         {
  6593.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6594.             argumentsPassed++;
  6595.         }
  6596.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6597.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6598.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6599.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6600.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6601.         return;
  6602.     }
  6603.     void playloopsound3d(std::string arg0)
  6604.     {
  6605.         Interpreter::Type_Code codeword = 3388997640;//codeword without arguments
  6606.         Literals& literals;
  6607.         std::vector<Interpreter::Type_Code> code;
  6608.         uint argCount = 1;
  6609.         uint optionalArgCount = 0;
  6610.         uint argumentsPassed = 0;
  6611.         uint optionalArgumentsPassed = 0;
  6612.         if (arg0!="OPTIONAL_FLAG")
  6613.         {
  6614.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6615.             argumentsPassed++;
  6616.         }
  6617.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6618.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6619.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6620.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6621.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6622.         return;
  6623.     }
  6624.     void playloopsound3dvp(std::string arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2)
  6625.     {
  6626.         Interpreter::Type_Code codeword = 3388997641;//codeword without arguments
  6627.         Literals& literals;
  6628.         std::vector<Interpreter::Type_Code> code;
  6629.         uint argCount = 3;
  6630.         uint optionalArgCount = 0;
  6631.         uint argumentsPassed = 0;
  6632.         uint optionalArgumentsPassed = 0;
  6633.         if (arg2!=-123456)
  6634.         {
  6635.             Compiler::Generator.pushFloat(code, literals, arg2);
  6636.             argumentsPassed++;
  6637.         }
  6638.         if (arg1!=-123456)
  6639.         {
  6640.             Compiler::Generator.pushFloat(code, literals, arg1);
  6641.             argumentsPassed++;
  6642.         }
  6643.         if (arg0!="OPTIONAL_FLAG")
  6644.         {
  6645.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6646.             argumentsPassed++;
  6647.         }
  6648.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6649.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6650.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6651.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6652.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6653.         return;
  6654.     }
  6655.     void playsound(std::string arg0)
  6656.     {
  6657.         Interpreter::Type_Code codeword = 3388997636;//codeword without arguments
  6658.         Literals& literals;
  6659.         std::vector<Interpreter::Type_Code> code;
  6660.         uint argCount = 1;
  6661.         uint optionalArgCount = 0;
  6662.         uint argumentsPassed = 0;
  6663.         uint optionalArgumentsPassed = 0;
  6664.         if (arg0!="OPTIONAL_FLAG")
  6665.         {
  6666.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6667.             argumentsPassed++;
  6668.         }
  6669.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6670.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6671.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6672.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6673.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6674.         return;
  6675.     }
  6676.     void playsound3d(std::string arg0)
  6677.     {
  6678.         Interpreter::Type_Code codeword = 3388997638;//codeword without arguments
  6679.         Literals& literals;
  6680.         std::vector<Interpreter::Type_Code> code;
  6681.         uint argCount = 1;
  6682.         uint optionalArgCount = 0;
  6683.         uint argumentsPassed = 0;
  6684.         uint optionalArgumentsPassed = 0;
  6685.         if (arg0!="OPTIONAL_FLAG")
  6686.         {
  6687.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6688.             argumentsPassed++;
  6689.         }
  6690.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6691.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6692.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6693.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6694.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6695.         return;
  6696.     }
  6697.     void playsound3dvp(std::string arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2)
  6698.     {
  6699.         Interpreter::Type_Code codeword = 3388997639;//codeword without arguments
  6700.         Literals& literals;
  6701.         std::vector<Interpreter::Type_Code> code;
  6702.         uint argCount = 3;
  6703.         uint optionalArgCount = 0;
  6704.         uint argumentsPassed = 0;
  6705.         uint optionalArgumentsPassed = 0;
  6706.         if (arg2!=-123456)
  6707.         {
  6708.             Compiler::Generator.pushFloat(code, literals, arg2);
  6709.             argumentsPassed++;
  6710.         }
  6711.         if (arg1!=-123456)
  6712.         {
  6713.             Compiler::Generator.pushFloat(code, literals, arg1);
  6714.             argumentsPassed++;
  6715.         }
  6716.         if (arg0!="OPTIONAL_FLAG")
  6717.         {
  6718.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6719.             argumentsPassed++;
  6720.         }
  6721.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6722.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6723.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6724.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6725.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6726.         return;
  6727.     }
  6728.     void playsoundvp(std::string arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2)
  6729.     {
  6730.         Interpreter::Type_Code codeword = 3388997637;//codeword without arguments
  6731.         Literals& literals;
  6732.         std::vector<Interpreter::Type_Code> code;
  6733.         uint argCount = 3;
  6734.         uint optionalArgCount = 0;
  6735.         uint argumentsPassed = 0;
  6736.         uint optionalArgumentsPassed = 0;
  6737.         if (arg2!=-123456)
  6738.         {
  6739.             Compiler::Generator.pushFloat(code, literals, arg2);
  6740.             argumentsPassed++;
  6741.         }
  6742.         if (arg1!=-123456)
  6743.         {
  6744.             Compiler::Generator.pushFloat(code, literals, arg1);
  6745.             argumentsPassed++;
  6746.         }
  6747.         if (arg0!="OPTIONAL_FLAG")
  6748.         {
  6749.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6750.             argumentsPassed++;
  6751.         }
  6752.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6753.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6754.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6755.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6756.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6757.         return;
  6758.     }
  6759.     void position(Interpreter::Type_Float arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2, Interpreter::Type_Float arg3)
  6760.     {
  6761.         Interpreter::Type_Code codeword = 3388998038;//codeword without arguments
  6762.         Literals& literals;
  6763.         std::vector<Interpreter::Type_Code> code;
  6764.         uint argCount = 4;
  6765.         uint optionalArgCount = 0;
  6766.         uint argumentsPassed = 0;
  6767.         uint optionalArgumentsPassed = 0;
  6768.         if (arg3!=-123456)
  6769.         {
  6770.             Compiler::Generator.pushFloat(code, literals, arg3);
  6771.             argumentsPassed++;
  6772.         }
  6773.         if (arg2!=-123456)
  6774.         {
  6775.             Compiler::Generator.pushFloat(code, literals, arg2);
  6776.             argumentsPassed++;
  6777.         }
  6778.         if (arg1!=-123456)
  6779.         {
  6780.             Compiler::Generator.pushFloat(code, literals, arg1);
  6781.             argumentsPassed++;
  6782.         }
  6783.         if (arg0!=-123456)
  6784.         {
  6785.             Compiler::Generator.pushFloat(code, literals, arg0);
  6786.             argumentsPassed++;
  6787.         }
  6788.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6789.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6790.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6791.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6792.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6793.         return;
  6794.     }
  6795.     void positioncell(Interpreter::Type_Float arg0, Interpreter::Type_Float arg1, Interpreter::Type_Float arg2, Interpreter::Type_Float arg3, std::string arg4)
  6796.     {
  6797.         Interpreter::Type_Code codeword = 3388998040;//codeword without arguments
  6798.         Literals& literals;
  6799.         std::vector<Interpreter::Type_Code> code;
  6800.         uint argCount = 5;
  6801.         uint optionalArgCount = 0;
  6802.         uint argumentsPassed = 0;
  6803.         uint optionalArgumentsPassed = 0;
  6804.         if (arg4!="OPTIONAL_FLAG")
  6805.         {
  6806.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg4));
  6807.             argumentsPassed++;
  6808.         }
  6809.         if (arg3!=-123456)
  6810.         {
  6811.             Compiler::Generator.pushFloat(code, literals, arg3);
  6812.             argumentsPassed++;
  6813.         }
  6814.         if (arg2!=-123456)
  6815.         {
  6816.             Compiler::Generator.pushFloat(code, literals, arg2);
  6817.             argumentsPassed++;
  6818.         }
  6819.         if (arg1!=-123456)
  6820.         {
  6821.             Compiler::Generator.pushFloat(code, literals, arg1);
  6822.             argumentsPassed++;
  6823.         }
  6824.         if (arg0!=-123456)
  6825.         {
  6826.             Compiler::Generator.pushFloat(code, literals, arg0);
  6827.             argumentsPassed++;
  6828.         }
  6829.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6830.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6831.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6832.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6833.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6834.         return;
  6835.     }
  6836.     void ra()
  6837.     {
  6838.         Interpreter::Type_Code codeword = 3388998388;//codeword without arguments
  6839.         Literals& literals;
  6840.         std::vector<Interpreter::Type_Code> code;
  6841.         uint argCount = 0;
  6842.         uint optionalArgCount = 0;
  6843.         uint argumentsPassed = 0;
  6844.         uint optionalArgumentsPassed = 0;
  6845.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6846.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6847.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6848.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6849.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6850.         return;
  6851.     }
  6852.     void raiserank()
  6853.     {
  6854.         Interpreter::Type_Code codeword = 3388998120;//codeword without arguments
  6855.         Literals& literals;
  6856.         std::vector<Interpreter::Type_Code> code;
  6857.         uint argCount = 0;
  6858.         uint optionalArgCount = 0;
  6859.         uint argumentsPassed = 0;
  6860.         uint optionalArgumentsPassed = 0;
  6861.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6862.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6863.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6864.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6865.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6866.         return;
  6867.     }
  6868.     void removeeffects(Interpreter::Type_Integer arg0)
  6869.     {
  6870.         Interpreter::Type_Code codeword = 3388998189;//codeword without arguments
  6871.         Literals& literals;
  6872.         std::vector<Interpreter::Type_Code> code;
  6873.         uint argCount = 1;
  6874.         uint optionalArgCount = 0;
  6875.         uint argumentsPassed = 0;
  6876.         uint optionalArgumentsPassed = 0;
  6877.         if (arg0!=-123456)
  6878.         {
  6879.             Compiler::Generator.pushInt(code, literals, arg0);
  6880.             argumentsPassed++;
  6881.         }
  6882.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6883.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6884.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6885.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6886.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6887.         return;
  6888.     }
  6889.     void removefromlevcreature(std::string arg0, std::string arg1, Interpreter::Type_Integer arg2)
  6890.     {
  6891.         Interpreter::Type_Code codeword = 3388998396;//codeword without arguments
  6892.         Literals& literals;
  6893.         std::vector<Interpreter::Type_Code> code;
  6894.         uint argCount = 3;
  6895.         uint optionalArgCount = 0;
  6896.         uint argumentsPassed = 0;
  6897.         uint optionalArgumentsPassed = 0;
  6898.         if (arg2!=-123456)
  6899.         {
  6900.             Compiler::Generator.pushInt(code, literals, arg2);
  6901.             argumentsPassed++;
  6902.         }
  6903.         if (arg1!="OPTIONAL_FLAG")
  6904.         {
  6905.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  6906.             argumentsPassed++;
  6907.         }
  6908.         if (arg0!="OPTIONAL_FLAG")
  6909.         {
  6910.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6911.             argumentsPassed++;
  6912.         }
  6913.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6914.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6915.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6916.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6917.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6918.         return;
  6919.     }
  6920.     void removefromlevitem(std::string arg0, std::string arg1, Interpreter::Type_Integer arg2)
  6921.     {
  6922.         Interpreter::Type_Code codeword = 3388998398;//codeword without arguments
  6923.         Literals& literals;
  6924.         std::vector<Interpreter::Type_Code> code;
  6925.         uint argCount = 3;
  6926.         uint optionalArgCount = 0;
  6927.         uint argumentsPassed = 0;
  6928.         uint optionalArgumentsPassed = 0;
  6929.         if (arg2!=-123456)
  6930.         {
  6931.             Compiler::Generator.pushInt(code, literals, arg2);
  6932.             argumentsPassed++;
  6933.         }
  6934.         if (arg1!="OPTIONAL_FLAG")
  6935.         {
  6936.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  6937.             argumentsPassed++;
  6938.         }
  6939.         if (arg0!="OPTIONAL_FLAG")
  6940.         {
  6941.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6942.             argumentsPassed++;
  6943.         }
  6944.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6945.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6946.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6947.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6948.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6949.         return;
  6950.     }
  6951.     void removeitem(std::string arg0, Interpreter::Type_Integer arg1)
  6952.     {
  6953.         Interpreter::Type_Code codeword = 3388997754;//codeword without arguments
  6954.         Literals& literals;
  6955.         std::vector<Interpreter::Type_Code> code;
  6956.         uint argCount = 2;
  6957.         uint optionalArgCount = 0;
  6958.         uint argumentsPassed = 0;
  6959.         uint optionalArgumentsPassed = 0;
  6960.         if (arg1!=-123456)
  6961.         {
  6962.             Compiler::Generator.pushInt(code, literals, arg1);
  6963.             argumentsPassed++;
  6964.         }
  6965.         if (arg0!="OPTIONAL_FLAG")
  6966.         {
  6967.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6968.             argumentsPassed++;
  6969.         }
  6970.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6971.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6972.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6973.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  6974.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  6975.         return;
  6976.     }
  6977.     void removesoulgem(std::string arg0, Interpreter::Type_Integer arg1)
  6978.     {
  6979.         Interpreter::Type_Code codeword = 3254789888;//codeword without arguments
  6980.         Literals& literals;
  6981.         std::vector<Interpreter::Type_Code> code;
  6982.         uint argCount = 2;
  6983.         uint optionalArgCount = 1;
  6984.         uint argumentsPassed = 0;
  6985.         uint optionalArgumentsPassed = 0;
  6986.         if (arg1!=-123456)
  6987.         {
  6988.             Compiler::Generator.pushInt(code, literals, arg1);
  6989.             argumentsPassed++;
  6990.         }
  6991.         if (arg0!="OPTIONAL_FLAG")
  6992.         {
  6993.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  6994.             argumentsPassed++;
  6995.         }
  6996.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  6997.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  6998.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  6999.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7000.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7001.         return;
  7002.     }
  7003.     void removespell(std::string arg0)
  7004.     {
  7005.         Interpreter::Type_Code codeword = 3388997961;//codeword without arguments
  7006.         Literals& literals;
  7007.         std::vector<Interpreter::Type_Code> code;
  7008.         uint argCount = 1;
  7009.         uint optionalArgCount = 0;
  7010.         uint argumentsPassed = 0;
  7011.         uint optionalArgumentsPassed = 0;
  7012.         if (arg0!="OPTIONAL_FLAG")
  7013.         {
  7014.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  7015.             argumentsPassed++;
  7016.         }
  7017.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7018.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7019.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7020.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7021.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7022.         return;
  7023.     }
  7024.     void removespelleffects(std::string arg0)
  7025.     {
  7026.         Interpreter::Type_Code codeword = 3388998187;//codeword without arguments
  7027.         Literals& literals;
  7028.         std::vector<Interpreter::Type_Code> code;
  7029.         uint argCount = 1;
  7030.         uint optionalArgCount = 0;
  7031.         uint argumentsPassed = 0;
  7032.         uint optionalArgumentsPassed = 0;
  7033.         if (arg0!="OPTIONAL_FLAG")
  7034.         {
  7035.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  7036.             argumentsPassed++;
  7037.         }
  7038.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7039.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7040.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7041.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7042.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7043.         return;
  7044.     }
  7045.     void resetactors()
  7046.     {
  7047.         Interpreter::Type_Code codeword = 3388998388;//codeword without arguments
  7048.         Literals& literals;
  7049.         std::vector<Interpreter::Type_Code> code;
  7050.         uint argCount = 0;
  7051.         uint optionalArgCount = 0;
  7052.         uint argumentsPassed = 0;
  7053.         uint optionalArgumentsPassed = 0;
  7054.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7055.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7056.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7057.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7058.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7059.         return;
  7060.     }
  7061.     void resurrect()
  7062.     {
  7063.         Interpreter::Type_Code codeword = 3388998191;//codeword without arguments
  7064.         Literals& literals;
  7065.         std::vector<Interpreter::Type_Code> code;
  7066.         uint argCount = 0;
  7067.         uint optionalArgCount = 0;
  7068.         uint argumentsPassed = 0;
  7069.         uint optionalArgumentsPassed = 0;
  7070.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7071.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7072.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7073.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7074.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7075.         return;
  7076.     }
  7077.     void rotate(std::string arg0, Interpreter::Type_Float arg1)
  7078.     {
  7079.         Interpreter::Type_Code codeword = 3388998143;//codeword without arguments
  7080.         Literals& literals;
  7081.         std::vector<Interpreter::Type_Code> code;
  7082.         uint argCount = 2;
  7083.         uint optionalArgCount = 0;
  7084.         uint argumentsPassed = 0;
  7085.         uint optionalArgumentsPassed = 0;
  7086.         if (arg1!=-123456)
  7087.         {
  7088.             Compiler::Generator.pushFloat(code, literals, arg1);
  7089.             argumentsPassed++;
  7090.         }
  7091.         if (arg0!="OPTIONAL_FLAG")
  7092.         {
  7093.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  7094.             argumentsPassed++;
  7095.         }
  7096.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7097.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7098.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7099.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7100.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7101.         return;
  7102.     }
  7103.     void rotateworld(std::string arg0, Interpreter::Type_Float arg1)
  7104.     {
  7105.         Interpreter::Type_Code codeword = 3388998145;//codeword without arguments
  7106.         Literals& literals;
  7107.         std::vector<Interpreter::Type_Code> code;
  7108.         uint argCount = 2;
  7109.         uint optionalArgCount = 0;
  7110.         uint argumentsPassed = 0;
  7111.         uint optionalArgumentsPassed = 0;
  7112.         if (arg1!=-123456)
  7113.         {
  7114.             Compiler::Generator.pushFloat(code, literals, arg1);
  7115.             argumentsPassed++;
  7116.         }
  7117.         if (arg0!="OPTIONAL_FLAG")
  7118.         {
  7119.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  7120.             argumentsPassed++;
  7121.         }
  7122.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7123.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7124.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7125.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7126.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7127.         return;
  7128.     }
  7129.     Interpreter::Type_Integer samefaction()
  7130.     {
  7131.         Interpreter::Type_Code codeword = 3388998069;//codeword without arguments
  7132.         Literals& literals;
  7133.         std::vector<Interpreter::Type_Code> code;
  7134.         uint argCount = 0;
  7135.         uint optionalArgCount = 0;
  7136.         uint argumentsPassed = 0;
  7137.         uint optionalArgumentsPassed = 0;
  7138.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7139.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7140.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7141.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7142.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7143.         return runtime[0].mInteger;
  7144.     }
  7145.     void say(std::string arg0, std::string arg1)
  7146.     {
  7147.         Interpreter::Type_Code codeword = 3388997633;//codeword without arguments
  7148.         Literals& literals;
  7149.         std::vector<Interpreter::Type_Code> code;
  7150.         uint argCount = 2;
  7151.         uint optionalArgCount = 0;
  7152.         uint argumentsPassed = 0;
  7153.         uint optionalArgumentsPassed = 0;
  7154.         if (arg1!="OPTIONAL_FLAG")
  7155.         {
  7156.             Compiler::Generator.pushString(code, literals, arg1);
  7157.             argumentsPassed++;
  7158.         }
  7159.         if (arg0!="OPTIONAL_FLAG")
  7160.         {
  7161.             Compiler::Generator.pushString(code, literals, arg0);
  7162.             argumentsPassed++;
  7163.         }
  7164.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7165.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7166.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7167.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7168.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7169.         return;
  7170.     }
  7171.     Interpreter::Type_Integer saydone()
  7172.     {
  7173.         Interpreter::Type_Code codeword = 3388997634;//codeword without arguments
  7174.         Literals& literals;
  7175.         std::vector<Interpreter::Type_Code> code;
  7176.         uint argCount = 0;
  7177.         uint optionalArgCount = 0;
  7178.         uint argumentsPassed = 0;
  7179.         uint optionalArgumentsPassed = 0;
  7180.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7181.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7182.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7183.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7184.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7185.         return runtime[0].mInteger;
  7186.     }
  7187.     void setacrobatics(Interpreter::Type_Integer arg0)
  7188.     {
  7189.         Interpreter::Type_Code codeword = 3388997848;//codeword without arguments
  7190.         Literals& literals;
  7191.         std::vector<Interpreter::Type_Code> code;
  7192.         uint argCount = 1;
  7193.         uint optionalArgCount = 0;
  7194.         uint argumentsPassed = 0;
  7195.         uint optionalArgumentsPassed = 0;
  7196.         if (arg0!=-123456)
  7197.         {
  7198.             Compiler::Generator.pushInt(code, literals, arg0);
  7199.             argumentsPassed++;
  7200.         }
  7201.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7202.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7203.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7204.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7205.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7206.         return;
  7207.     }
  7208.     void setagility(Interpreter::Type_Integer arg0)
  7209.     {
  7210.         Interpreter::Type_Code codeword = 3388997690;//codeword without arguments
  7211.         Literals& literals;
  7212.         std::vector<Interpreter::Type_Code> code;
  7213.         uint argCount = 1;
  7214.         uint optionalArgCount = 0;
  7215.         uint argumentsPassed = 0;
  7216.         uint optionalArgumentsPassed = 0;
  7217.         if (arg0!=-123456)
  7218.         {
  7219.             Compiler::Generator.pushInt(code, literals, arg0);
  7220.             argumentsPassed++;
  7221.         }
  7222.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7223.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7224.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7225.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7226.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7227.         return;
  7228.     }
  7229.     void setalarm(Interpreter::Type_Integer arg0)
  7230.     {
  7231.         Interpreter::Type_Code codeword = 3388997986;//codeword without arguments
  7232.         Literals& literals;
  7233.         std::vector<Interpreter::Type_Code> code;
  7234.         uint argCount = 1;
  7235.         uint optionalArgCount = 0;
  7236.         uint argumentsPassed = 0;
  7237.         uint optionalArgumentsPassed = 0;
  7238.         if (arg0!=-123456)
  7239.         {
  7240.             Compiler::Generator.pushInt(code, literals, arg0);
  7241.             argumentsPassed++;
  7242.         }
  7243.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7244.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7245.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7246.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7247.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7248.         return;
  7249.     }
  7250.     void setalchemy(Interpreter::Type_Integer arg0)
  7251.     {
  7252.         Interpreter::Type_Code codeword = 3388997844;//codeword without arguments
  7253.         Literals& literals;
  7254.         std::vector<Interpreter::Type_Code> code;
  7255.         uint argCount = 1;
  7256.         uint optionalArgCount = 0;
  7257.         uint argumentsPassed = 0;
  7258.         uint optionalArgumentsPassed = 0;
  7259.         if (arg0!=-123456)
  7260.         {
  7261.             Compiler::Generator.pushInt(code, literals, arg0);
  7262.             argumentsPassed++;
  7263.         }
  7264.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7265.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7266.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7267.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7268.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7269.         return;
  7270.     }
  7271.     void setalteration(Interpreter::Type_Integer arg0)
  7272.     {
  7273.         Interpreter::Type_Code codeword = 3388997839;//codeword without arguments
  7274.         Literals& literals;
  7275.         std::vector<Interpreter::Type_Code> code;
  7276.         uint argCount = 1;
  7277.         uint optionalArgCount = 0;
  7278.         uint argumentsPassed = 0;
  7279.         uint optionalArgumentsPassed = 0;
  7280.         if (arg0!=-123456)
  7281.         {
  7282.             Compiler::Generator.pushInt(code, literals, arg0);
  7283.             argumentsPassed++;
  7284.         }
  7285.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7286.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7287.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7288.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7289.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7290.         return;
  7291.     }
  7292.     void setangle(std::string arg0, Interpreter::Type_Float arg1)
  7293.     {
  7294.         Interpreter::Type_Code codeword = 3388997990;//codeword without arguments
  7295.         Literals& literals;
  7296.         std::vector<Interpreter::Type_Code> code;
  7297.         uint argCount = 2;
  7298.         uint optionalArgCount = 0;
  7299.         uint argumentsPassed = 0;
  7300.         uint optionalArgumentsPassed = 0;
  7301.         if (arg1!=-123456)
  7302.         {
  7303.             Compiler::Generator.pushFloat(code, literals, arg1);
  7304.             argumentsPassed++;
  7305.         }
  7306.         if (arg0!="OPTIONAL_FLAG")
  7307.         {
  7308.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  7309.             argumentsPassed++;
  7310.         }
  7311.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7312.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7313.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7314.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7315.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7316.         return;
  7317.     }
  7318.     void setarmorbonus(Interpreter::Type_Integer arg0)
  7319.     {
  7320.         Interpreter::Type_Code codeword = 3388998308;//codeword without arguments
  7321.         Literals& literals;
  7322.         std::vector<Interpreter::Type_Code> code;
  7323.         uint argCount = 1;
  7324.         uint optionalArgCount = 0;
  7325.         uint argumentsPassed = 0;
  7326.         uint optionalArgumentsPassed = 0;
  7327.         if (arg0!=-123456)
  7328.         {
  7329.             Compiler::Generator.pushInt(code, literals, arg0);
  7330.             argumentsPassed++;
  7331.         }
  7332.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7333.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7334.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7335.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7336.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7337.         return;
  7338.     }
  7339.     void setarmorer(Interpreter::Type_Integer arg0)
  7340.     {
  7341.         Interpreter::Type_Code codeword = 3388997829;//codeword without arguments
  7342.         Literals& literals;
  7343.         std::vector<Interpreter::Type_Code> code;
  7344.         uint argCount = 1;
  7345.         uint optionalArgCount = 0;
  7346.         uint argumentsPassed = 0;
  7347.         uint optionalArgumentsPassed = 0;
  7348.         if (arg0!=-123456)
  7349.         {
  7350.             Compiler::Generator.pushInt(code, literals, arg0);
  7351.             argumentsPassed++;
  7352.         }
  7353.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7354.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7355.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7356.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7357.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7358.         return;
  7359.     }
  7360.     void setathletics(Interpreter::Type_Integer arg0)
  7361.     {
  7362.         Interpreter::Type_Code codeword = 3388997836;//codeword without arguments
  7363.         Literals& literals;
  7364.         std::vector<Interpreter::Type_Code> code;
  7365.         uint argCount = 1;
  7366.         uint optionalArgCount = 0;
  7367.         uint argumentsPassed = 0;
  7368.         uint optionalArgumentsPassed = 0;
  7369.         if (arg0!=-123456)
  7370.         {
  7371.             Compiler::Generator.pushInt(code, literals, arg0);
  7372.             argumentsPassed++;
  7373.         }
  7374.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7375.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7376.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7377.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7378.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7379.         return;
  7380.     }
  7381.     void setatstart()
  7382.     {
  7383.         Interpreter::Type_Code codeword = 3388998147;//codeword without arguments
  7384.         Literals& literals;
  7385.         std::vector<Interpreter::Type_Code> code;
  7386.         uint argCount = 0;
  7387.         uint optionalArgCount = 0;
  7388.         uint argumentsPassed = 0;
  7389.         uint optionalArgumentsPassed = 0;
  7390.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7391.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7392.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7393.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7394.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7395.         return;
  7396.     }
  7397.     void setattackbonus(Interpreter::Type_Integer arg0)
  7398.     {
  7399.         Interpreter::Type_Code codeword = 3388998314;//codeword without arguments
  7400.         Literals& literals;
  7401.         std::vector<Interpreter::Type_Code> code;
  7402.         uint argCount = 1;
  7403.         uint optionalArgCount = 0;
  7404.         uint argumentsPassed = 0;
  7405.         uint optionalArgumentsPassed = 0;
  7406.         if (arg0!=-123456)
  7407.         {
  7408.             Compiler::Generator.pushInt(code, literals, arg0);
  7409.             argumentsPassed++;
  7410.         }
  7411.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7412.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7413.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7414.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7415.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7416.         return;
  7417.     }
  7418.     void setaxe(Interpreter::Type_Integer arg0)
  7419.     {
  7420.         Interpreter::Type_Code codeword = 3388997834;//codeword without arguments
  7421.         Literals& literals;
  7422.         std::vector<Interpreter::Type_Code> code;
  7423.         uint argCount = 1;
  7424.         uint optionalArgCount = 0;
  7425.         uint argumentsPassed = 0;
  7426.         uint optionalArgumentsPassed = 0;
  7427.         if (arg0!=-123456)
  7428.         {
  7429.             Compiler::Generator.pushInt(code, literals, arg0);
  7430.             argumentsPassed++;
  7431.         }
  7432.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7433.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7434.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7435.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7436.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7437.         return;
  7438.     }
  7439.     void setblindness(Interpreter::Type_Integer arg0)
  7440.     {
  7441.         Interpreter::Type_Code codeword = 3388998311;//codeword without arguments
  7442.         Literals& literals;
  7443.         std::vector<Interpreter::Type_Code> code;
  7444.         uint argCount = 1;
  7445.         uint optionalArgCount = 0;
  7446.         uint argumentsPassed = 0;
  7447.         uint optionalArgumentsPassed = 0;
  7448.         if (arg0!=-123456)
  7449.         {
  7450.             Compiler::Generator.pushInt(code, literals, arg0);
  7451.             argumentsPassed++;
  7452.         }
  7453.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7454.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7455.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7456.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7457.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7458.         return;
  7459.     }
  7460.     void setblock(Interpreter::Type_Integer arg0)
  7461.     {
  7462.         Interpreter::Type_Code codeword = 3388997828;//codeword without arguments
  7463.         Literals& literals;
  7464.         std::vector<Interpreter::Type_Code> code;
  7465.         uint argCount = 1;
  7466.         uint optionalArgCount = 0;
  7467.         uint argumentsPassed = 0;
  7468.         uint optionalArgumentsPassed = 0;
  7469.         if (arg0!=-123456)
  7470.         {
  7471.             Compiler::Generator.pushInt(code, literals, arg0);
  7472.             argumentsPassed++;
  7473.         }
  7474.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7475.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7476.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7477.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7478.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7479.         return;
  7480.     }
  7481.     void setbluntweapon(Interpreter::Type_Integer arg0)
  7482.     {
  7483.         Interpreter::Type_Code codeword = 3388997832;//codeword without arguments
  7484.         Literals& literals;
  7485.         std::vector<Interpreter::Type_Code> code;
  7486.         uint argCount = 1;
  7487.         uint optionalArgCount = 0;
  7488.         uint argumentsPassed = 0;
  7489.         uint optionalArgumentsPassed = 0;
  7490.         if (arg0!=-123456)
  7491.         {
  7492.             Compiler::Generator.pushInt(code, literals, arg0);
  7493.             argumentsPassed++;
  7494.         }
  7495.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7496.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7497.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7498.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7499.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7500.         return;
  7501.     }
  7502.     void setcastpenalty(Interpreter::Type_Integer arg0)
  7503.     {
  7504.         Interpreter::Type_Code codeword = 3388998309;//codeword without arguments
  7505.         Literals& literals;
  7506.         std::vector<Interpreter::Type_Code> code;
  7507.         uint argCount = 1;
  7508.         uint optionalArgCount = 0;
  7509.         uint argumentsPassed = 0;
  7510.         uint optionalArgumentsPassed = 0;
  7511.         if (arg0!=-123456)
  7512.         {
  7513.             Compiler::Generator.pushInt(code, literals, arg0);
  7514.             argumentsPassed++;
  7515.         }
  7516.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7517.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7518.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7519.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7520.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7521.         return;
  7522.     }
  7523.     void setchameleon(Interpreter::Type_Integer arg0)
  7524.     {
  7525.         Interpreter::Type_Code codeword = 3388998303;//codeword without arguments
  7526.         Literals& literals;
  7527.         std::vector<Interpreter::Type_Code> code;
  7528.         uint argCount = 1;
  7529.         uint optionalArgCount = 0;
  7530.         uint argumentsPassed = 0;
  7531.         uint optionalArgumentsPassed = 0;
  7532.         if (arg0!=-123456)
  7533.         {
  7534.             Compiler::Generator.pushInt(code, literals, arg0);
  7535.             argumentsPassed++;
  7536.         }
  7537.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7538.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7539.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7540.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7541.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7542.         return;
  7543.     }
  7544.     void setconjuration(Interpreter::Type_Integer arg0)
  7545.     {
  7546.         Interpreter::Type_Code codeword = 3388997841;//codeword without arguments
  7547.         Literals& literals;
  7548.         std::vector<Interpreter::Type_Code> code;
  7549.         uint argCount = 1;
  7550.         uint optionalArgCount = 0;
  7551.         uint argumentsPassed = 0;
  7552.         uint optionalArgumentsPassed = 0;
  7553.         if (arg0!=-123456)
  7554.         {
  7555.             Compiler::Generator.pushInt(code, literals, arg0);
  7556.             argumentsPassed++;
  7557.         }
  7558.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7559.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7560.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7561.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7562.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7563.         return;
  7564.     }
  7565.     void setdefendbonus(Interpreter::Type_Integer arg0)
  7566.     {
  7567.         Interpreter::Type_Code codeword = 3388998315;//codeword without arguments
  7568.         Literals& literals;
  7569.         std::vector<Interpreter::Type_Code> code;
  7570.         uint argCount = 1;
  7571.         uint optionalArgCount = 0;
  7572.         uint argumentsPassed = 0;
  7573.         uint optionalArgumentsPassed = 0;
  7574.         if (arg0!=-123456)
  7575.         {
  7576.             Compiler::Generator.pushInt(code, literals, arg0);
  7577.             argumentsPassed++;
  7578.         }
  7579.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7580.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7581.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7582.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7583.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7584.         return;
  7585.     }
  7586.     void setdelete(Interpreter::Type_Integer arg0)
  7587.     {
  7588.         Interpreter::Type_Code codeword = 3388998117;//codeword without arguments
  7589.         Literals& literals;
  7590.         std::vector<Interpreter::Type_Code> code;
  7591.         uint argCount = 1;
  7592.         uint optionalArgCount = 0;
  7593.         uint argumentsPassed = 0;
  7594.         uint optionalArgumentsPassed = 0;
  7595.         if (arg0!=-123456)
  7596.         {
  7597.             Compiler::Generator.pushInt(code, literals, arg0);
  7598.             argumentsPassed++;
  7599.         }
  7600.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7601.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7602.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7603.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7604.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7605.         return;
  7606.     }
  7607.     void setdestruction(Interpreter::Type_Integer arg0)
  7608.     {
  7609.         Interpreter::Type_Code codeword = 3388997838;//codeword without arguments
  7610.         Literals& literals;
  7611.         std::vector<Interpreter::Type_Code> code;
  7612.         uint argCount = 1;
  7613.         uint optionalArgCount = 0;
  7614.         uint argumentsPassed = 0;
  7615.         uint optionalArgumentsPassed = 0;
  7616.         if (arg0!=-123456)
  7617.         {
  7618.             Compiler::Generator.pushInt(code, literals, arg0);
  7619.             argumentsPassed++;
  7620.         }
  7621.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7622.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7623.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7624.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7625.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7626.         return;
  7627.     }
  7628.     void setdisposition(Interpreter::Type_Integer arg0)
  7629.     {
  7630.         Interpreter::Type_Code codeword = 3388998052;//codeword without arguments
  7631.         Literals& literals;
  7632.         std::vector<Interpreter::Type_Code> code;
  7633.         uint argCount = 1;
  7634.         uint optionalArgCount = 0;
  7635.         uint argumentsPassed = 0;
  7636.         uint optionalArgumentsPassed = 0;
  7637.         if (arg0!=-123456)
  7638.         {
  7639.             Compiler::Generator.pushInt(code, literals, arg0);
  7640.             argumentsPassed++;
  7641.         }
  7642.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7643.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7644.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7645.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7646.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7647.         return;
  7648.     }
  7649.     void setenchant(Interpreter::Type_Integer arg0)
  7650.     {
  7651.         Interpreter::Type_Code codeword = 3388997837;//codeword without arguments
  7652.         Literals& literals;
  7653.         std::vector<Interpreter::Type_Code> code;
  7654.         uint argCount = 1;
  7655.         uint optionalArgCount = 0;
  7656.         uint argumentsPassed = 0;
  7657.         uint optionalArgumentsPassed = 0;
  7658.         if (arg0!=-123456)
  7659.         {
  7660.             Compiler::Generator.pushInt(code, literals, arg0);
  7661.             argumentsPassed++;
  7662.         }
  7663.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7664.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7665.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7666.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7667.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7668.         return;
  7669.     }
  7670.     void setendurance(Interpreter::Type_Integer arg0)
  7671.     {
  7672.         Interpreter::Type_Code codeword = 3388997692;//codeword without arguments
  7673.         Literals& literals;
  7674.         std::vector<Interpreter::Type_Code> code;
  7675.         uint argCount = 1;
  7676.         uint optionalArgCount = 0;
  7677.         uint argumentsPassed = 0;
  7678.         uint optionalArgumentsPassed = 0;
  7679.         if (arg0!=-123456)
  7680.         {
  7681.             Compiler::Generator.pushInt(code, literals, arg0);
  7682.             argumentsPassed++;
  7683.         }
  7684.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7685.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7686.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7687.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7688.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7689.         return;
  7690.     }
  7691.     void setfatigue(Interpreter::Type_Float arg0)
  7692.     {
  7693.         Interpreter::Type_Code codeword = 3388997727;//codeword without arguments
  7694.         Literals& literals;
  7695.         std::vector<Interpreter::Type_Code> code;
  7696.         uint argCount = 1;
  7697.         uint optionalArgCount = 0;
  7698.         uint argumentsPassed = 0;
  7699.         uint optionalArgumentsPassed = 0;
  7700.         if (arg0!=-123456)
  7701.         {
  7702.             Compiler::Generator.pushFloat(code, literals, arg0);
  7703.             argumentsPassed++;
  7704.         }
  7705.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7706.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7707.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7708.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7709.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7710.         return;
  7711.     }
  7712.     void setfight(Interpreter::Type_Integer arg0)
  7713.     {
  7714.         Interpreter::Type_Code codeword = 3388997982;//codeword without arguments
  7715.         Literals& literals;
  7716.         std::vector<Interpreter::Type_Code> code;
  7717.         uint argCount = 1;
  7718.         uint optionalArgCount = 0;
  7719.         uint argumentsPassed = 0;
  7720.         uint optionalArgumentsPassed = 0;
  7721.         if (arg0!=-123456)
  7722.         {
  7723.             Compiler::Generator.pushInt(code, literals, arg0);
  7724.             argumentsPassed++;
  7725.         }
  7726.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7727.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7728.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7729.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7730.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7731.         return;
  7732.     }
  7733.     void setflee(Interpreter::Type_Integer arg0)
  7734.     {
  7735.         Interpreter::Type_Code codeword = 3388997984;//codeword without arguments
  7736.         Literals& literals;
  7737.         std::vector<Interpreter::Type_Code> code;
  7738.         uint argCount = 1;
  7739.         uint optionalArgCount = 0;
  7740.         uint argumentsPassed = 0;
  7741.         uint optionalArgumentsPassed = 0;
  7742.         if (arg0!=-123456)
  7743.         {
  7744.             Compiler::Generator.pushInt(code, literals, arg0);
  7745.             argumentsPassed++;
  7746.         }
  7747.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7748.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7749.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7750.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7751.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7752.         return;
  7753.     }
  7754.     void setflying(Interpreter::Type_Integer arg0)
  7755.     {
  7756.         Interpreter::Type_Code codeword = 3388998307;//codeword without arguments
  7757.         Literals& literals;
  7758.         std::vector<Interpreter::Type_Code> code;
  7759.         uint argCount = 1;
  7760.         uint optionalArgCount = 0;
  7761.         uint argumentsPassed = 0;
  7762.         uint optionalArgumentsPassed = 0;
  7763.         if (arg0!=-123456)
  7764.         {
  7765.             Compiler::Generator.pushInt(code, literals, arg0);
  7766.             argumentsPassed++;
  7767.         }
  7768.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7769.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7770.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7771.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7772.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7773.         return;
  7774.     }
  7775.     void sethandtohand(Interpreter::Type_Integer arg0)
  7776.     {
  7777.         Interpreter::Type_Code codeword = 3388997854;//codeword without arguments
  7778.         Literals& literals;
  7779.         std::vector<Interpreter::Type_Code> code;
  7780.         uint argCount = 1;
  7781.         uint optionalArgCount = 0;
  7782.         uint argumentsPassed = 0;
  7783.         uint optionalArgumentsPassed = 0;
  7784.         if (arg0!=-123456)
  7785.         {
  7786.             Compiler::Generator.pushInt(code, literals, arg0);
  7787.             argumentsPassed++;
  7788.         }
  7789.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7790.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7791.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7792.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7793.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7794.         return;
  7795.     }
  7796.     void sethealth(Interpreter::Type_Float arg0)
  7797.     {
  7798.         Interpreter::Type_Code codeword = 3388997725;//codeword without arguments
  7799.         Literals& literals;
  7800.         std::vector<Interpreter::Type_Code> code;
  7801.         uint argCount = 1;
  7802.         uint optionalArgCount = 0;
  7803.         uint argumentsPassed = 0;
  7804.         uint optionalArgumentsPassed = 0;
  7805.         if (arg0!=-123456)
  7806.         {
  7807.             Compiler::Generator.pushFloat(code, literals, arg0);
  7808.             argumentsPassed++;
  7809.         }
  7810.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7811.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7812.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7813.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7814.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7815.         return;
  7816.     }
  7817.     void setheavyarmor(Interpreter::Type_Integer arg0)
  7818.     {
  7819.         Interpreter::Type_Code codeword = 3388997831;//codeword without arguments
  7820.         Literals& literals;
  7821.         std::vector<Interpreter::Type_Code> code;
  7822.         uint argCount = 1;
  7823.         uint optionalArgCount = 0;
  7824.         uint argumentsPassed = 0;
  7825.         uint optionalArgumentsPassed = 0;
  7826.         if (arg0!=-123456)
  7827.         {
  7828.             Compiler::Generator.pushInt(code, literals, arg0);
  7829.             argumentsPassed++;
  7830.         }
  7831.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7832.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7833.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7834.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7835.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7836.         return;
  7837.     }
  7838.     void sethello(Interpreter::Type_Integer arg0)
  7839.     {
  7840.         Interpreter::Type_Code codeword = 3388997980;//codeword without arguments
  7841.         Literals& literals;
  7842.         std::vector<Interpreter::Type_Code> code;
  7843.         uint argCount = 1;
  7844.         uint optionalArgCount = 0;
  7845.         uint argumentsPassed = 0;
  7846.         uint optionalArgumentsPassed = 0;
  7847.         if (arg0!=-123456)
  7848.         {
  7849.             Compiler::Generator.pushInt(code, literals, arg0);
  7850.             argumentsPassed++;
  7851.         }
  7852.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7853.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7854.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7855.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7856.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7857.         return;
  7858.     }
  7859.     void setillusion(Interpreter::Type_Integer arg0)
  7860.     {
  7861.         Interpreter::Type_Code codeword = 3388997840;//codeword without arguments
  7862.         Literals& literals;
  7863.         std::vector<Interpreter::Type_Code> code;
  7864.         uint argCount = 1;
  7865.         uint optionalArgCount = 0;
  7866.         uint argumentsPassed = 0;
  7867.         uint optionalArgumentsPassed = 0;
  7868.         if (arg0!=-123456)
  7869.         {
  7870.             Compiler::Generator.pushInt(code, literals, arg0);
  7871.             argumentsPassed++;
  7872.         }
  7873.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7874.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7875.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7876.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7877.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7878.         return;
  7879.     }
  7880.     void setintelligence(Interpreter::Type_Integer arg0)
  7881.     {
  7882.         Interpreter::Type_Code codeword = 3388997688;//codeword without arguments
  7883.         Literals& literals;
  7884.         std::vector<Interpreter::Type_Code> code;
  7885.         uint argCount = 1;
  7886.         uint optionalArgCount = 0;
  7887.         uint argumentsPassed = 0;
  7888.         uint optionalArgumentsPassed = 0;
  7889.         if (arg0!=-123456)
  7890.         {
  7891.             Compiler::Generator.pushInt(code, literals, arg0);
  7892.             argumentsPassed++;
  7893.         }
  7894.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7895.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7896.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7897.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7898.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7899.         return;
  7900.     }
  7901.     void setinvisible(Interpreter::Type_Integer arg0)
  7902.     {
  7903.         Interpreter::Type_Code codeword = 3388998313;//codeword without arguments
  7904.         Literals& literals;
  7905.         std::vector<Interpreter::Type_Code> code;
  7906.         uint argCount = 1;
  7907.         uint optionalArgCount = 0;
  7908.         uint argumentsPassed = 0;
  7909.         uint optionalArgumentsPassed = 0;
  7910.         if (arg0!=-123456)
  7911.         {
  7912.             Compiler::Generator.pushInt(code, literals, arg0);
  7913.             argumentsPassed++;
  7914.         }
  7915.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7916.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7917.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7918.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7919.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7920.         return;
  7921.     }
  7922.     void setjournalindex(std::string arg0, Interpreter::Type_Integer arg1)
  7923.     {
  7924.         Interpreter::Type_Code codeword = 3388997940;//codeword without arguments
  7925.         Literals& literals;
  7926.         std::vector<Interpreter::Type_Code> code;
  7927.         uint argCount = 2;
  7928.         uint optionalArgCount = 0;
  7929.         uint argumentsPassed = 0;
  7930.         uint optionalArgumentsPassed = 0;
  7931.         if (arg1!=-123456)
  7932.         {
  7933.             Compiler::Generator.pushInt(code, literals, arg1);
  7934.             argumentsPassed++;
  7935.         }
  7936.         if (arg0!="OPTIONAL_FLAG")
  7937.         {
  7938.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  7939.             argumentsPassed++;
  7940.         }
  7941.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7942.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7943.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7944.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7945.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7946.         return;
  7947.     }
  7948.     void setlevel(Interpreter::Type_Integer arg0)
  7949.     {
  7950.         Interpreter::Type_Code codeword = 3388998030;//codeword without arguments
  7951.         Literals& literals;
  7952.         std::vector<Interpreter::Type_Code> code;
  7953.         uint argCount = 1;
  7954.         uint optionalArgCount = 0;
  7955.         uint argumentsPassed = 0;
  7956.         uint optionalArgumentsPassed = 0;
  7957.         if (arg0!=-123456)
  7958.         {
  7959.             Compiler::Generator.pushInt(code, literals, arg0);
  7960.             argumentsPassed++;
  7961.         }
  7962.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7963.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7964.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7965.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7966.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7967.         return;
  7968.     }
  7969.     void setlightarmor(Interpreter::Type_Integer arg0)
  7970.     {
  7971.         Interpreter::Type_Code codeword = 3388997849;//codeword without arguments
  7972.         Literals& literals;
  7973.         std::vector<Interpreter::Type_Code> code;
  7974.         uint argCount = 1;
  7975.         uint optionalArgCount = 0;
  7976.         uint argumentsPassed = 0;
  7977.         uint optionalArgumentsPassed = 0;
  7978.         if (arg0!=-123456)
  7979.         {
  7980.             Compiler::Generator.pushInt(code, literals, arg0);
  7981.             argumentsPassed++;
  7982.         }
  7983.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  7984.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  7985.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  7986.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  7987.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  7988.         return;
  7989.     }
  7990.     void setlongblade(Interpreter::Type_Integer arg0)
  7991.     {
  7992.         Interpreter::Type_Code codeword = 3388997833;//codeword without arguments
  7993.         Literals& literals;
  7994.         std::vector<Interpreter::Type_Code> code;
  7995.         uint argCount = 1;
  7996.         uint optionalArgCount = 0;
  7997.         uint argumentsPassed = 0;
  7998.         uint optionalArgumentsPassed = 0;
  7999.         if (arg0!=-123456)
  8000.         {
  8001.             Compiler::Generator.pushInt(code, literals, arg0);
  8002.             argumentsPassed++;
  8003.         }
  8004.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8005.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8006.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8007.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8008.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8009.         return;
  8010.     }
  8011.     void setluck(Interpreter::Type_Integer arg0)
  8012.     {
  8013.         Interpreter::Type_Code codeword = 3388997694;//codeword without arguments
  8014.         Literals& literals;
  8015.         std::vector<Interpreter::Type_Code> code;
  8016.         uint argCount = 1;
  8017.         uint optionalArgCount = 0;
  8018.         uint argumentsPassed = 0;
  8019.         uint optionalArgumentsPassed = 0;
  8020.         if (arg0!=-123456)
  8021.         {
  8022.             Compiler::Generator.pushInt(code, literals, arg0);
  8023.             argumentsPassed++;
  8024.         }
  8025.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8026.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8027.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8028.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8029.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8030.         return;
  8031.     }
  8032.     void setmagicka(Interpreter::Type_Float arg0)
  8033.     {
  8034.         Interpreter::Type_Code codeword = 3388997726;//codeword without arguments
  8035.         Literals& literals;
  8036.         std::vector<Interpreter::Type_Code> code;
  8037.         uint argCount = 1;
  8038.         uint optionalArgCount = 0;
  8039.         uint argumentsPassed = 0;
  8040.         uint optionalArgumentsPassed = 0;
  8041.         if (arg0!=-123456)
  8042.         {
  8043.             Compiler::Generator.pushFloat(code, literals, arg0);
  8044.             argumentsPassed++;
  8045.         }
  8046.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8047.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8048.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8049.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8050.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8051.         return;
  8052.     }
  8053.     void setmarksman(Interpreter::Type_Integer arg0)
  8054.     {
  8055.         Interpreter::Type_Code codeword = 3388997851;//codeword without arguments
  8056.         Literals& literals;
  8057.         std::vector<Interpreter::Type_Code> code;
  8058.         uint argCount = 1;
  8059.         uint optionalArgCount = 0;
  8060.         uint argumentsPassed = 0;
  8061.         uint optionalArgumentsPassed = 0;
  8062.         if (arg0!=-123456)
  8063.         {
  8064.             Compiler::Generator.pushInt(code, literals, arg0);
  8065.             argumentsPassed++;
  8066.         }
  8067.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8068.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8069.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8070.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8071.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8072.         return;
  8073.     }
  8074.     void setmediumarmor(Interpreter::Type_Integer arg0)
  8075.     {
  8076.         Interpreter::Type_Code codeword = 3388997830;//codeword without arguments
  8077.         Literals& literals;
  8078.         std::vector<Interpreter::Type_Code> code;
  8079.         uint argCount = 1;
  8080.         uint optionalArgCount = 0;
  8081.         uint argumentsPassed = 0;
  8082.         uint optionalArgumentsPassed = 0;
  8083.         if (arg0!=-123456)
  8084.         {
  8085.             Compiler::Generator.pushInt(code, literals, arg0);
  8086.             argumentsPassed++;
  8087.         }
  8088.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8089.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8090.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8091.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8092.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8093.         return;
  8094.     }
  8095.     void setmercantile(Interpreter::Type_Integer arg0)
  8096.     {
  8097.         Interpreter::Type_Code codeword = 3388997852;//codeword without arguments
  8098.         Literals& literals;
  8099.         std::vector<Interpreter::Type_Code> code;
  8100.         uint argCount = 1;
  8101.         uint optionalArgCount = 0;
  8102.         uint argumentsPassed = 0;
  8103.         uint optionalArgumentsPassed = 0;
  8104.         if (arg0!=-123456)
  8105.         {
  8106.             Compiler::Generator.pushInt(code, literals, arg0);
  8107.             argumentsPassed++;
  8108.         }
  8109.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8110.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8111.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8112.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8113.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8114.         return;
  8115.     }
  8116.     void setmysticism(Interpreter::Type_Integer arg0)
  8117.     {
  8118.         Interpreter::Type_Code codeword = 3388997842;//codeword without arguments
  8119.         Literals& literals;
  8120.         std::vector<Interpreter::Type_Code> code;
  8121.         uint argCount = 1;
  8122.         uint optionalArgCount = 0;
  8123.         uint argumentsPassed = 0;
  8124.         uint optionalArgumentsPassed = 0;
  8125.         if (arg0!=-123456)
  8126.         {
  8127.             Compiler::Generator.pushInt(code, literals, arg0);
  8128.             argumentsPassed++;
  8129.         }
  8130.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8131.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8132.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8133.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8134.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8135.         return;
  8136.     }
  8137.     void setparalysis(Interpreter::Type_Integer arg0)
  8138.     {
  8139.         Interpreter::Type_Code codeword = 3388998312;//codeword without arguments
  8140.         Literals& literals;
  8141.         std::vector<Interpreter::Type_Code> code;
  8142.         uint argCount = 1;
  8143.         uint optionalArgCount = 0;
  8144.         uint argumentsPassed = 0;
  8145.         uint optionalArgumentsPassed = 0;
  8146.         if (arg0!=-123456)
  8147.         {
  8148.             Compiler::Generator.pushInt(code, literals, arg0);
  8149.             argumentsPassed++;
  8150.         }
  8151.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8152.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8153.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8154.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8155.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8156.         return;
  8157.     }
  8158.     void setpccrimelevel(Interpreter::Type_Float arg0)
  8159.     {
  8160.         Interpreter::Type_Code codeword = 3388998125;//codeword without arguments
  8161.         Literals& literals;
  8162.         std::vector<Interpreter::Type_Code> code;
  8163.         uint argCount = 1;
  8164.         uint optionalArgCount = 0;
  8165.         uint argumentsPassed = 0;
  8166.         uint optionalArgumentsPassed = 0;
  8167.         if (arg0!=-123456)
  8168.         {
  8169.             Compiler::Generator.pushFloat(code, literals, arg0);
  8170.             argumentsPassed++;
  8171.         }
  8172.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8173.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8174.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8175.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8176.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8177.         return;
  8178.     }
  8179.     void setpcfacrep(Interpreter::Type_Integer arg0, std::string arg1)
  8180.     {
  8181.         Interpreter::Type_Code codeword = 3254785024;//codeword without arguments
  8182.         Literals& literals;
  8183.         std::vector<Interpreter::Type_Code> code;
  8184.         uint argCount = 2;
  8185.         uint optionalArgCount = 1;
  8186.         uint argumentsPassed = 0;
  8187.         uint optionalArgumentsPassed = 0;
  8188.         if (arg1!="OPTIONAL_FLAG")
  8189.         {
  8190.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg1));
  8191.             argumentsPassed++;
  8192.         }
  8193.         if (arg0!=-123456)
  8194.         {
  8195.             Compiler::Generator.pushInt(code, literals, arg0);
  8196.             argumentsPassed++;
  8197.         }
  8198.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8199.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8200.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8201.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8202.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8203.         return;
  8204.     }
  8205.     void setpersonality(Interpreter::Type_Integer arg0)
  8206.     {
  8207.         Interpreter::Type_Code codeword = 3388997693;//codeword without arguments
  8208.         Literals& literals;
  8209.         std::vector<Interpreter::Type_Code> code;
  8210.         uint argCount = 1;
  8211.         uint optionalArgCount = 0;
  8212.         uint argumentsPassed = 0;
  8213.         uint optionalArgumentsPassed = 0;
  8214.         if (arg0!=-123456)
  8215.         {
  8216.             Compiler::Generator.pushInt(code, literals, arg0);
  8217.             argumentsPassed++;
  8218.         }
  8219.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8220.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8221.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8222.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8223.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8224.         return;
  8225.     }
  8226.     void setpos(std::string arg0, Interpreter::Type_Float arg1)
  8227.     {
  8228.         Interpreter::Type_Code codeword = 3388998034;//codeword without arguments
  8229.         Literals& literals;
  8230.         std::vector<Interpreter::Type_Code> code;
  8231.         uint argCount = 2;
  8232.         uint optionalArgCount = 0;
  8233.         uint argumentsPassed = 0;
  8234.         uint optionalArgumentsPassed = 0;
  8235.         if (arg1!=-123456)
  8236.         {
  8237.             Compiler::Generator.pushFloat(code, literals, arg1);
  8238.             argumentsPassed++;
  8239.         }
  8240.         if (arg0!="OPTIONAL_FLAG")
  8241.         {
  8242.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  8243.             argumentsPassed++;
  8244.         }
  8245.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8246.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8247.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8248.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8249.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8250.         return;
  8251.     }
  8252.     void setreputation(Interpreter::Type_Integer arg0)
  8253.     {
  8254.         Interpreter::Type_Code codeword = 3388998061;//codeword without arguments
  8255.         Literals& literals;
  8256.         std::vector<Interpreter::Type_Code> code;
  8257.         uint argCount = 1;
  8258.         uint optionalArgCount = 0;
  8259.         uint argumentsPassed = 0;
  8260.         uint optionalArgumentsPassed = 0;
  8261.         if (arg0!=-123456)
  8262.         {
  8263.             Compiler::Generator.pushInt(code, literals, arg0);
  8264.             argumentsPassed++;
  8265.         }
  8266.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8267.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8268.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8269.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8270.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8271.         return;
  8272.     }
  8273.     void setresistblight(Interpreter::Type_Integer arg0)
  8274.     {
  8275.         Interpreter::Type_Code codeword = 3388998297;//codeword without arguments
  8276.         Literals& literals;
  8277.         std::vector<Interpreter::Type_Code> code;
  8278.         uint argCount = 1;
  8279.         uint optionalArgCount = 0;
  8280.         uint argumentsPassed = 0;
  8281.         uint optionalArgumentsPassed = 0;
  8282.         if (arg0!=-123456)
  8283.         {
  8284.             Compiler::Generator.pushInt(code, literals, arg0);
  8285.             argumentsPassed++;
  8286.         }
  8287.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8288.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8289.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8290.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8291.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8292.         return;
  8293.     }
  8294.     void setresistcorprus(Interpreter::Type_Integer arg0)
  8295.     {
  8296.         Interpreter::Type_Code codeword = 3388998298;//codeword without arguments
  8297.         Literals& literals;
  8298.         std::vector<Interpreter::Type_Code> code;
  8299.         uint argCount = 1;
  8300.         uint optionalArgCount = 0;
  8301.         uint argumentsPassed = 0;
  8302.         uint optionalArgumentsPassed = 0;
  8303.         if (arg0!=-123456)
  8304.         {
  8305.             Compiler::Generator.pushInt(code, literals, arg0);
  8306.             argumentsPassed++;
  8307.         }
  8308.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8309.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8310.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8311.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8312.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8313.         return;
  8314.     }
  8315.     void setresistdisease(Interpreter::Type_Integer arg0)
  8316.     {
  8317.         Interpreter::Type_Code codeword = 3388998296;//codeword without arguments
  8318.         Literals& literals;
  8319.         std::vector<Interpreter::Type_Code> code;
  8320.         uint argCount = 1;
  8321.         uint optionalArgCount = 0;
  8322.         uint argumentsPassed = 0;
  8323.         uint optionalArgumentsPassed = 0;
  8324.         if (arg0!=-123456)
  8325.         {
  8326.             Compiler::Generator.pushInt(code, literals, arg0);
  8327.             argumentsPassed++;
  8328.         }
  8329.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8330.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8331.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8332.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8333.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8334.         return;
  8335.     }
  8336.     void setresistfire(Interpreter::Type_Integer arg0)
  8337.     {
  8338.         Interpreter::Type_Code codeword = 3388998293;//codeword without arguments
  8339.         Literals& literals;
  8340.         std::vector<Interpreter::Type_Code> code;
  8341.         uint argCount = 1;
  8342.         uint optionalArgCount = 0;
  8343.         uint argumentsPassed = 0;
  8344.         uint optionalArgumentsPassed = 0;
  8345.         if (arg0!=-123456)
  8346.         {
  8347.             Compiler::Generator.pushInt(code, literals, arg0);
  8348.             argumentsPassed++;
  8349.         }
  8350.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8351.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8352.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8353.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8354.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8355.         return;
  8356.     }
  8357.     void setresistfrost(Interpreter::Type_Integer arg0)
  8358.     {
  8359.         Interpreter::Type_Code codeword = 3388998294;//codeword without arguments
  8360.         Literals& literals;
  8361.         std::vector<Interpreter::Type_Code> code;
  8362.         uint argCount = 1;
  8363.         uint optionalArgCount = 0;
  8364.         uint argumentsPassed = 0;
  8365.         uint optionalArgumentsPassed = 0;
  8366.         if (arg0!=-123456)
  8367.         {
  8368.             Compiler::Generator.pushInt(code, literals, arg0);
  8369.             argumentsPassed++;
  8370.         }
  8371.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8372.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8373.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8374.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8375.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8376.         return;
  8377.     }
  8378.     void setresistmagicka(Interpreter::Type_Integer arg0)
  8379.     {
  8380.         Interpreter::Type_Code codeword = 3388998292;//codeword without arguments
  8381.         Literals& literals;
  8382.         std::vector<Interpreter::Type_Code> code;
  8383.         uint argCount = 1;
  8384.         uint optionalArgCount = 0;
  8385.         uint argumentsPassed = 0;
  8386.         uint optionalArgumentsPassed = 0;
  8387.         if (arg0!=-123456)
  8388.         {
  8389.             Compiler::Generator.pushInt(code, literals, arg0);
  8390.             argumentsPassed++;
  8391.         }
  8392.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8393.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8394.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8395.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8396.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8397.         return;
  8398.     }
  8399.     void setresistnormalweapons(Interpreter::Type_Integer arg0)
  8400.     {
  8401.         Interpreter::Type_Code codeword = 3388998301;//codeword without arguments
  8402.         Literals& literals;
  8403.         std::vector<Interpreter::Type_Code> code;
  8404.         uint argCount = 1;
  8405.         uint optionalArgCount = 0;
  8406.         uint argumentsPassed = 0;
  8407.         uint optionalArgumentsPassed = 0;
  8408.         if (arg0!=-123456)
  8409.         {
  8410.             Compiler::Generator.pushInt(code, literals, arg0);
  8411.             argumentsPassed++;
  8412.         }
  8413.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8414.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8415.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8416.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8417.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8418.         return;
  8419.     }
  8420.     void setresistparalysis(Interpreter::Type_Integer arg0)
  8421.     {
  8422.         Interpreter::Type_Code codeword = 3388998300;//codeword without arguments
  8423.         Literals& literals;
  8424.         std::vector<Interpreter::Type_Code> code;
  8425.         uint argCount = 1;
  8426.         uint optionalArgCount = 0;
  8427.         uint argumentsPassed = 0;
  8428.         uint optionalArgumentsPassed = 0;
  8429.         if (arg0!=-123456)
  8430.         {
  8431.             Compiler::Generator.pushInt(code, literals, arg0);
  8432.             argumentsPassed++;
  8433.         }
  8434.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8435.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8436.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8437.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8438.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8439.         return;
  8440.     }
  8441.     void setresistpoison(Interpreter::Type_Integer arg0)
  8442.     {
  8443.         Interpreter::Type_Code codeword = 3388998299;//codeword without arguments
  8444.         Literals& literals;
  8445.         std::vector<Interpreter::Type_Code> code;
  8446.         uint argCount = 1;
  8447.         uint optionalArgCount = 0;
  8448.         uint argumentsPassed = 0;
  8449.         uint optionalArgumentsPassed = 0;
  8450.         if (arg0!=-123456)
  8451.         {
  8452.             Compiler::Generator.pushInt(code, literals, arg0);
  8453.             argumentsPassed++;
  8454.         }
  8455.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8456.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8457.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8458.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8459.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8460.         return;
  8461.     }
  8462.     void setresistshock(Interpreter::Type_Integer arg0)
  8463.     {
  8464.         Interpreter::Type_Code codeword = 3388998295;//codeword without arguments
  8465.         Literals& literals;
  8466.         std::vector<Interpreter::Type_Code> code;
  8467.         uint argCount = 1;
  8468.         uint optionalArgCount = 0;
  8469.         uint argumentsPassed = 0;
  8470.         uint optionalArgumentsPassed = 0;
  8471.         if (arg0!=-123456)
  8472.         {
  8473.             Compiler::Generator.pushInt(code, literals, arg0);
  8474.             argumentsPassed++;
  8475.         }
  8476.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8477.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8478.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8479.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8480.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8481.         return;
  8482.     }
  8483.     void setrestoration(Interpreter::Type_Integer arg0)
  8484.     {
  8485.         Interpreter::Type_Code codeword = 3388997843;//codeword without arguments
  8486.         Literals& literals;
  8487.         std::vector<Interpreter::Type_Code> code;
  8488.         uint argCount = 1;
  8489.         uint optionalArgCount = 0;
  8490.         uint argumentsPassed = 0;
  8491.         uint optionalArgumentsPassed = 0;
  8492.         if (arg0!=-123456)
  8493.         {
  8494.             Compiler::Generator.pushInt(code, literals, arg0);
  8495.             argumentsPassed++;
  8496.         }
  8497.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8498.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8499.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8500.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8501.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8502.         return;
  8503.     }
  8504.     void setscale(Interpreter::Type_Float arg0)
  8505.     {
  8506.         Interpreter::Type_Code codeword = 3388997988;//codeword without arguments
  8507.         Literals& literals;
  8508.         std::vector<Interpreter::Type_Code> code;
  8509.         uint argCount = 1;
  8510.         uint optionalArgCount = 0;
  8511.         uint argumentsPassed = 0;
  8512.         uint optionalArgumentsPassed = 0;
  8513.         if (arg0!=-123456)
  8514.         {
  8515.             Compiler::Generator.pushFloat(code, literals, arg0);
  8516.             argumentsPassed++;
  8517.         }
  8518.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8519.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8520.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8521.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8522.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8523.         return;
  8524.     }
  8525.     void setsecurity(Interpreter::Type_Integer arg0)
  8526.     {
  8527.         Interpreter::Type_Code codeword = 3388997846;//codeword without arguments
  8528.         Literals& literals;
  8529.         std::vector<Interpreter::Type_Code> code;
  8530.         uint argCount = 1;
  8531.         uint optionalArgCount = 0;
  8532.         uint argumentsPassed = 0;
  8533.         uint optionalArgumentsPassed = 0;
  8534.         if (arg0!=-123456)
  8535.         {
  8536.             Compiler::Generator.pushInt(code, literals, arg0);
  8537.             argumentsPassed++;
  8538.         }
  8539.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8540.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8541.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8542.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8543.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8544.         return;
  8545.     }
  8546.     void setshortblade(Interpreter::Type_Integer arg0)
  8547.     {
  8548.         Interpreter::Type_Code codeword = 3388997850;//codeword without arguments
  8549.         Literals& literals;
  8550.         std::vector<Interpreter::Type_Code> code;
  8551.         uint argCount = 1;
  8552.         uint optionalArgCount = 0;
  8553.         uint argumentsPassed = 0;
  8554.         uint optionalArgumentsPassed = 0;
  8555.         if (arg0!=-123456)
  8556.         {
  8557.             Compiler::Generator.pushInt(code, literals, arg0);
  8558.             argumentsPassed++;
  8559.         }
  8560.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8561.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8562.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8563.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8564.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8565.         return;
  8566.     }
  8567.     void setsilence(Interpreter::Type_Integer arg0)
  8568.     {
  8569.         Interpreter::Type_Code codeword = 3388998310;//codeword without arguments
  8570.         Literals& literals;
  8571.         std::vector<Interpreter::Type_Code> code;
  8572.         uint argCount = 1;
  8573.         uint optionalArgCount = 0;
  8574.         uint argumentsPassed = 0;
  8575.         uint optionalArgumentsPassed = 0;
  8576.         if (arg0!=-123456)
  8577.         {
  8578.             Compiler::Generator.pushInt(code, literals, arg0);
  8579.             argumentsPassed++;
  8580.         }
  8581.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8582.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8583.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8584.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8585.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8586.         return;
  8587.     }
  8588.     void setsneak(Interpreter::Type_Integer arg0)
  8589.     {
  8590.         Interpreter::Type_Code codeword = 3388997847;//codeword without arguments
  8591.         Literals& literals;
  8592.         std::vector<Interpreter::Type_Code> code;
  8593.         uint argCount = 1;
  8594.         uint optionalArgCount = 0;
  8595.         uint argumentsPassed = 0;
  8596.         uint optionalArgumentsPassed = 0;
  8597.         if (arg0!=-123456)
  8598.         {
  8599.             Compiler::Generator.pushInt(code, literals, arg0);
  8600.             argumentsPassed++;
  8601.         }
  8602.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8603.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8604.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8605.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8606.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8607.         return;
  8608.     }
  8609.     void setspear(Interpreter::Type_Integer arg0)
  8610.     {
  8611.         Interpreter::Type_Code codeword = 3388997835;//codeword without arguments
  8612.         Literals& literals;
  8613.         std::vector<Interpreter::Type_Code> code;
  8614.         uint argCount = 1;
  8615.         uint optionalArgCount = 0;
  8616.         uint argumentsPassed = 0;
  8617.         uint optionalArgumentsPassed = 0;
  8618.         if (arg0!=-123456)
  8619.         {
  8620.             Compiler::Generator.pushInt(code, literals, arg0);
  8621.             argumentsPassed++;
  8622.         }
  8623.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8624.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8625.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8626.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8627.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8628.         return;
  8629.     }
  8630.     void setspeechcraft(Interpreter::Type_Integer arg0)
  8631.     {
  8632.         Interpreter::Type_Code codeword = 3388997853;//codeword without arguments
  8633.         Literals& literals;
  8634.         std::vector<Interpreter::Type_Code> code;
  8635.         uint argCount = 1;
  8636.         uint optionalArgCount = 0;
  8637.         uint argumentsPassed = 0;
  8638.         uint optionalArgumentsPassed = 0;
  8639.         if (arg0!=-123456)
  8640.         {
  8641.             Compiler::Generator.pushInt(code, literals, arg0);
  8642.             argumentsPassed++;
  8643.         }
  8644.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8645.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8646.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8647.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8648.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8649.         return;
  8650.     }
  8651.     void setspeed(Interpreter::Type_Integer arg0)
  8652.     {
  8653.         Interpreter::Type_Code codeword = 3388997691;//codeword without arguments
  8654.         Literals& literals;
  8655.         std::vector<Interpreter::Type_Code> code;
  8656.         uint argCount = 1;
  8657.         uint optionalArgCount = 0;
  8658.         uint argumentsPassed = 0;
  8659.         uint optionalArgumentsPassed = 0;
  8660.         if (arg0!=-123456)
  8661.         {
  8662.             Compiler::Generator.pushInt(code, literals, arg0);
  8663.             argumentsPassed++;
  8664.         }
  8665.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8666.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8667.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8668.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8669.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8670.         return;
  8671.     }
  8672.     void setstrength(Interpreter::Type_Integer arg0)
  8673.     {
  8674.         Interpreter::Type_Code codeword = 3388997687;//codeword without arguments
  8675.         Literals& literals;
  8676.         std::vector<Interpreter::Type_Code> code;
  8677.         uint argCount = 1;
  8678.         uint optionalArgCount = 0;
  8679.         uint argumentsPassed = 0;
  8680.         uint optionalArgumentsPassed = 0;
  8681.         if (arg0!=-123456)
  8682.         {
  8683.             Compiler::Generator.pushInt(code, literals, arg0);
  8684.             argumentsPassed++;
  8685.         }
  8686.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8687.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8688.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8689.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8690.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8691.         return;
  8692.     }
  8693.     void setsuperjump(Interpreter::Type_Integer arg0)
  8694.     {
  8695.         Interpreter::Type_Code codeword = 3388998306;//codeword without arguments
  8696.         Literals& literals;
  8697.         std::vector<Interpreter::Type_Code> code;
  8698.         uint argCount = 1;
  8699.         uint optionalArgCount = 0;
  8700.         uint argumentsPassed = 0;
  8701.         uint optionalArgumentsPassed = 0;
  8702.         if (arg0!=-123456)
  8703.         {
  8704.             Compiler::Generator.pushInt(code, literals, arg0);
  8705.             argumentsPassed++;
  8706.         }
  8707.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8708.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8709.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8710.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8711.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8712.         return;
  8713.     }
  8714.     void setswimspeed(Interpreter::Type_Integer arg0)
  8715.     {
  8716.         Interpreter::Type_Code codeword = 3388998305;//codeword without arguments
  8717.         Literals& literals;
  8718.         std::vector<Interpreter::Type_Code> code;
  8719.         uint argCount = 1;
  8720.         uint optionalArgCount = 0;
  8721.         uint argumentsPassed = 0;
  8722.         uint optionalArgumentsPassed = 0;
  8723.         if (arg0!=-123456)
  8724.         {
  8725.             Compiler::Generator.pushInt(code, literals, arg0);
  8726.             argumentsPassed++;
  8727.         }
  8728.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8729.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8730.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8731.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8732.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8733.         return;
  8734.     }
  8735.     void setunarmored(Interpreter::Type_Integer arg0)
  8736.     {
  8737.         Interpreter::Type_Code codeword = 3388997845;//codeword without arguments
  8738.         Literals& literals;
  8739.         std::vector<Interpreter::Type_Code> code;
  8740.         uint argCount = 1;
  8741.         uint optionalArgCount = 0;
  8742.         uint argumentsPassed = 0;
  8743.         uint optionalArgumentsPassed = 0;
  8744.         if (arg0!=-123456)
  8745.         {
  8746.             Compiler::Generator.pushInt(code, literals, arg0);
  8747.             argumentsPassed++;
  8748.         }
  8749.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8750.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8751.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8752.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8753.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8754.         return;
  8755.     }
  8756.     void setwaterbreathing(Interpreter::Type_Integer arg0)
  8757.     {
  8758.         Interpreter::Type_Code codeword = 3388998302;//codeword without arguments
  8759.         Literals& literals;
  8760.         std::vector<Interpreter::Type_Code> code;
  8761.         uint argCount = 1;
  8762.         uint optionalArgCount = 0;
  8763.         uint argumentsPassed = 0;
  8764.         uint optionalArgumentsPassed = 0;
  8765.         if (arg0!=-123456)
  8766.         {
  8767.             Compiler::Generator.pushInt(code, literals, arg0);
  8768.             argumentsPassed++;
  8769.         }
  8770.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8771.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8772.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8773.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8774.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8775.         return;
  8776.     }
  8777.     void setwaterlevel(Interpreter::Type_Float arg0)
  8778.     {
  8779.         Interpreter::Type_Code codeword = 3388997954;//codeword without arguments
  8780.         Literals& literals;
  8781.         std::vector<Interpreter::Type_Code> code;
  8782.         uint argCount = 1;
  8783.         uint optionalArgCount = 0;
  8784.         uint argumentsPassed = 0;
  8785.         uint optionalArgumentsPassed = 0;
  8786.         if (arg0!=-123456)
  8787.         {
  8788.             Compiler::Generator.pushFloat(code, literals, arg0);
  8789.             argumentsPassed++;
  8790.         }
  8791.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8792.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8793.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8794.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8795.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8796.         return;
  8797.     }
  8798.     void setwaterwalking(Interpreter::Type_Integer arg0)
  8799.     {
  8800.         Interpreter::Type_Code codeword = 3388998304;//codeword without arguments
  8801.         Literals& literals;
  8802.         std::vector<Interpreter::Type_Code> code;
  8803.         uint argCount = 1;
  8804.         uint optionalArgCount = 0;
  8805.         uint argumentsPassed = 0;
  8806.         uint optionalArgumentsPassed = 0;
  8807.         if (arg0!=-123456)
  8808.         {
  8809.             Compiler::Generator.pushInt(code, literals, arg0);
  8810.             argumentsPassed++;
  8811.         }
  8812.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8813.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8814.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8815.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8816.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8817.         return;
  8818.     }
  8819.     void setwerewolfacrobatics()
  8820.     {
  8821.         Interpreter::Type_Code codeword = 3388998171;//codeword without arguments
  8822.         Literals& literals;
  8823.         std::vector<Interpreter::Type_Code> code;
  8824.         uint argCount = 0;
  8825.         uint optionalArgCount = 0;
  8826.         uint argumentsPassed = 0;
  8827.         uint optionalArgumentsPassed = 0;
  8828.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8829.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8830.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8831.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8832.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8833.         return;
  8834.     }
  8835.     void setwillpower(Interpreter::Type_Integer arg0)
  8836.     {
  8837.         Interpreter::Type_Code codeword = 3388997689;//codeword without arguments
  8838.         Literals& literals;
  8839.         std::vector<Interpreter::Type_Code> code;
  8840.         uint argCount = 1;
  8841.         uint optionalArgCount = 0;
  8842.         uint argumentsPassed = 0;
  8843.         uint optionalArgumentsPassed = 0;
  8844.         if (arg0!=-123456)
  8845.         {
  8846.             Compiler::Generator.pushInt(code, literals, arg0);
  8847.             argumentsPassed++;
  8848.         }
  8849.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8850.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8851.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8852.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8853.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8854.         return;
  8855.     }
  8856.     void showmap(std::string arg0)
  8857.     {
  8858.         Interpreter::Type_Code codeword = 3388998048;//codeword without arguments
  8859.         Literals& literals;
  8860.         std::vector<Interpreter::Type_Code> code;
  8861.         uint argCount = 1;
  8862.         uint optionalArgCount = 0;
  8863.         uint argumentsPassed = 0;
  8864.         uint optionalArgumentsPassed = 0;
  8865.         if (arg0!="OPTIONAL_FLAG")
  8866.         {
  8867.             Compiler::Generator.pushString(code, literals, arg0);
  8868.             argumentsPassed++;
  8869.         }
  8870.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8871.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8872.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8873.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8874.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8875.         return;
  8876.     }
  8877.     void showrestmenu()
  8878.     {
  8879.         Interpreter::Type_Code codeword = 3388997656;//codeword without arguments
  8880.         Literals& literals;
  8881.         std::vector<Interpreter::Type_Code> code;
  8882.         uint argCount = 0;
  8883.         uint optionalArgCount = 0;
  8884.         uint argumentsPassed = 0;
  8885.         uint optionalArgumentsPassed = 0;
  8886.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8887.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8888.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8889.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8890.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8891.         return;
  8892.     }
  8893.     void showvars()
  8894.     {
  8895.         Interpreter::Type_Code codeword = 3388998173;//codeword without arguments
  8896.         Literals& literals;
  8897.         std::vector<Interpreter::Type_Code> code;
  8898.         uint argCount = 0;
  8899.         uint optionalArgCount = 0;
  8900.         uint argumentsPassed = 0;
  8901.         uint optionalArgumentsPassed = 0;
  8902.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8903.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8904.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8905.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8906.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8907.         return;
  8908.     }
  8909.     void skipanim()
  8910.     {
  8911.         Interpreter::Type_Code codeword = 3388997944;//codeword without arguments
  8912.         Literals& literals;
  8913.         std::vector<Interpreter::Type_Code> code;
  8914.         uint argCount = 0;
  8915.         uint optionalArgCount = 0;
  8916.         uint argumentsPassed = 0;
  8917.         uint optionalArgumentsPassed = 0;
  8918.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8919.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8920.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8921.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8922.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8923.         return;
  8924.     }
  8925.     void startcombat(std::string arg0)
  8926.     {
  8927.         Interpreter::Type_Code codeword = 3388998202;//codeword without arguments
  8928.         Literals& literals;
  8929.         std::vector<Interpreter::Type_Code> code;
  8930.         uint argCount = 1;
  8931.         uint optionalArgCount = 0;
  8932.         uint argumentsPassed = 0;
  8933.         uint optionalArgumentsPassed = 0;
  8934.         if (arg0!="OPTIONAL_FLAG")
  8935.         {
  8936.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  8937.             argumentsPassed++;
  8938.         }
  8939.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8940.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8941.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8942.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8943.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8944.         return;
  8945.     }
  8946.     void stopcombat()
  8947.     {
  8948.         Interpreter::Type_Code codeword = 3388998204;//codeword without arguments
  8949.         Literals& literals;
  8950.         std::vector<Interpreter::Type_Code> code;
  8951.         uint argCount = 0;
  8952.         uint optionalArgCount = 0;
  8953.         uint argumentsPassed = 0;
  8954.         uint optionalArgumentsPassed = 0;
  8955.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8956.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8957.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8958.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8959.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8960.         return;
  8961.     }
  8962.     void stopsound(std::string arg0)
  8963.     {
  8964.         Interpreter::Type_Code codeword = 3388997642;//codeword without arguments
  8965.         Literals& literals;
  8966.         std::vector<Interpreter::Type_Code> code;
  8967.         uint argCount = 1;
  8968.         uint optionalArgCount = 0;
  8969.         uint argumentsPassed = 0;
  8970.         uint optionalArgumentsPassed = 0;
  8971.         if (arg0!="OPTIONAL_FLAG")
  8972.         {
  8973.             Compiler::Generator.pushString(code, literals, Misc::StringUtils::lowerCase (arg0));
  8974.             argumentsPassed++;
  8975.         }
  8976.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8977.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8978.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  8979.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  8980.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  8981.         return;
  8982.     }
  8983.     void streammusic(std::string arg0)
  8984.     {
  8985.         Interpreter::Type_Code codeword = 3388997635;//codeword without arguments
  8986.         Literals& literals;
  8987.         std::vector<Interpreter::Type_Code> code;
  8988.         uint argCount = 1;
  8989.         uint optionalArgCount = 0;
  8990.         uint argumentsPassed = 0;
  8991.         uint optionalArgumentsPassed = 0;
  8992.         if (arg0!="OPTIONAL_FLAG")
  8993.         {
  8994.             Compiler::Generator.pushString(code, literals, arg0);
  8995.             argumentsPassed++;
  8996.         }
  8997.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  8998.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  8999.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9000.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9001.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9002.         return;
  9003.     }
  9004.     void sv()
  9005.     {
  9006.         Interpreter::Type_Code codeword = 3388998173;//codeword without arguments
  9007.         Literals& literals;
  9008.         std::vector<Interpreter::Type_Code> code;
  9009.         uint argCount = 0;
  9010.         uint optionalArgCount = 0;
  9011.         uint argumentsPassed = 0;
  9012.         uint optionalArgumentsPassed = 0;
  9013.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9014.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9015.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9016.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9017.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9018.         return;
  9019.     }
  9020.     void tai()
  9021.     {
  9022.         Interpreter::Type_Code codeword = 3388998180;//codeword without arguments
  9023.         Literals& literals;
  9024.         std::vector<Interpreter::Type_Code> code;
  9025.         uint argCount = 0;
  9026.         uint optionalArgCount = 0;
  9027.         uint argumentsPassed = 0;
  9028.         uint optionalArgumentsPassed = 0;
  9029.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9030.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9031.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9032.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9033.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9034.         return;
  9035.     }
  9036.     void tcb()
  9037.     {
  9038.         Interpreter::Type_Code codeword = 3388998060;//codeword without arguments
  9039.         Literals& literals;
  9040.         std::vector<Interpreter::Type_Code> code;
  9041.         uint argCount = 0;
  9042.         uint optionalArgCount = 0;
  9043.         uint argumentsPassed = 0;
  9044.         uint optionalArgumentsPassed = 0;
  9045.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9046.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9047.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9048.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9049.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9050.         return;
  9051.     }
  9052.     void tcg()
  9053.     {
  9054.         Interpreter::Type_Code codeword = 3388997938;//codeword without arguments
  9055.         Literals& literals;
  9056.         std::vector<Interpreter::Type_Code> code;
  9057.         uint argCount = 0;
  9058.         uint optionalArgCount = 0;
  9059.         uint argumentsPassed = 0;
  9060.         uint optionalArgumentsPassed = 0;
  9061.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9062.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9063.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9064.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9065.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9066.         return;
  9067.     }
  9068.     void tcl()
  9069.     {
  9070.         Interpreter::Type_Code codeword = 3388997936;//codeword without arguments
  9071.         Literals& literals;
  9072.         std::vector<Interpreter::Type_Code> code;
  9073.         uint argCount = 0;
  9074.         uint optionalArgCount = 0;
  9075.         uint argumentsPassed = 0;
  9076.         uint optionalArgumentsPassed = 0;
  9077.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9078.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9079.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9080.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9081.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9082.         return;
  9083.     }
  9084.     void tfh()
  9085.     {
  9086.         Interpreter::Type_Code codeword = 3388997969;//codeword without arguments
  9087.         Literals& literals;
  9088.         std::vector<Interpreter::Type_Code> code;
  9089.         uint argCount = 0;
  9090.         uint optionalArgCount = 0;
  9091.         uint argumentsPassed = 0;
  9092.         uint optionalArgumentsPassed = 0;
  9093.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9094.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9095.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9096.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9097.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9098.         return;
  9099.     }
  9100.     void tfow()
  9101.     {
  9102.         Interpreter::Type_Code codeword = 3388997957;//codeword without arguments
  9103.         Literals& literals;
  9104.         std::vector<Interpreter::Type_Code> code;
  9105.         uint argCount = 0;
  9106.         uint optionalArgCount = 0;
  9107.         uint argumentsPassed = 0;
  9108.         uint optionalArgumentsPassed = 0;
  9109.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9110.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9111.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9112.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9113.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9114.         return;
  9115.     }
  9116.     void tgm()
  9117.     {
  9118.         Interpreter::Type_Code codeword = 3388998175;//codeword without arguments
  9119.         Literals& literals;
  9120.         std::vector<Interpreter::Type_Code> code;
  9121.         uint argCount = 0;
  9122.         uint optionalArgCount = 0;
  9123.         uint argumentsPassed = 0;
  9124.         uint optionalArgumentsPassed = 0;
  9125.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9126.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9127.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9128.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9129.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9130.         return;
  9131.     }
  9132.     void tm()
  9133.     {
  9134.         Interpreter::Type_Code codeword = 3388998219;//codeword without arguments
  9135.         Literals& literals;
  9136.         std::vector<Interpreter::Type_Code> code;
  9137.         uint argCount = 0;
  9138.         uint optionalArgCount = 0;
  9139.         uint argumentsPassed = 0;
  9140.         uint optionalArgumentsPassed = 0;
  9141.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9142.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9143.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9144.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9145.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9146.         return;
  9147.     }
  9148.     void toggleai()
  9149.     {
  9150.         Interpreter::Type_Code codeword = 3388998180;//codeword without arguments
  9151.         Literals& literals;
  9152.         std::vector<Interpreter::Type_Code> code;
  9153.         uint argCount = 0;
  9154.         uint optionalArgCount = 0;
  9155.         uint argumentsPassed = 0;
  9156.         uint optionalArgumentsPassed = 0;
  9157.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9158.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9159.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9160.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9161.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9162.         return;
  9163.     }
  9164.     void togglecollision()
  9165.     {
  9166.         Interpreter::Type_Code codeword = 3388997936;//codeword without arguments
  9167.         Literals& literals;
  9168.         std::vector<Interpreter::Type_Code> code;
  9169.         uint argCount = 0;
  9170.         uint optionalArgCount = 0;
  9171.         uint argumentsPassed = 0;
  9172.         uint optionalArgumentsPassed = 0;
  9173.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9174.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9175.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9176.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9177.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9178.         return;
  9179.     }
  9180.     void togglecollisionboxes()
  9181.     {
  9182.         Interpreter::Type_Code codeword = 3388998060;//codeword without arguments
  9183.         Literals& literals;
  9184.         std::vector<Interpreter::Type_Code> code;
  9185.         uint argCount = 0;
  9186.         uint optionalArgCount = 0;
  9187.         uint argumentsPassed = 0;
  9188.         uint optionalArgumentsPassed = 0;
  9189.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9190.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9191.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9192.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9193.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9194.         return;
  9195.     }
  9196.     void togglecollisiongrid()
  9197.     {
  9198.         Interpreter::Type_Code codeword = 3388997938;//codeword without arguments
  9199.         Literals& literals;
  9200.         std::vector<Interpreter::Type_Code> code;
  9201.         uint argCount = 0;
  9202.         uint optionalArgCount = 0;
  9203.         uint argumentsPassed = 0;
  9204.         uint optionalArgumentsPassed = 0;
  9205.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9206.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9207.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9208.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9209.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9210.         return;
  9211.     }
  9212.     void togglefogofwar()
  9213.     {
  9214.         Interpreter::Type_Code codeword = 3388997957;//codeword without arguments
  9215.         Literals& literals;
  9216.         std::vector<Interpreter::Type_Code> code;
  9217.         uint argCount = 0;
  9218.         uint optionalArgCount = 0;
  9219.         uint argumentsPassed = 0;
  9220.         uint optionalArgumentsPassed = 0;
  9221.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9222.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9223.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9224.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9225.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9226.         return;
  9227.     }
  9228.     void togglefullhelp()
  9229.     {
  9230.         Interpreter::Type_Code codeword = 3388997969;//codeword without arguments
  9231.         Literals& literals;
  9232.         std::vector<Interpreter::Type_Code> code;
  9233.         uint argCount = 0;
  9234.         uint optionalArgCount = 0;
  9235.         uint argumentsPassed = 0;
  9236.         uint optionalArgumentsPassed = 0;
  9237.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9238.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9239.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9240.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9241.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9242.         return;
  9243.     }
  9244.     void togglegodmode()
  9245.     {
  9246.         Interpreter::Type_Code codeword = 3388998175;//codeword without arguments
  9247.         Literals& literals;
  9248.         std::vector<Interpreter::Type_Code> code;
  9249.         uint argCount = 0;
  9250.         uint optionalArgCount = 0;
  9251.         uint argumentsPassed = 0;
  9252.         uint optionalArgumentsPassed = 0;
  9253.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9254.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9255.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9256.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9257.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9258.         return;
  9259.     }
  9260.     void togglemenus()
  9261.     {
  9262.         Interpreter::Type_Code codeword = 3388998219;//codeword without arguments
  9263.         Literals& literals;
  9264.         std::vector<Interpreter::Type_Code> code;
  9265.         uint argCount = 0;
  9266.         uint optionalArgCount = 0;
  9267.         uint argumentsPassed = 0;
  9268.         uint optionalArgumentsPassed = 0;
  9269.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9270.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9271.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9272.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9273.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9274.         return;
  9275.     }
  9276.     void togglepathgrid()
  9277.     {
  9278.         Interpreter::Type_Code codeword = 3388997958;//codeword without arguments
  9279.         Literals& literals;
  9280.         std::vector<Interpreter::Type_Code> code;
  9281.         uint argCount = 0;
  9282.         uint optionalArgCount = 0;
  9283.         uint argumentsPassed = 0;
  9284.         uint optionalArgumentsPassed = 0;
  9285.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9286.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9287.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9288.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9289.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9290.         return;
  9291.     }
  9292.     void togglesky()
  9293.     {
  9294.         Interpreter::Type_Code codeword = 3388997665;//codeword without arguments
  9295.         Literals& literals;
  9296.         std::vector<Interpreter::Type_Code> code;
  9297.         uint argCount = 0;
  9298.         uint optionalArgCount = 0;
  9299.         uint argumentsPassed = 0;
  9300.         uint optionalArgumentsPassed = 0;
  9301.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9302.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9303.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9304.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9305.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9306.         return;
  9307.     }
  9308.     void togglevanitymode()
  9309.     {
  9310.         Interpreter::Type_Code codeword = 3388998004;//codeword without arguments
  9311.         Literals& literals;
  9312.         std::vector<Interpreter::Type_Code> code;
  9313.         uint argCount = 0;
  9314.         uint optionalArgCount = 0;
  9315.         uint argumentsPassed = 0;
  9316.         uint optionalArgumentsPassed = 0;
  9317.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9318.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9319.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9320.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9321.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9322.         return;
  9323.     }
  9324.     void togglewater()
  9325.     {
  9326.         Interpreter::Type_Code codeword = 3388997956;//codeword without arguments
  9327.         Literals& literals;
  9328.         std::vector<Interpreter::Type_Code> code;
  9329.         uint argCount = 0;
  9330.         uint optionalArgCount = 0;
  9331.         uint argumentsPassed = 0;
  9332.         uint optionalArgumentsPassed = 0;
  9333.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9334.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9335.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9336.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9337.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9338.         return;
  9339.     }
  9340.     void togglewireframe()
  9341.     {
  9342.         Interpreter::Type_Code codeword = 3388997947;//codeword without arguments
  9343.         Literals& literals;
  9344.         std::vector<Interpreter::Type_Code> code;
  9345.         uint argCount = 0;
  9346.         uint optionalArgCount = 0;
  9347.         uint argumentsPassed = 0;
  9348.         uint optionalArgumentsPassed = 0;
  9349.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9350.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9351.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9352.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9353.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9354.         return;
  9355.     }
  9356.     void toggleworld()
  9357.     {
  9358.         Interpreter::Type_Code codeword = 3388998389;//codeword without arguments
  9359.         Literals& literals;
  9360.         std::vector<Interpreter::Type_Code> code;
  9361.         uint argCount = 0;
  9362.         uint optionalArgCount = 0;
  9363.         uint argumentsPassed = 0;
  9364.         uint optionalArgumentsPassed = 0;
  9365.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9366.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9367.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9368.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9369.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9370.         return;
  9371.     }
  9372.     void tpg()
  9373.     {
  9374.         Interpreter::Type_Code codeword = 3388997958;//codeword without arguments
  9375.         Literals& literals;
  9376.         std::vector<Interpreter::Type_Code> code;
  9377.         uint argCount = 0;
  9378.         uint optionalArgCount = 0;
  9379.         uint argumentsPassed = 0;
  9380.         uint optionalArgumentsPassed = 0;
  9381.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9382.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9383.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9384.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9385.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9386.         return;
  9387.     }
  9388.     void ts()
  9389.     {
  9390.         Interpreter::Type_Code codeword = 3388997665;//codeword without arguments
  9391.         Literals& literals;
  9392.         std::vector<Interpreter::Type_Code> code;
  9393.         uint argCount = 0;
  9394.         uint optionalArgCount = 0;
  9395.         uint argumentsPassed = 0;
  9396.         uint optionalArgumentsPassed = 0;
  9397.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9398.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9399.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9400.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9401.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9402.         return;
  9403.     }
  9404.     void turnmoonred()
  9405.     {
  9406.         Interpreter::Type_Code codeword = 3388997667;//codeword without arguments
  9407.         Literals& literals;
  9408.         std::vector<Interpreter::Type_Code> code;
  9409.         uint argCount = 0;
  9410.         uint optionalArgCount = 0;
  9411.         uint argumentsPassed = 0;
  9412.         uint optionalArgumentsPassed = 0;
  9413.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9414.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9415.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9416.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9417.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9418.         return;
  9419.     }
  9420.     void turnmoonwhite()
  9421.     {
  9422.         Interpreter::Type_Code codeword = 3388997666;//codeword without arguments
  9423.         Literals& literals;
  9424.         std::vector<Interpreter::Type_Code> code;
  9425.         uint argCount = 0;
  9426.         uint optionalArgCount = 0;
  9427.         uint argumentsPassed = 0;
  9428.         uint optionalArgumentsPassed = 0;
  9429.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9430.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9431.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9432.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9433.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9434.         return;
  9435.     }
  9436.     void tvm()
  9437.     {
  9438.         Interpreter::Type_Code codeword = 3388998004;//codeword without arguments
  9439.         Literals& literals;
  9440.         std::vector<Interpreter::Type_Code> code;
  9441.         uint argCount = 0;
  9442.         uint optionalArgCount = 0;
  9443.         uint argumentsPassed = 0;
  9444.         uint optionalArgumentsPassed = 0;
  9445.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9446.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9447.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9448.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9449.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9450.         return;
  9451.     }
  9452.     void tw()
  9453.     {
  9454.         Interpreter::Type_Code codeword = 3388998389;//codeword without arguments
  9455.         Literals& literals;
  9456.         std::vector<Interpreter::Type_Code> code;
  9457.         uint argCount = 0;
  9458.         uint optionalArgCount = 0;
  9459.         uint argumentsPassed = 0;
  9460.         uint optionalArgumentsPassed = 0;
  9461.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9462.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9463.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9464.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9465.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9466.         return;
  9467.     }
  9468.     void twa()
  9469.     {
  9470.         Interpreter::Type_Code codeword = 3388997956;//codeword without arguments
  9471.         Literals& literals;
  9472.         std::vector<Interpreter::Type_Code> code;
  9473.         uint argCount = 0;
  9474.         uint optionalArgCount = 0;
  9475.         uint argumentsPassed = 0;
  9476.         uint optionalArgumentsPassed = 0;
  9477.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9478.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9479.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9480.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9481.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9482.         return;
  9483.     }
  9484.     void twf()
  9485.     {
  9486.         Interpreter::Type_Code codeword = 3388997947;//codeword without arguments
  9487.         Literals& literals;
  9488.         std::vector<Interpreter::Type_Code> code;
  9489.         uint argCount = 0;
  9490.         uint optionalArgCount = 0;
  9491.         uint argumentsPassed = 0;
  9492.         uint optionalArgumentsPassed = 0;
  9493.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9494.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9495.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9496.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9497.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9498.         return;
  9499.     }
  9500.     void undowerewolf()
  9501.     {
  9502.         Interpreter::Type_Code codeword = 3388998169;//codeword without arguments
  9503.         Literals& literals;
  9504.         std::vector<Interpreter::Type_Code> code;
  9505.         uint argCount = 0;
  9506.         uint optionalArgCount = 0;
  9507.         uint argumentsPassed = 0;
  9508.         uint optionalArgumentsPassed = 0;
  9509.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9510.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9511.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9512.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9513.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9514.         return;
  9515.     }
  9516.     void unlock()
  9517.     {
  9518.         Interpreter::Type_Code codeword = 3388997772;//codeword without arguments
  9519.         Literals& literals;
  9520.         std::vector<Interpreter::Type_Code> code;
  9521.         uint argCount = 0;
  9522.         uint optionalArgCount = 0;
  9523.         uint argumentsPassed = 0;
  9524.         uint optionalArgumentsPassed = 0;
  9525.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9526.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9527.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9528.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9529.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9530.         return;
  9531.     }
  9532.     void wakeuppc()
  9533.     {
  9534.         Interpreter::Type_Code codeword = 3388998050;//codeword without arguments
  9535.         Literals& literals;
  9536.         std::vector<Interpreter::Type_Code> code;
  9537.         uint argCount = 0;
  9538.         uint optionalArgCount = 0;
  9539.         uint argumentsPassed = 0;
  9540.         uint optionalArgumentsPassed = 0;
  9541.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9542.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9543.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9544.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9545.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9546.         return;
  9547.     }
  9548.     Interpreter::Type_Integer xbox()
  9549.     {
  9550.         Interpreter::Type_Code codeword = 3388997644;//codeword without arguments
  9551.         Literals& literals;
  9552.         std::vector<Interpreter::Type_Code> code;
  9553.         uint argCount = 0;
  9554.         uint optionalArgCount = 0;
  9555.         uint argumentsPassed = 0;
  9556.         uint optionalArgumentsPassed = 0;
  9557.         optionalArgumentsPassed = argumentsPassed-(argCount-optionalArgCount);
  9558.         // adds number of arguments as argument to the codeword, similar to how generateInstructionCode does it
  9559.         if (argumentsPassed > 0) codeword= codeword | (optionalArgumentsPassed & 0xff);
  9560.         //now append codeword to code, append literals to code, create header words and place at head of code see Output::getCode()
  9561.         interpreter.run(&code[0], code.size(), context);//todo - get the runtime stack!
  9562.         return runtime[0].mInteger;
  9563.     }
  9564. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement