phantasmal-world/6bd68093ecacc17ba303.worker.js
Daan Vanden Bosch 9172f94b2a Release 22.
2019-10-01 22:49:08 +02:00

6 lines
123 KiB
JavaScript

!function(e){var i={};function n(o){if(i[o])return i[o].exports;var d=i[o]={i:o,l:!1,exports:{}};return e[o].call(d.exports,d,d.exports,n),d.l=!0,d.exports}n.m=e,n.c=i,n.d=function(e,i,o){n.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,i){if(1&i&&(e=n(e)),8&i)return e;if(4&i&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&i&&"string"!=typeof e)for(var d in e)n.d(o,d,function(i){return e[i]}.bind(null,d));return o},n.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(i,"a",i),i},n.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},n.p="",n(n.s="yL6M")}({"8hIv":function(e,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});const o=new DataView(new ArrayBuffer(4));i.reinterpret_i32_as_f32=function(e){return o.setInt32(0,e),o.getFloat32(0)},i.reinterpret_f32_as_i32=function(e){return o.setFloat32(0,e),o.getInt32(0)}},GGSb:function(e,i,n){var o,d;
/*!
* js-logger - http://github.com/jonnyreeves/js-logger
* Jonny Reeves, http://jonnyreeves.co.uk/
* js-logger may be freely distributed under the MIT license.
*/!function(_){"use strict";var v,t={};t.VERSION="1.6.0";var O={},w=function(e,i){return function(){return i.apply(e,arguments)}},E=function(){var e,i,n=arguments,o=n[0];for(i=1;i<n.length;i++)for(e in n[i])e in o||!n[i].hasOwnProperty(e)||(o[e]=n[i][e]);return o},s=function(e,i){return{value:e,name:i}};t.TRACE=s(1,"TRACE"),t.DEBUG=s(2,"DEBUG"),t.INFO=s(3,"INFO"),t.TIME=s(4,"TIME"),t.WARN=s(5,"WARN"),t.ERROR=s(8,"ERROR"),t.OFF=s(99,"OFF");var r=function(e){this.context=e,this.setLevel(e.filterLevel),this.log=this.info};r.prototype={setLevel:function(e){e&&"value"in e&&(this.context.filterLevel=e)},getLevel:function(){return this.context.filterLevel},enabledFor:function(e){var i=this.context.filterLevel;return e.value>=i.value},trace:function(){this.invoke(t.TRACE,arguments)},debug:function(){this.invoke(t.DEBUG,arguments)},info:function(){this.invoke(t.INFO,arguments)},warn:function(){this.invoke(t.WARN,arguments)},error:function(){this.invoke(t.ERROR,arguments)},time:function(e){"string"==typeof e&&e.length>0&&this.invoke(t.TIME,[e,"start"])},timeEnd:function(e){"string"==typeof e&&e.length>0&&this.invoke(t.TIME,[e,"end"])},invoke:function(e,i){v&&this.enabledFor(e)&&v(i,E({level:e},this.context))}};var D,P=new r({filterLevel:t.OFF});(D=t).enabledFor=w(P,P.enabledFor),D.trace=w(P,P.trace),D.debug=w(P,P.debug),D.time=w(P,P.time),D.timeEnd=w(P,P.timeEnd),D.info=w(P,P.info),D.warn=w(P,P.warn),D.error=w(P,P.error),D.log=D.info,t.setHandler=function(e){v=e},t.setLevel=function(e){for(var i in P.setLevel(e),O)O.hasOwnProperty(i)&&O[i].setLevel(e)},t.getLevel=function(){return P.getLevel()},t.get=function(e){return O[e]||(O[e]=new r(E({name:e},P.context)))},t.createDefaultHandler=function(e){(e=e||{}).formatter=e.formatter||function(e,i){i.name&&e.unshift("["+i.name+"]")};var i={},n=function(e,i){Function.prototype.apply.call(e,console,i)};return"undefined"==typeof console?function(){}:function(o,d){o=Array.prototype.slice.call(o);var _,v=console.log;d.level===t.TIME?(_=(d.name?"["+d.name+"] ":"")+o[0],"start"===o[1]?console.time?console.time(_):i[_]=(new Date).getTime():console.timeEnd?console.timeEnd(_):n(v,[_+": "+((new Date).getTime()-i[_])+"ms"])):(d.level===t.WARN&&console.warn?v=console.warn:d.level===t.ERROR&&console.error?v=console.error:d.level===t.INFO&&console.info?v=console.info:d.level===t.DEBUG&&console.debug?v=console.debug:d.level===t.TRACE&&console.trace&&(v=console.trace),e.formatter(o,d),n(v,o))}},t.useDefaults=function(e){t.setLevel(e&&e.defaultLevel||t.DEBUG),t.setHandler(t.createDefaultHandler(e))},void 0===(d="function"==typeof(o=t)?o.call(i,n,i,e):o)||(e.exports=d)}()},JLhb:function(e,i,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});const d=o(n("GGSb")),_=n("8hIv"),v=n("ZBxL"),t=n("lg9k"),O=n("ZPAt"),w=d.default.get("quest_editor/scripting/assembly");i.assemble=function(e,i=!1){w.trace("assemble start");const n=new E(e,i).assemble();return w.trace(`assemble end with ${n.warnings.length} warnings and ${n.errors.length} errors.`),n};class E{constructor(e,i){this.assembly=e,this.manual_stack=i,this.lexer=new v.AssemblyLexer,this.first_section_marker=!0,this.prev_line_had_label=!1}assemble(){this.line_no=1,this.object_code=[],this.warnings=[],this.errors=[],this.labels=new Set,this.section=t.SegmentType.Instructions,this.first_section_marker=!0,this.prev_line_had_label=!1;for(const e of this.assembly){if(this.tokens=this.lexer.tokenize_line(e),this.tokens.length>0){const e=this.tokens.shift();let i=!1;switch(e.type){case v.TokenType.Label:this.parse_label(e),i=!0;break;case v.TokenType.CodeSection:case v.TokenType.DataSection:case v.TokenType.StringSection:this.parse_section(e);break;case v.TokenType.Int:this.section===t.SegmentType.Data?this.parse_bytes(e):this.add_error({col:e.col,length:e.len,message:"Unexpected token."});break;case v.TokenType.String:this.section===t.SegmentType.String?this.parse_string(e):this.add_error({col:e.col,length:e.len,message:"Unexpected token."});break;case v.TokenType.Ident:this.section===t.SegmentType.Instructions?this.parse_instruction(e):this.add_error({col:e.col,length:e.len,message:"Unexpected token."});break;case v.TokenType.InvalidSection:this.add_error({col:e.col,length:e.len,message:"Invalid section type."});break;case v.TokenType.InvalidIdent:this.add_error({col:e.col,length:e.len,message:"Invalid identifier."});break;default:this.add_error({col:e.col,length:e.len,message:"Unexpected token."})}this.prev_line_had_label=i}this.line_no++}return{object_code:this.object_code,warnings:this.warnings,errors:this.errors}}add_instruction(e,i){if(this.segment)this.segment.type===t.SegmentType.Instructions?this.segment.instructions.push(new t.Instruction(e,i)):w.error(`Line ${this.line_no}: Expected instructions segment.`);else{const e={labels:[],type:t.SegmentType.Instructions,instructions:[]};this.segment=e,this.object_code.push(e)}}add_bytes(e){if(this.segment)if(this.segment.type===t.SegmentType.Data){const i=new ArrayBuffer(this.segment.data.byteLength+e.length),n=new Uint8Array(i);n.set(new Uint8Array(this.segment.data)),n.set(new Uint8Array(e),this.segment.data.byteLength),this.segment.data=i}else w.error(`Line ${this.line_no}: Expected data segment.`);else{const i={labels:[],type:t.SegmentType.Data,data:new Uint8Array(e).buffer};this.segment=i,this.object_code.push(i)}}add_string(e){if(this.segment)this.segment.type===t.SegmentType.String?this.segment.value+=e:w.error(`Line ${this.line_no}: Expected string segment.`);else{const i={labels:[],type:t.SegmentType.String,value:e};this.segment=i,this.object_code.push(i)}}add_error({col:e,length:i,message:n}){this.errors.push({line_no:this.line_no,col:e,length:i,message:n})}add_warning({col:e,length:i,message:n}){this.warnings.push({line_no:this.line_no,col:e,length:i,message:n})}parse_label({col:e,len:i,value:n}){this.labels.has(n)&&this.add_error({col:e,length:i,message:"Duplicate label."}),this.labels.add(n);const o=this.tokens.shift();switch(this.prev_line_had_label&&this.object_code[this.object_code.length-1].labels.push(n),this.section){case t.SegmentType.Instructions:this.prev_line_had_label||(this.segment={type:t.SegmentType.Instructions,labels:[n],instructions:[]},this.object_code.push(this.segment)),o&&(o.type===v.TokenType.Ident?this.parse_instruction(o):this.add_error({col:o.col,length:o.len,message:"Expected opcode mnemonic."}));break;case t.SegmentType.Data:this.prev_line_had_label||(this.segment={type:t.SegmentType.Data,labels:[n],data:new ArrayBuffer(0)},this.object_code.push(this.segment)),o&&(o.type===v.TokenType.Int?this.parse_bytes(o):this.add_error({col:o.col,length:o.len,message:"Expected bytes."}));break;case t.SegmentType.String:this.prev_line_had_label||(this.segment={type:t.SegmentType.String,labels:[n],value:""},this.object_code.push(this.segment)),o&&(o.type===v.TokenType.String?this.parse_string(o):this.add_error({col:o.col,length:o.len,message:"Expected a string."}))}}parse_section({type:e,col:i,len:n}){let o;switch(e){case v.TokenType.CodeSection:o=t.SegmentType.Instructions;break;case v.TokenType.DataSection:o=t.SegmentType.Data;break;case v.TokenType.StringSection:o=t.SegmentType.String}this.section!==o||this.first_section_marker||this.add_warning({col:i,length:n,message:"Unnecessary section marker."}),this.section=o,this.first_section_marker=!1;const d=this.tokens.shift();d&&this.add_error({col:d.col,length:d.len,message:"Unexpected token."})}parse_instruction({col:e,len:i,value:n}){const o=O.OPCODES_BY_MNEMONIC.get(n);if(o){const i=-1!==o.params.findIndex(e=>e.type.kind===O.Kind.ILabelVar||e.type.kind===O.Kind.RegRefVar),n=this.manual_stack&&o.stack===O.StackInteraction.Pop?0:o.params.length;let d=0;for(const e of this.tokens)e.type!==v.TokenType.ArgSeparator&&d++;const t=this.tokens[this.tokens.length-1],E=t?t.col+t.len-e:0,s=[];if(!i&&d!==n)return void this.add_error({col:e,length:E,message:`Expected ${n} argument${1===n?"":"s"}, got ${d}.`});if(i&&d<n)return void this.add_error({col:e,length:E,message:`Expected at least ${n} argument${1===n?"":"s"}, got ${d}.`});if(o.stack!==O.StackInteraction.Pop){if(!this.parse_args(o.params,s,!1))return}else{const e=[];if(!this.parse_args(o.params,e,!0))return;for(let i=0;i<o.params.length;i++){const n=o.params[i],d=e[i];if(null==d)continue;const[t,E]=d;if(E.type===v.TokenType.Register)n.type.kind===O.Kind.RegTupRef?this.add_instruction(O.Opcode.ARG_PUSHB,[t]):this.add_instruction(O.Opcode.ARG_PUSHR,[t]);else switch(n.type.kind){case O.Kind.Byte:case O.Kind.RegRef:case O.Kind.RegTupRef:this.add_instruction(O.Opcode.ARG_PUSHB,[t]);break;case O.Kind.Word:case O.Kind.Label:case O.Kind.ILabel:case O.Kind.DLabel:case O.Kind.SLabel:this.add_instruction(O.Opcode.ARG_PUSHW,[t]);break;case O.Kind.DWord:this.add_instruction(O.Opcode.ARG_PUSHL,[t]);break;case O.Kind.Float:this.add_instruction(O.Opcode.ARG_PUSHL,[{value:_.reinterpret_f32_as_i32(t.value),size:4}]);break;case O.Kind.String:this.add_instruction(O.Opcode.ARG_PUSHS,[t]);break;default:w.error(`Line ${this.line_no}: Type ${O.Kind[n.type.kind]} not implemented.`)}}}this.add_instruction(o,s.map(([e])=>e))}else this.add_error({col:e,length:i,message:"Unknown instruction."})}parse_args(e,i,n){let o=!0,d=!0,_=0;for(let t=0;t<this.tokens.length;t++){const w=this.tokens[t],E=e[_];if(w.type===v.TokenType.ArgSeparator)d?this.add_error({col:w.col,length:w.len,message:"Expected an argument."}):E.type.kind!==O.Kind.ILabelVar&&E.type.kind!==O.Kind.RegRefVar&&_++,d=!0;else{if(!d){const e=this.tokens[t-1],i=e.col+e.len;this.add_error({col:i,length:w.col-i,message:"Expected a comma."})}let e;switch(d=!1,w.type){case v.TokenType.Int:switch(E.type.kind){case O.Kind.Byte:e=!0,this.parse_int(1,w,i);break;case O.Kind.Word:case O.Kind.Label:case O.Kind.ILabel:case O.Kind.DLabel:case O.Kind.SLabel:case O.Kind.ILabelVar:e=!0,this.parse_int(2,w,i);break;case O.Kind.DWord:e=!0,this.parse_int(4,w,i);break;case O.Kind.Float:e=!0,i.push([{value:w.value,size:4},w]);break;default:e=!1}break;case v.TokenType.Float:(e=E.type.kind===O.Kind.Float)&&i.push([{value:w.value,size:4},w]);break;case v.TokenType.Register:e=n||E.type.kind===O.Kind.RegRef||E.type.kind===O.Kind.RegRefVar||E.type.kind===O.Kind.RegTupRef,this.parse_register(w,i);break;case v.TokenType.String:(e=E.type.kind===O.Kind.String)&&i.push([{value:w.value,size:2*w.value.length+2},w]);break;default:e=!1}if(!e){let e;switch(o=!1,E.type.kind){case O.Kind.Byte:e="an 8-bit integer";break;case O.Kind.Word:e="a 16-bit integer";break;case O.Kind.DWord:e="a 32-bit integer";break;case O.Kind.Float:e="a float";break;case O.Kind.Label:e="a label";break;case O.Kind.ILabel:case O.Kind.ILabelVar:e="an instruction label";break;case O.Kind.DLabel:e="a data label";break;case O.Kind.SLabel:e="a string label";break;case O.Kind.String:e="a string";break;case O.Kind.RegRef:case O.Kind.RegRefVar:case O.Kind.RegTupRef:e="a register reference"}e?this.add_error({col:w.col,length:w.len,message:`Expected ${e}.`}):this.add_error({col:w.col,length:w.len,message:"Unexpected token."})}}}return this.tokens=[],o}parse_int(e,i,n){const{value:o,col:d,len:_}=i,v=8*e,t=-Math.pow(2,v-1),O=Math.pow(2,v)-1;o<t?this.add_error({col:d,length:_,message:`${v}-Bit integer can't be less than ${t}.`}):o>O?this.add_error({col:d,length:_,message:`${v}-Bit integer can't be greater than ${O}.`}):n.push([{value:o,size:e},i])}parse_register(e,i){const{col:n,len:o,value:d}=e;d>255?this.add_error({col:n,length:o,message:"Invalid register reference, expected r0-r255."}):i.push([{value:d,size:1},e])}parse_bytes(e){const i=[];let n=e,o=0;for(;n.type===v.TokenType.Int&&(n.value<0?this.add_error({col:n.col,length:n.len,message:"Unsigned 8-bit integer can't be less than 0."}):n.value>255&&this.add_error({col:n.col,length:n.len,message:"Unsigned 8-bit integer can't be greater than 255."}),i.push(n.value),o<this.tokens.length);)n=this.tokens[o++];o<this.tokens.length&&this.add_error({col:n.col,length:n.len,message:"Expected an unsigned 8-bit integer."}),this.add_bytes(i)}parse_string(e){const i=this.tokens.shift();i&&this.add_error({col:i.col,length:i.len,message:"Unexpected token."}),this.add_string(e.value)}}},ZBxL:function(e,i,n){"use strict";var o;Object.defineProperty(i,"__esModule",{value:!0}),function(e){e[e.Int=0]="Int",e[e.Float=1]="Float",e[e.InvalidNumber=2]="InvalidNumber",e[e.Register=3]="Register",e[e.Label=4]="Label",e[e.CodeSection=5]="CodeSection",e[e.DataSection=6]="DataSection",e[e.StringSection=7]="StringSection",e[e.InvalidSection=8]="InvalidSection",e[e.String=9]="String",e[e.UnterminatedString=10]="UnterminatedString",e[e.Ident=11]="Ident",e[e.InvalidIdent=12]="InvalidIdent",e[e.ArgSeparator=13]="ArgSeparator"}(o=i.TokenType||(i.TokenType={}));i.AssemblyLexer=class{constructor(){this.index=0,this._mark=0}get col(){return this.index+1}tokenize_line(e){this.line=e,this.index=0,this._mark=0;const i=[];for(;this.has_next();){const e=this.peek();let n;if("/"===e){if(this.skip(),"/"===this.peek())break;this.back()}/\s/.test(e)?this.skip():(/[-\d]/.test(e)?n=this.tokenize_number_or_label():","===e?(n={type:o.ArgSeparator,col:this.col,len:1},this.skip()):n="."===e?this.tokenize_section():'"'===e?this.tokenize_string():"r"===e?this.tokenize_register_or_ident():this.tokenize_ident(),i.push(n))}return i}has_next(){return this.index<this.line.length}next(){return this.line.charAt(this.index++)}peek(){return this.line.charAt(this.index)}skip(){this.index++}back(){this.index--}mark(){this._mark=this.index}marked_len(){return this.index-this._mark}slice(){return this.line.slice(this._mark,this.index)}eat_rest_of_token(){for(;this.has_next();){const e=this.next();if(/[\s,]/.test(e)){this.back();break}}}tokenize_number_or_label(){this.mark();const e=this.col;this.skip();let i=!1;for(;this.has_next();){const n=this.peek();if("."===n||"e"===n)return this.tokenize_float(e);if("x"===n)return this.tokenize_hex_number(e);if(":"===n){i=!0,this.skip();break}if(/[\s,]/.test(n))break;this.skip()}const n=parseInt(this.slice(),10);return{type:Number.isInteger(n)?i?o.Label:o.Int:o.InvalidNumber,col:e,len:this.marked_len(),value:n}}tokenize_hex_number(e){this.eat_rest_of_token();const i=this.slice();if(/^0x[\da-fA-F]+$/.test(i)){const n=parseInt(i,16);if(Number.isInteger(n))return{type:o.Int,col:e,len:this.marked_len(),value:n}}return{type:o.InvalidNumber,col:e,len:this.marked_len()}}tokenize_float(e){this.eat_rest_of_token();const i=this.slice();if(/^-?\d+(\.\d+)?(e-?\d+)?$/.test(i)){const n=parseFloat(i);if(Number.isFinite(n))return{type:o.Float,col:e,len:this.marked_len(),value:n}}return{type:o.InvalidNumber,col:e,len:this.marked_len()}}tokenize_register_or_ident(){const e=this.col;this.skip(),this.mark();let i=!1;for(;this.has_next();){const e=this.peek();if(!/\d/.test(e))break;i=!0,this.skip()}if(i){const i=parseInt(this.slice(),10);return{type:o.Register,col:e,len:this.marked_len()+1,value:i}}return this.back(),this.tokenize_ident()}tokenize_section(){const e=this.col;for(this.mark();this.has_next()&&!/\s/.test(this.peek());)this.skip();switch(this.slice()){case".code":return{type:o.CodeSection,col:e,len:5};case".data":return{type:o.DataSection,col:e,len:5};case".string":return{type:o.StringSection,col:e,len:7};default:return{type:o.InvalidSection,col:e,len:this.marked_len()}}}tokenize_string(){const e=this.col;this.mark(),this.skip();let i,n=!1,d=!1;e:for(;this.has_next();)switch(this.next()){case"\\":n=!0;break;case'"':if(!n){d=!0;break e}n=!1;break;default:n=!1}return i=d?JSON.parse(this.slice()):JSON.parse(this.slice()+'"'),{type:d?o.String:o.UnterminatedString,col:e,len:this.marked_len(),value:i}}tokenize_ident(){const e=this.col;for(this.mark();this.has_next();){const e=this.peek();if(/[\s,]/.test(e))break;if("/"===e){if(this.skip(),"/"===this.peek()){this.back();break}}else this.skip()}const i=this.slice(),n=/^[a-z][a-z0-9_=<>!]*$/.test(i)?o.Ident:o.InvalidIdent;return n===o.Ident?{type:n,col:e,len:this.marked_len(),value:i}:{type:n,col:e,len:this.marked_len()}}}},ZPAt:function(e,i,n){"use strict";var o,d,_;Object.defineProperty(i,"__esModule",{value:!0}),function(e){e[e.Any=0]="Any",e[e.Byte=1]="Byte",e[e.Word=2]="Word",e[e.DWord=3]="DWord",e[e.Float=4]="Float",e[e.Label=5]="Label",e[e.ILabel=6]="ILabel",e[e.DLabel=7]="DLabel",e[e.SLabel=8]="SLabel",e[e.String=9]="String",e[e.ILabelVar=10]="ILabelVar",e[e.RegRef=11]="RegRef",e[e.RegTupRef=12]="RegTupRef",e[e.RegRefVar=13]="RegRefVar",e[e.Pointer=14]="Pointer"}(o=i.Kind||(i.Kind={})),i.TYPE_ANY={kind:o.Any},i.TYPE_BYTE={kind:o.Byte},i.TYPE_WORD={kind:o.Word},i.TYPE_DWORD={kind:o.DWord},i.TYPE_FLOAT={kind:o.Float},i.TYPE_LABEL={kind:o.Label},i.TYPE_I_LABEL={kind:o.ILabel},i.TYPE_D_LABEL={kind:o.DLabel},i.TYPE_S_LABEL={kind:o.SLabel},i.TYPE_STRING={kind:o.String},i.TYPE_I_LABEL_VAR={kind:o.ILabelVar},i.TYPE_REG_REF={kind:o.RegRef},i.TYPE_REG_REF_VAR={kind:o.RegRefVar},i.TYPE_POINTER={kind:o.Pointer},i.MIN_SIGNED_DWORD_VALUE=-Math.pow(2,31),i.MAX_SIGNED_DWORD_VALUE=Math.pow(2,31)-1,i.MIN_UNSIGNED_DWORD_VALUE=0,i.MAX_UNSIGNED_DWORD_VALUE=Math.pow(2,32)-1,i.MIN_DWORD_VALUE=i.MIN_SIGNED_DWORD_VALUE,i.MAX_DWORD_VALUE=i.MAX_UNSIGNED_DWORD_VALUE,function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(d=i.ParamAccess||(i.ParamAccess={}));class v{constructor(e,i,n){this.type=e,this.doc=i,this.access=n}}i.Param=v,function(e){e[e.Push=0]="Push",e[e.Pop=1]="Pop"}(_=i.StackInteraction||(i.StackInteraction={})),i.OPCODES=[],i.OPCODES_BY_MNEMONIC=new Map;class t{constructor(e,i,n,o,d){this.code=e,this.mnemonic=i,this.doc=n,this.size=this.code<256?1:2,this.params=o,this.stack=d}}i.Opcode=t,t.NOP=i.OPCODES[0]=new t(0,"nop","No operation, does nothing.",[],void 0),t.RET=i.OPCODES[1]=new t(1,"ret","Returns control to caller.",[],void 0),t.SYNC=i.OPCODES[2]=new t(2,"sync","Yields control for the rest of the current frame. Execution will continue the following frame.",[],void 0),t.EXIT=i.OPCODES[3]=new t(3,"exit",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.THREAD=i.OPCODES[4]=new t(4,"thread","Starts a new thread. Thread execution will start at the given label.\nOften used to check a register every frame. Make sure to yield control with sync when looping.",[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.VA_START=i.OPCODES[5]=new t(5,"va_start","Initializes a variable argument list.\nMake sure to call va_end after va_start and va_call.",[],void 0),t.VA_END=i.OPCODES[6]=new t(6,"va_end","Restores the registers overwritten by arg_push* instructions.\nCalled after va_call.",[],void 0),t.VA_CALL=i.OPCODES[7]=new t(7,"va_call","Calls the variable argument function at the given label.\nCalled after initializing the argument list with va_start and pushing arguments onto the stack with arg_push* instructions. Make sure to call va_end afterwards.",[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.LET=i.OPCODES[8]=new t(8,"let","Sets the first register's value to second one's value.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.LETI=i.OPCODES[9]=new t(9,"leti","Sets a register to the given value.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.LETB=i.OPCODES[10]=new t(10,"letb","Sets a register to the given value.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_BYTE,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_BYTE,void 0,void 0)],void 0),t.LETW=i.OPCODES[11]=new t(11,"letw","Sets a register to the given value.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_WORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_WORD,void 0,void 0)],void 0),t.LETA=i.OPCODES[12]=new t(12,"leta","Sets the first register to the memory address of the second register. Not used by Sega.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_POINTER,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.LETO=i.OPCODES[13]=new t(13,"leto","Sets a register to the memory address of the given label. Not used by Sega.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_POINTER,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_LABEL,void 0,void 0)],void 0),t.UNKNOWN_0E=i.OPCODES[14]=new t(14,"unknown_0e",void 0,[],void 0),t.UNKNOWN_0F=i.OPCODES[15]=new t(15,"unknown_0f",void 0,[],void 0),t.SET=i.OPCODES[16]=new t(16,"set","Sets a register to 1.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.CLEAR=i.OPCODES[17]=new t(17,"clear","Sets a register to 0.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.REV=i.OPCODES[18]=new t(18,"rev","Sets a register to 1 if its current value is 0, otherwise sets it to 0.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.ReadWrite)]},void 0,void 0)],void 0),t.GSET=i.OPCODES[19]=new t(19,"gset",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.GCLEAR=i.OPCODES[20]=new t(20,"gclear",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.GREV=i.OPCODES[21]=new t(21,"grev",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.GLET=i.OPCODES[22]=new t(22,"glet",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.GGET=i.OPCODES[23]=new t(23,"gget","Sets a register to value of the given flag.",[new v(i.TYPE_WORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_WORD,void 0,d.Write)]},void 0,void 0)],void 0),t.ADD=i.OPCODES[24]=new t(24,"add",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.ADDI=i.OPCODES[25]=new t(25,"addi",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.SUB=i.OPCODES[26]=new t(26,"sub",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.SUBI=i.OPCODES[27]=new t(27,"subi",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.MUL=i.OPCODES[28]=new t(28,"mul",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.MULI=i.OPCODES[29]=new t(29,"muli",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.DIV=i.OPCODES[30]=new t(30,"div",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.DIVI=i.OPCODES[31]=new t(31,"divi",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.AND=i.OPCODES[32]=new t(32,"and",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.ANDI=i.OPCODES[33]=new t(33,"andi",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.OR=i.OPCODES[34]=new t(34,"or",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.ORI=i.OPCODES[35]=new t(35,"ori",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.XOR=i.OPCODES[36]=new t(36,"xor",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.XORI=i.OPCODES[37]=new t(37,"xori",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.MOD=i.OPCODES[38]=new t(38,"mod",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.MODI=i.OPCODES[39]=new t(39,"modi",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.JMP=i.OPCODES[40]=new t(40,"jmp",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.CALL=i.OPCODES[41]=new t(41,"call",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMP_ON=i.OPCODES[42]=new t(42,"jmp_on",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_REG_REF_VAR,void 0,d.Read)],void 0),t.JMP_OFF=i.OPCODES[43]=new t(43,"jmp_off",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_REG_REF_VAR,void 0,d.Read)],void 0),t.JMP_E=i.OPCODES[44]=new t(44,"jmp_=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMPI_E=i.OPCODES[45]=new t(45,"jmpi_=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMP_NE=i.OPCODES[46]=new t(46,"jmp_!=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMPI_NE=i.OPCODES[47]=new t(47,"jmpi_!=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.UJMP_G=i.OPCODES[48]=new t(48,"ujmp_>",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.UJMPI_G=i.OPCODES[49]=new t(49,"ujmpi_>",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMP_G=i.OPCODES[50]=new t(50,"jmp_>",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMPI_G=i.OPCODES[51]=new t(51,"jmpi_>",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.UJMP_L=i.OPCODES[52]=new t(52,"ujmp_<",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.UJMPI_L=i.OPCODES[53]=new t(53,"ujmpi_<",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMP_L=i.OPCODES[54]=new t(54,"jmp_<",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMPI_L=i.OPCODES[55]=new t(55,"jmpi_<",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.UJMP_GE=i.OPCODES[56]=new t(56,"ujmp_>=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.UJMPI_GE=i.OPCODES[57]=new t(57,"ujmpi_>=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMP_GE=i.OPCODES[58]=new t(58,"jmp_>=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMPI_GE=i.OPCODES[59]=new t(59,"jmpi_>=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.UJMP_LE=i.OPCODES[60]=new t(60,"ujmp_<=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.UJMPI_LE=i.OPCODES[61]=new t(61,"ujmpi_<=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMP_LE=i.OPCODES[62]=new t(62,"jmp_<=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.JMPI_LE=i.OPCODES[63]=new t(63,"jmpi_<=",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.SWITCH_JMP=i.OPCODES[64]=new t(64,"switch_jmp",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL_VAR,void 0,void 0)],void 0),t.SWITCH_CALL=i.OPCODES[65]=new t(65,"switch_call",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_I_LABEL_VAR,void 0,void 0)],void 0),t.STACK_PUSH=i.OPCODES[66]=new t(66,"stack_push",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.STACK_POP=i.OPCODES[67]=new t(67,"stack_pop",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.STACK_PUSHM=i.OPCODES[68]=new t(68,"stack_pushm","Pushes the values of an arbitrary amount of registers onto the stack.",[new v(i.TYPE_REG_REF,void 0,d.Read),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.STACK_POPM=i.OPCODES[69]=new t(69,"stack_popm","Pops an arbitrary amount of values from the stack and writes them to registers.",[new v(i.TYPE_REG_REF,void 0,d.Write),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.UNKNOWN_46=i.OPCODES[70]=new t(70,"unknown_46",void 0,[],void 0),t.UNKNOWN_47=i.OPCODES[71]=new t(71,"unknown_47",void 0,[],void 0),t.ARG_PUSHR=i.OPCODES[72]=new t(72,"arg_pushr","Pushes the value of the given register onto the stack.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],_.Push),t.ARG_PUSHL=i.OPCODES[73]=new t(73,"arg_pushl","Pushes the given value onto the stack.",[new v(i.TYPE_DWORD,void 0,void 0)],_.Push),t.ARG_PUSHB=i.OPCODES[74]=new t(74,"arg_pushb","Pushes the given value onto the stack.",[new v(i.TYPE_BYTE,void 0,void 0)],_.Push),t.ARG_PUSHW=i.OPCODES[75]=new t(75,"arg_pushw","Pushes the given value onto the stack.",[new v(i.TYPE_WORD,void 0,void 0)],_.Push),t.ARG_PUSHA=i.OPCODES[76]=new t(76,"arg_pusha","Pushes the memory address of the given register onto the stack. Not used by Sega.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],_.Push),t.ARG_PUSHO=i.OPCODES[77]=new t(77,"arg_pusho","Pushes the memory address of the given label onto the stack. Not used by Sega.",[new v(i.TYPE_LABEL,void 0,void 0)],_.Push),t.ARG_PUSHS=i.OPCODES[78]=new t(78,"arg_pushs","Pushes the given value onto the stack.",[new v(i.TYPE_STRING,void 0,void 0)],_.Push),t.UNKNOWN_4F=i.OPCODES[79]=new t(79,"unknown_4f",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.MESSAGE=i.OPCODES[80]=new t(80,"message",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.LIST=i.OPCODES[81]=new t(81,"list","Used to display a list of items and retrieve the item selected by the player.\nList items should be seperated by newlines. The selected item's index will be written to the given register.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_BYTE,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.FADEIN=i.OPCODES[82]=new t(82,"fadein",void 0,[],void 0),t.FADEOUT=i.OPCODES[83]=new t(83,"fadeout",void 0,[],void 0),t.SE=i.OPCODES[84]=new t(84,"se",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.BGM=i.OPCODES[85]=new t(85,"bgm",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_56=i.OPCODES[86]=new t(86,"unknown_56",void 0,[],void 0),t.UNKNOWN_57=i.OPCODES[87]=new t(87,"unknown_57",void 0,[],void 0),t.ENABLE=i.OPCODES[88]=new t(88,"enable",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.DISABLE=i.OPCODES[89]=new t(89,"disable",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.WINDOW_MSG=i.OPCODES[90]=new t(90,"window_msg",void 0,[new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.ADD_MSG=i.OPCODES[91]=new t(91,"add_msg",void 0,[new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.MESEND=i.OPCODES[92]=new t(92,"mesend",void 0,[],void 0),t.GETTIME=i.OPCODES[93]=new t(93,"gettime",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.WINEND=i.OPCODES[94]=new t(94,"winend",void 0,[],void 0),t.UNKNOWN_5F=i.OPCODES[95]=new t(95,"unknown_5f",void 0,[],void 0),t.NPC_CRT_V3=i.OPCODES[96]=new t(96,"npc_crt_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.NPC_STOP=i.OPCODES[97]=new t(97,"npc_stop",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.NPC_PLAY=i.OPCODES[98]=new t(98,"npc_play",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.NPC_KILL=i.OPCODES[99]=new t(99,"npc_kill",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.NPC_NONT=i.OPCODES[100]=new t(100,"npc_nont",void 0,[],void 0),t.NPC_TALK=i.OPCODES[101]=new t(101,"npc_talk",void 0,[],void 0),t.NPC_CRP_V3=i.OPCODES[102]=new t(102,"npc_crp_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read),new v(i.TYPE_ANY,void 0,d.Read),new v(i.TYPE_ANY,void 0,d.Read),new v(i.TYPE_I_LABEL,void 0,d.Read),new v(i.TYPE_ANY,void 0,d.Read),new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_67=i.OPCODES[103]=new t(103,"unknown_67",void 0,[],void 0),t.CREATE_PIPE=i.OPCODES[104]=new t(104,"create_pipe",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.P_HPSTAT_V3=i.OPCODES[105]=new t(105,"p_hpstat_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.P_DEAD_V3=i.OPCODES[106]=new t(106,"p_dead_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,"Player slot.",void 0)],_.Pop),t.P_DISABLEWARP=i.OPCODES[107]=new t(107,"p_disablewarp",void 0,[],void 0),t.P_ENABLEWARP=i.OPCODES[108]=new t(108,"p_enablewarp",void 0,[],void 0),t.P_MOVE_V3=i.OPCODES[109]=new t(109,"p_move_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.P_LOOK=i.OPCODES[110]=new t(110,"p_look",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_6F=i.OPCODES[111]=new t(111,"unknown_6f",void 0,[],void 0),t.P_ACTION_DISABLE=i.OPCODES[112]=new t(112,"p_action_disable",void 0,[],void 0),t.P_ACTION_ENABLE=i.OPCODES[113]=new t(113,"p_action_enable",void 0,[],void 0),t.DISABLE_MOVEMENT1=i.OPCODES[114]=new t(114,"disable_movement1",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.ENABLE_MOVEMENT1=i.OPCODES[115]=new t(115,"enable_movement1",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.P_NONCOL=i.OPCODES[116]=new t(116,"p_noncol",void 0,[],void 0),t.P_COL=i.OPCODES[117]=new t(117,"p_col",void 0,[],void 0),t.P_SETPOS=i.OPCODES[118]=new t(118,"p_setpos","Sets a player's position.",[new v(i.TYPE_DWORD,"Player slot.",void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"X coordinate.",d.Read),new v(i.TYPE_DWORD,"Y coordinate.",d.Read),new v(i.TYPE_DWORD,"Z coordinate.",d.Read),new v(i.TYPE_DWORD,"Y-axis rotation.",d.Read)]},void 0,void 0)],_.Pop),t.P_RETURN_GUILD=i.OPCODES[119]=new t(119,"p_return_guild",void 0,[],void 0),t.P_TALK_GUILD=i.OPCODES[120]=new t(120,"p_talk_guild",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.NPC_TALK_PL_V3=i.OPCODES[121]=new t(121,"npc_talk_pl_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.NPC_TALK_KILL=i.OPCODES[122]=new t(122,"npc_talk_kill",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.NPC_CRTPK_V3=i.OPCODES[123]=new t(123,"npc_crtpk_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.NPC_CRPPK_V3=i.OPCODES[124]=new t(124,"npc_crppk_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.NPC_CRPTALK_V3=i.OPCODES[125]=new t(125,"npc_crptalk_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.P_LOOK_AT_V1=i.OPCODES[126]=new t(126,"p_look_at_v1",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.NPC_CRP_ID_V3=i.OPCODES[127]=new t(127,"npc_crp_id_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.CAM_QUAKE=i.OPCODES[128]=new t(128,"cam_quake",void 0,[],void 0),t.CAM_ADJ=i.OPCODES[129]=new t(129,"cam_adj",void 0,[],void 0),t.CAM_ZMIN=i.OPCODES[130]=new t(130,"cam_zmin",void 0,[],void 0),t.CAM_ZMOUT=i.OPCODES[131]=new t(131,"cam_zmout",void 0,[],void 0),t.CAM_PAN_V3=i.OPCODES[132]=new t(132,"cam_pan_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.GAME_LEV_SUPER=i.OPCODES[133]=new t(133,"game_lev_super",void 0,[],void 0),t.GAME_LEV_RESET=i.OPCODES[134]=new t(134,"game_lev_reset",void 0,[],void 0),t.POS_PIPE_V3=i.OPCODES[135]=new t(135,"pos_pipe_v3","Create a telepipe at a specific position for the given player slot that takes players back to Pioneer 2 or the Lab.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"X coordinate.",d.Read),new v(i.TYPE_DWORD,"Y coordinate.",d.Read),new v(i.TYPE_DWORD,"Z coordinate.",d.Read),new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.IF_ZONE_CLEAR=i.OPCODES[136]=new t(136,"if_zone_clear",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.CHK_ENE_NUM=i.OPCODES[137]=new t(137,"chk_ene_num","Retrieves the amount of enemies killed during the quest.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNHIDE_OBJ=i.OPCODES[138]=new t(138,"unhide_obj",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.UNHIDE_ENE=i.OPCODES[139]=new t(139,"unhide_ene",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.AT_COORDS_CALL=i.OPCODES[140]=new t(140,"at_coords_call",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_I_LABEL,void 0,d.Read)]},void 0,void 0)],void 0),t.AT_COORDS_TALK=i.OPCODES[141]=new t(141,"at_coords_talk",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_I_LABEL,void 0,d.Read)]},void 0,void 0)],void 0),t.COL_NPCIN=i.OPCODES[142]=new t(142,"col_npcin",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_I_LABEL,void 0,d.Read)]},void 0,void 0)],void 0),t.COL_NPCINR=i.OPCODES[143]=new t(143,"col_npcinr",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.SWITCH_ON=i.OPCODES[144]=new t(144,"switch_on",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SWITCH_OFF=i.OPCODES[145]=new t(145,"switch_off",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.PLAYBGM_EPI=i.OPCODES[146]=new t(146,"playbgm_epi",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SET_MAINWARP=i.OPCODES[147]=new t(147,"set_mainwarp",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SET_OBJ_PARAM=i.OPCODES[148]=new t(148,"set_obj_param","Creates a targetable object.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"X coordinate.",d.Read),new v(i.TYPE_DWORD,"Y coordinate.",d.Read),new v(i.TYPE_DWORD,"Z coordinate.",d.Read),new v(i.TYPE_DWORD,"Collision radius.",d.Read),new v(i.TYPE_I_LABEL,"Function label.",d.Read),new v(i.TYPE_DWORD,"Vertical position of the cursor.",d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},"Object handle.",void 0)],void 0),t.SET_FLOOR_HANDLER=i.OPCODES[149]=new t(149,"set_floor_handler",void 0,[new v(i.TYPE_DWORD,"Floor number.",void 0),new v(i.TYPE_I_LABEL,"Handler function label.",void 0)],_.Pop),t.CLR_FLOOR_HANDLER=i.OPCODES[150]=new t(150,"clr_floor_handler",void 0,[new v(i.TYPE_DWORD,"Floor number.",void 0)],_.Pop),t.COL_PLINAW=i.OPCODES[151]=new t(151,"col_plinaw",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.HUD_HIDE=i.OPCODES[152]=new t(152,"hud_hide",void 0,[],void 0),t.HUD_SHOW=i.OPCODES[153]=new t(153,"hud_show",void 0,[],void 0),t.CINE_ENABLE=i.OPCODES[154]=new t(154,"cine_enable",void 0,[],void 0),t.CINE_DISABLE=i.OPCODES[155]=new t(155,"cine_disable",void 0,[],void 0),t.UNKNOWN_9C=i.OPCODES[156]=new t(156,"unknown_9c",void 0,[],void 0),t.UNKNOWN_9D=i.OPCODES[157]=new t(157,"unknown_9d",void 0,[],void 0),t.UNKNOWN_9E=i.OPCODES[158]=new t(158,"unknown_9e",void 0,[],void 0),t.UNKNOWN_9F=i.OPCODES[159]=new t(159,"unknown_9f",void 0,[],void 0),t.UNKNOWN_A0=i.OPCODES[160]=new t(160,"unknown_a0",void 0,[],void 0),t.SET_QT_FAILURE=i.OPCODES[161]=new t(161,"set_qt_failure",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.SET_QT_SUCCESS=i.OPCODES[162]=new t(162,"set_qt_success",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.CLR_QT_FAILURE=i.OPCODES[163]=new t(163,"clr_qt_failure",void 0,[],void 0),t.CLR_QT_SUCCESS=i.OPCODES[164]=new t(164,"clr_qt_success",void 0,[],void 0),t.SET_QT_CANCEL=i.OPCODES[165]=new t(165,"set_qt_cancel",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.CLR_QT_CANCEL=i.OPCODES[166]=new t(166,"clr_qt_cancel",void 0,[],void 0),t.UNKNOWN_A7=i.OPCODES[167]=new t(167,"unknown_a7",void 0,[],void 0),t.PL_WALK_V3=i.OPCODES[168]=new t(168,"pl_walk_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_A9=i.OPCODES[169]=new t(169,"unknown_a9",void 0,[],void 0),t.UNKNOWN_AA=i.OPCODES[170]=new t(170,"unknown_aa",void 0,[],void 0),t.UNKNOWN_AB=i.OPCODES[171]=new t(171,"unknown_ab",void 0,[],void 0),t.UNKNOWN_AC=i.OPCODES[172]=new t(172,"unknown_ac",void 0,[],void 0),t.UNKNOWN_AD=i.OPCODES[173]=new t(173,"unknown_ad",void 0,[],void 0),t.UNKNOWN_AE=i.OPCODES[174]=new t(174,"unknown_ae",void 0,[],void 0),t.UNKNOWN_AF=i.OPCODES[175]=new t(175,"unknown_af",void 0,[],void 0),t.PL_ADD_MESETA=i.OPCODES[176]=new t(176,"pl_add_meseta",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.THREAD_STG=i.OPCODES[177]=new t(177,"thread_stg",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.DEL_OBJ_PARAM=i.OPCODES[178]=new t(178,"del_obj_param",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},"Object handle.",void 0)],void 0),t.ITEM_CREATE=i.OPCODES[179]=new t(179,"item_create",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.ITEM_CREATE2=i.OPCODES[180]=new t(180,"item_create2",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.ITEM_DELETE=i.OPCODES[181]=new t(181,"item_delete",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.ITEM_DELETE2=i.OPCODES[182]=new t(182,"item_delete2","Deletes an item from the player's inventory.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.ITEM_CHECK=i.OPCODES[183]=new t(183,"item_check",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.SETEVT=i.OPCODES[184]=new t(184,"setevt",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.GET_DIFFLVL=i.OPCODES[185]=new t(185,"get_difflvl","Sets the given register to the current difficulty. 0 For normal, 1 for hard and 2 for both very hard and ultimate.\nUse get_difficulty_level2 if you want to differentiate between very hard and ultimate.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.SET_QT_EXIT=i.OPCODES[186]=new t(186,"set_qt_exit",void 0,[new v(i.TYPE_I_LABEL,void 0,void 0)],void 0),t.CLR_QT_EXIT=i.OPCODES[187]=new t(187,"clr_qt_exit",void 0,[],void 0),t.UNKNOWN_BC=i.OPCODES[188]=new t(188,"unknown_bc",void 0,[],void 0),t.UNKNOWN_BD=i.OPCODES[189]=new t(189,"unknown_bd",void 0,[],void 0),t.UNKNOWN_BE=i.OPCODES[190]=new t(190,"unknown_be",void 0,[],void 0),t.UNKNOWN_BF=i.OPCODES[191]=new t(191,"unknown_bf",void 0,[],void 0),t.PARTICLE_V3=i.OPCODES[192]=new t(192,"particle_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.NPC_TEXT=i.OPCODES[193]=new t(193,"npc_text",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.NPC_CHKWARP=i.OPCODES[194]=new t(194,"npc_chkwarp",void 0,[],void 0),t.PL_PKOFF=i.OPCODES[195]=new t(195,"pl_pkoff",void 0,[],void 0),t.MAP_DESIGNATE=i.OPCODES[196]=new t(196,"map_designate",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.MASTERKEY_ON=i.OPCODES[197]=new t(197,"masterkey_on",void 0,[],void 0),t.MASTERKEY_OFF=i.OPCODES[198]=new t(198,"masterkey_off",void 0,[],void 0),t.WINDOW_TIME=i.OPCODES[199]=new t(199,"window_time",void 0,[],void 0),t.WINEND_TIME=i.OPCODES[200]=new t(200,"winend_time",void 0,[],void 0),t.WINSET_TIME=i.OPCODES[201]=new t(201,"winset_time",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.GETMTIME=i.OPCODES[202]=new t(202,"getmtime",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.SET_QUEST_BOARD_HANDLER=i.OPCODES[203]=new t(203,"set_quest_board_handler",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.CLEAR_QUEST_BOARD_HANDLER=i.OPCODES[204]=new t(204,"clear_quest_board_handler",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.PARTICLE_ID_V3=i.OPCODES[205]=new t(205,"particle_id_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.NPC_CRPTALK_ID_V3=i.OPCODES[206]=new t(206,"npc_crptalk_id_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.NPC_LANG_CLEAN=i.OPCODES[207]=new t(207,"npc_lang_clean",void 0,[],void 0),t.PL_PKON=i.OPCODES[208]=new t(208,"pl_pkon",void 0,[],void 0),t.PL_CHK_ITEM2=i.OPCODES[209]=new t(209,"pl_chk_item2",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.ENABLE_MAINMENU=i.OPCODES[210]=new t(210,"enable_mainmenu",void 0,[],void 0),t.DISABLE_MAINMENU=i.OPCODES[211]=new t(211,"disable_mainmenu",void 0,[],void 0),t.START_BATTLEBGM=i.OPCODES[212]=new t(212,"start_battlebgm",void 0,[],void 0),t.END_BATTLEBGM=i.OPCODES[213]=new t(213,"end_battlebgm",void 0,[],void 0),t.DISP_MSG_QB=i.OPCODES[214]=new t(214,"disp_msg_qb",void 0,[new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.CLOSE_MSG_QB=i.OPCODES[215]=new t(215,"close_msg_qb",void 0,[],void 0),t.SET_EVENTFLAG_V3=i.OPCODES[216]=new t(216,"set_eventflag_v3",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SYNC_LETI=i.OPCODES[217]=new t(217,"sync_leti",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.SET_RETURNHUNTER=i.OPCODES[218]=new t(218,"set_returnhunter",void 0,[],void 0),t.SET_RETURNCITY=i.OPCODES[219]=new t(219,"set_returncity",void 0,[],void 0),t.LOAD_PVR=i.OPCODES[220]=new t(220,"load_pvr",void 0,[],void 0),t.LOAD_MIDI=i.OPCODES[221]=new t(221,"load_midi",void 0,[],void 0),t.UNKNOWN_DE=i.OPCODES[222]=new t(222,"unknown_de",void 0,[],void 0),t.NPC_PARAM_V3=i.OPCODES[223]=new t(223,"npc_param_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.PAD_DRAGON=i.OPCODES[224]=new t(224,"pad_dragon",void 0,[],void 0),t.CLEAR_MAINWARP=i.OPCODES[225]=new t(225,"clear_mainwarp",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.PCAM_PARAM_V3=i.OPCODES[226]=new t(226,"pcam_param_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.START_SETEVT_V3=i.OPCODES[227]=new t(227,"start_setevt_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.WARP_ON=i.OPCODES[228]=new t(228,"warp_on",void 0,[],void 0),t.WARP_OFF=i.OPCODES[229]=new t(229,"warp_off",void 0,[],void 0),t.GET_SLOTNUMBER=i.OPCODES[230]=new t(230,"get_slotnumber",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_SERVERNUMBER=i.OPCODES[231]=new t(231,"get_servernumber",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.SET_EVENTFLAG2=i.OPCODES[232]=new t(232,"set_eventflag2",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],_.Pop),t.RES=i.OPCODES[233]=new t(233,"res",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_EA=i.OPCODES[234]=new t(234,"unknown_ea",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.ENABLE_BGMCTRL=i.OPCODES[235]=new t(235,"enable_bgmctrl",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SW_SEND=i.OPCODES[236]=new t(236,"sw_send",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.CREATE_BGMCTRL=i.OPCODES[237]=new t(237,"create_bgmctrl",void 0,[],void 0),t.PL_ADD_MESETA2=i.OPCODES[238]=new t(238,"pl_add_meseta2",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SYNC_REGISTER=i.OPCODES[239]=new t(239,"sync_register",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SEND_REGWORK=i.OPCODES[240]=new t(240,"send_regwork",void 0,[],void 0),t.LETI_FIXED_CAMERA_V3=i.OPCODES[241]=new t(241,"leti_fixed_camera_v3",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.DEFAULT_CAMERA_POS1=i.OPCODES[242]=new t(242,"default_camera_pos1",void 0,[],void 0),t.UNKNOWN_F3=i.OPCODES[243]=new t(243,"unknown_f3",void 0,[],void 0),t.UNKNOWN_F4=i.OPCODES[244]=new t(244,"unknown_f4",void 0,[],void 0),t.UNKNOWN_F5=i.OPCODES[245]=new t(245,"unknown_f5",void 0,[],void 0),t.UNKNOWN_F6=i.OPCODES[246]=new t(246,"unknown_f6",void 0,[],void 0),t.UNKNOWN_F7=i.OPCODES[247]=new t(247,"unknown_f7",void 0,[],void 0),t.UNKNOWN_F8=i.OPCODES[248]=new t(248,"unknown_f8",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F9=i.OPCODES[249]=new t(249,"unknown_f9",void 0,[],void 0),t.GET_GC_NUMBER=i.OPCODES[250]=new t(250,"get_gc_number",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_FB=i.OPCODES[251]=new t(251,"unknown_fb",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.UNKNOWN_FC=i.OPCODES[252]=new t(252,"unknown_fc",void 0,[],void 0),t.UNKNOWN_FD=i.OPCODES[253]=new t(253,"unknown_fd",void 0,[],void 0),t.UNKNOWN_FE=i.OPCODES[254]=new t(254,"unknown_fe",void 0,[],void 0),t.UNKNOWN_FF=i.OPCODES[255]=new t(255,"unknown_ff",void 0,[],void 0),t.UNKNOWN_F800=i.OPCODES[63488]=new t(63488,"unknown_f800",void 0,[],void 0),t.SET_CHAT_CALLBACK=i.OPCODES[63489]=new t(63489,"set_chat_callback",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.UNKNOWN_F802=i.OPCODES[63490]=new t(63490,"unknown_f802",void 0,[],void 0),t.UNKNOWN_F803=i.OPCODES[63491]=new t(63491,"unknown_f803",void 0,[],void 0),t.UNKNOWN_F804=i.OPCODES[63492]=new t(63492,"unknown_f804",void 0,[],void 0),t.UNKNOWN_F805=i.OPCODES[63493]=new t(63493,"unknown_f805",void 0,[],void 0),t.UNKNOWN_F806=i.OPCODES[63494]=new t(63494,"unknown_f806",void 0,[],void 0),t.UNKNOWN_F807=i.OPCODES[63495]=new t(63495,"unknown_f807",void 0,[],void 0),t.GET_DIFFICULTY_LEVEL2=i.OPCODES[63496]=new t(63496,"get_difficulty_level2","Sets the given register to the current difficulty. 0 For normal, 1 for hard, 2 for very hard and 3 for ultimate.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_NUMBER_OF_PLAYER1=i.OPCODES[63497]=new t(63497,"get_number_of_player1","Set the given register to the current number of players. Either 1, 2, 3 or 4.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_COORD_OF_PLAYER=i.OPCODES[63498]=new t(63498,"get_coord_of_player","Retrieves a player's position.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"X coordinate.",d.Write),new v(i.TYPE_DWORD,"Y coordinate.",d.Write),new v(i.TYPE_DWORD,"Z coordinate.",d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.ENABLE_MAP=i.OPCODES[63499]=new t(63499,"enable_map",void 0,[],void 0),t.DISABLE_MAP=i.OPCODES[63500]=new t(63500,"disable_map",void 0,[],void 0),t.MAP_DESIGNATE_EX=i.OPCODES[63501]=new t(63501,"map_designate_ex",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F80E=i.OPCODES[63502]=new t(63502,"unknown_f80e",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F80F=i.OPCODES[63503]=new t(63503,"unknown_f80f",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.BA_INITIAL_FLOOR=i.OPCODES[63504]=new t(63504,"ba_initial_floor",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SET_BA_RULES=i.OPCODES[63505]=new t(63505,"set_ba_rules",void 0,[],void 0),t.UNKNOWN_F812=i.OPCODES[63506]=new t(63506,"unknown_f812",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F813=i.OPCODES[63507]=new t(63507,"unknown_f813",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F814=i.OPCODES[63508]=new t(63508,"unknown_f814",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F815=i.OPCODES[63509]=new t(63509,"unknown_f815",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F816=i.OPCODES[63510]=new t(63510,"unknown_f816",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F817=i.OPCODES[63511]=new t(63511,"unknown_f817",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F818=i.OPCODES[63512]=new t(63512,"unknown_f818",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F819=i.OPCODES[63513]=new t(63513,"unknown_f819",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F81A=i.OPCODES[63514]=new t(63514,"unknown_f81a",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F81B=i.OPCODES[63515]=new t(63515,"unknown_f81b",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.BA_DISP_MSG=i.OPCODES[63516]=new t(63516,"ba_disp_msg",void 0,[new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.DEATH_LVL_UP=i.OPCODES[63517]=new t(63517,"death_lvl_up",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.DEATH_TECH_LVL_UP=i.OPCODES[63518]=new t(63518,"death_tech_lvl_up",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F81F=i.OPCODES[63519]=new t(63519,"unknown_f81f",void 0,[],void 0),t.CMODE_STAGE=i.OPCODES[63520]=new t(63520,"cmode_stage",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F821=i.OPCODES[63521]=new t(63521,"unknown_f821",void 0,[],void 0),t.UNKNOWN_F822=i.OPCODES[63522]=new t(63522,"unknown_f822",void 0,[],void 0),t.UNKNOWN_F823=i.OPCODES[63523]=new t(63523,"unknown_f823",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F824=i.OPCODES[63524]=new t(63524,"unknown_f824",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.EXP_MULTIPLICATION=i.OPCODES[63525]=new t(63525,"exp_multiplication",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.EXP_DIVISION=i.OPCODES[63526]=new t(63526,"exp_division",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_USER_IS_DEAD=i.OPCODES[63527]=new t(63527,"get_user_is_dead",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.GO_FLOOR=i.OPCODES[63528]=new t(63528,"go_floor","Sends a player to the given floor.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Floor ID.",d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F829=i.OPCODES[63529]=new t(63529,"unknown_f829",void 0,[],void 0),t.UNKNOWN_F82A=i.OPCODES[63530]=new t(63530,"unknown_f82a",void 0,[],void 0),t.UNLOCK_DOOR2=i.OPCODES[63531]=new t(63531,"unlock_door2",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.LOCK_DOOR2=i.OPCODES[63532]=new t(63532,"lock_door2",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.IF_SWITCH_NOT_PRESSED=i.OPCODES[63533]=new t(63533,"if_switch_not_pressed",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.IF_SWITCH_PRESSED=i.OPCODES[63534]=new t(63534,"if_switch_pressed",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Floor ID.",d.Read),new v(i.TYPE_DWORD,"Switch ID.",d.Read),new v(i.TYPE_DWORD,"Will be set to 1 if the switch is pressed, 0 otherwise.",d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F82F=i.OPCODES[63535]=new t(63535,"unknown_f82f",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.CONTROL_DRAGON=i.OPCODES[63536]=new t(63536,"control_dragon",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.RELEASE_DRAGON=i.OPCODES[63537]=new t(63537,"release_dragon",void 0,[],void 0),t.UNKNOWN_F832=i.OPCODES[63538]=new t(63538,"unknown_f832",void 0,[],void 0),t.UNKNOWN_F833=i.OPCODES[63539]=new t(63539,"unknown_f833",void 0,[],void 0),t.UNKNOWN_F834=i.OPCODES[63540]=new t(63540,"unknown_f834",void 0,[],void 0),t.UNKNOWN_F835=i.OPCODES[63541]=new t(63541,"unknown_f835",void 0,[],void 0),t.UNKNOWN_F836=i.OPCODES[63542]=new t(63542,"unknown_f836",void 0,[],void 0),t.UNKNOWN_F837=i.OPCODES[63543]=new t(63543,"unknown_f837",void 0,[],void 0),t.SHRINK=i.OPCODES[63544]=new t(63544,"shrink",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.UNSHRINK=i.OPCODES[63545]=new t(63545,"unshrink",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F83A=i.OPCODES[63546]=new t(63546,"unknown_f83a",void 0,[],void 0),t.UNKNOWN_F83B=i.OPCODES[63547]=new t(63547,"unknown_f83b",void 0,[],void 0),t.DISPLAY_CLOCK2=i.OPCODES[63548]=new t(63548,"display_clock2",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F83D=i.OPCODES[63549]=new t(63549,"unknown_f83d",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.DELETE_AREA_TITLE=i.OPCODES[63550]=new t(63550,"delete_area_title",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F83F=i.OPCODES[63551]=new t(63551,"unknown_f83f",void 0,[],void 0),t.LOAD_NPC_DATA=i.OPCODES[63552]=new t(63552,"load_npc_data",void 0,[],void 0),t.GET_NPC_DATA=i.OPCODES[63553]=new t(63553,"get_npc_data",void 0,[new v(i.TYPE_D_LABEL,void 0,void 0)],void 0),t.UNKNOWN_F842=i.OPCODES[63554]=new t(63554,"unknown_f842",void 0,[],void 0),t.UNKNOWN_F843=i.OPCODES[63555]=new t(63555,"unknown_f843",void 0,[],void 0),t.UNKNOWN_F844=i.OPCODES[63556]=new t(63556,"unknown_f844",void 0,[],void 0),t.UNKNOWN_F845=i.OPCODES[63557]=new t(63557,"unknown_f845",void 0,[],void 0),t.UNKNOWN_F846=i.OPCODES[63558]=new t(63558,"unknown_f846",void 0,[],void 0),t.UNKNOWN_F847=i.OPCODES[63559]=new t(63559,"unknown_f847",void 0,[],void 0),t.GIVE_DAMAGE_SCORE=i.OPCODES[63560]=new t(63560,"give_damage_score",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.TAKE_DAMAGE_SCORE=i.OPCODES[63561]=new t(63561,"take_damage_score",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNK_SCORE_F84A=i.OPCODES[63562]=new t(63562,"unk_score_f84a",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNK_SCORE_F84B=i.OPCODES[63563]=new t(63563,"unk_score_f84b",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.KILL_SCORE=i.OPCODES[63564]=new t(63564,"kill_score",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.DEATH_SCORE=i.OPCODES[63565]=new t(63565,"death_score",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNK_SCORE_F84E=i.OPCODES[63566]=new t(63566,"unk_score_f84e",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.ENEMY_DEATH_SCORE=i.OPCODES[63567]=new t(63567,"enemy_death_score",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.MESETA_SCORE=i.OPCODES[63568]=new t(63568,"meseta_score",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F851=i.OPCODES[63569]=new t(63569,"unknown_f851",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F852=i.OPCODES[63570]=new t(63570,"unknown_f852",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.REVERSE_WARPS=i.OPCODES[63571]=new t(63571,"reverse_warps",void 0,[],void 0),t.UNREVERSE_WARPS=i.OPCODES[63572]=new t(63572,"unreverse_warps",void 0,[],void 0),t.SET_ULT_MAP=i.OPCODES[63573]=new t(63573,"set_ult_map",void 0,[],void 0),t.UNSET_ULT_MAP=i.OPCODES[63574]=new t(63574,"unset_ult_map",void 0,[],void 0),t.SET_AREA_TITLE=i.OPCODES[63575]=new t(63575,"set_area_title",void 0,[new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.UNKNOWN_F858=i.OPCODES[63576]=new t(63576,"unknown_f858",void 0,[],void 0),t.UNKNOWN_F859=i.OPCODES[63577]=new t(63577,"unknown_f859",void 0,[],void 0),t.EQUIP_ITEM=i.OPCODES[63578]=new t(63578,"equip_item",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.UNEQUIP_ITEM=i.OPCODES[63579]=new t(63579,"unequip_item",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F85C=i.OPCODES[63580]=new t(63580,"unknown_f85c",void 0,[],void 0),t.UNKNOWN_F85D=i.OPCODES[63581]=new t(63581,"unknown_f85d",void 0,[],void 0),t.UNKNOWN_F85E=i.OPCODES[63582]=new t(63582,"unknown_f85e",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F85F=i.OPCODES[63583]=new t(63583,"unknown_f85f",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F860=i.OPCODES[63584]=new t(63584,"unknown_f860",void 0,[],void 0),t.UNKNOWN_F861=i.OPCODES[63585]=new t(63585,"unknown_f861",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F862=i.OPCODES[63586]=new t(63586,"unknown_f862",void 0,[],void 0),t.UNKNOWN_F863=i.OPCODES[63587]=new t(63587,"unknown_f863",void 0,[],void 0),t.CMODE_RANK=i.OPCODES[63588]=new t(63588,"cmode_rank",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.AWARD_ITEM_NAME=i.OPCODES[63589]=new t(63589,"award_item_name",void 0,[],void 0),t.AWARD_ITEM_SELECT=i.OPCODES[63590]=new t(63590,"award_item_select",void 0,[],void 0),t.AWARD_ITEM_GIVE_TO=i.OPCODES[63591]=new t(63591,"award_item_give_to",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F868=i.OPCODES[63592]=new t(63592,"unknown_f868",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F869=i.OPCODES[63593]=new t(63593,"unknown_f869",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.ITEM_CREATE_CMODE=i.OPCODES[63594]=new t(63594,"item_create_cmode",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F86B=i.OPCODES[63595]=new t(63595,"unknown_f86b",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.AWARD_ITEM_OK=i.OPCODES[63596]=new t(63596,"award_item_ok",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F86D=i.OPCODES[63597]=new t(63597,"unknown_f86d",void 0,[],void 0),t.UNKNOWN_F86E=i.OPCODES[63598]=new t(63598,"unknown_f86e",void 0,[],void 0),t.BA_SET_LIVES=i.OPCODES[63599]=new t(63599,"ba_set_lives",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.BA_SET_TECH_LVL=i.OPCODES[63600]=new t(63600,"ba_set_tech_lvl",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.BA_SET_LVL=i.OPCODES[63601]=new t(63601,"ba_set_lvl",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.BA_SET_TIME_LIMIT=i.OPCODES[63602]=new t(63602,"ba_set_time_limit",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.BOSS_IS_DEAD=i.OPCODES[63603]=new t(63603,"boss_is_dead",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F874=i.OPCODES[63604]=new t(63604,"unknown_f874",void 0,[],void 0),t.UNKNOWN_F875=i.OPCODES[63605]=new t(63605,"unknown_f875",void 0,[],void 0),t.UNKNOWN_F876=i.OPCODES[63606]=new t(63606,"unknown_f876",void 0,[],void 0),t.ENABLE_TECHS=i.OPCODES[63607]=new t(63607,"enable_techs","Enables technique use for the given player.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.DISABLE_TECHS=i.OPCODES[63608]=new t(63608,"disable_techs","Disables technique use for the given player.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.GET_GENDER=i.OPCODES[63609]=new t(63609,"get_gender","Retrieves the player's gender. 0 If male, 1 if female.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player gender.",d.Write)]},void 0,void 0)],void 0),t.GET_CHARA_CLASS=i.OPCODES[63610]=new t(63610,"get_chara_class","Retrieves the player's race and character class.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player race. 0 If human, 1 if newman, 2 if cast.",d.Write),new v(i.TYPE_DWORD,"Player class. 0 If hunter, 1 if ranger, 2 if force.",d.Write)]},void 0,void 0)],void 0),t.TAKE_SLOT_MESETA=i.OPCODES[63611]=new t(63611,"take_slot_meseta","Takes an amount of meseta from a player's inventory.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read),new v(i.TYPE_DWORD,"Amount of meseta to take.",d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Will be set to 1 if the meseta was taken, 0 otherwise.",d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F87C=i.OPCODES[63612]=new t(63612,"unknown_f87c",void 0,[],void 0),t.UNKNOWN_F87D=i.OPCODES[63613]=new t(63613,"unknown_f87d",void 0,[],void 0),t.UNKNOWN_F87E=i.OPCODES[63614]=new t(63614,"unknown_f87e",void 0,[],void 0),t.READ_GUILDCARD_FLAG=i.OPCODES[63615]=new t(63615,"read_guildcard_flag",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F880=i.OPCODES[63616]=new t(63616,"unknown_f880",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_PL_NAME=i.OPCODES[63617]=new t(63617,"get_pl_name","Sets the value of <pl_name> to the given player's name.",[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F882=i.OPCODES[63618]=new t(63618,"unknown_f882",void 0,[],void 0),t.UNKNOWN_F883=i.OPCODES[63619]=new t(63619,"unknown_f883",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F884=i.OPCODES[63620]=new t(63620,"unknown_f884",void 0,[],void 0),t.UNKNOWN_F885=i.OPCODES[63621]=new t(63621,"unknown_f885",void 0,[],void 0),t.UNKNOWN_F886=i.OPCODES[63622]=new t(63622,"unknown_f886",void 0,[],void 0),t.UNKNOWN_F887=i.OPCODES[63623]=new t(63623,"unknown_f887",void 0,[],void 0),t.UNKNOWN_F888=i.OPCODES[63624]=new t(63624,"unknown_f888",void 0,[],void 0),t.UNKNOWN_F889=i.OPCODES[63625]=new t(63625,"unknown_f889",void 0,[],void 0),t.GET_PLAYER_STATUS=i.OPCODES[63626]=new t(63626,"get_player_status",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.SEND_MAIL=i.OPCODES[63627]=new t(63627,"send_mail",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.ONLINE_CHECK=i.OPCODES[63628]=new t(63628,"online_check",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.CHL_SET_TIMERECORD=i.OPCODES[63629]=new t(63629,"chl_set_timerecord",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.CHL_GET_TIMERECORD=i.OPCODES[63630]=new t(63630,"chl_get_timerecord",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F88F=i.OPCODES[63631]=new t(63631,"unknown_f88f",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F890=i.OPCODES[63632]=new t(63632,"unknown_f890",void 0,[],void 0),t.LOAD_ENEMY_DATA=i.OPCODES[63633]=new t(63633,"load_enemy_data",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.GET_PHYSICAL_DATA=i.OPCODES[63634]=new t(63634,"get_physical_data",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.GET_ATTACK_DATA=i.OPCODES[63635]=new t(63635,"get_attack_data",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.GET_RESIST_DATA=i.OPCODES[63636]=new t(63636,"get_resist_data",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.GET_MOVEMENT_DATA=i.OPCODES[63637]=new t(63637,"get_movement_data",void 0,[new v(i.TYPE_WORD,void 0,void 0)],void 0),t.UNKNOWN_F896=i.OPCODES[63638]=new t(63638,"unknown_f896",void 0,[],void 0),t.UNKNOWN_F897=i.OPCODES[63639]=new t(63639,"unknown_f897",void 0,[],void 0),t.SHIFT_LEFT=i.OPCODES[63640]=new t(63640,"shift_left",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.SHIFT_RIGHT=i.OPCODES[63641]=new t(63641,"shift_right",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.GET_RANDOM=i.OPCODES[63642]=new t(63642,"get_random",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.RESET_MAP=i.OPCODES[63643]=new t(63643,"reset_map","Sets all registers to 0 and resets the quest.",[],void 0),t.DISP_CHL_RETRY_MENU=i.OPCODES[63644]=new t(63644,"disp_chl_retry_menu",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.CHL_REVERSER=i.OPCODES[63645]=new t(63645,"chl_reverser",void 0,[],void 0),t.UNKNOWN_F89E=i.OPCODES[63646]=new t(63646,"unknown_f89e",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F89F=i.OPCODES[63647]=new t(63647,"unknown_f89f",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F8A0=i.OPCODES[63648]=new t(63648,"unknown_f8a0",void 0,[],void 0),t.UNKNOWN_F8A1=i.OPCODES[63649]=new t(63649,"unknown_f8a1",void 0,[],void 0),t.UNKNOWN_F8A2=i.OPCODES[63650]=new t(63650,"unknown_f8a2",void 0,[],void 0),t.UNKNOWN_F8A3=i.OPCODES[63651]=new t(63651,"unknown_f8a3",void 0,[],void 0),t.UNKNOWN_F8A4=i.OPCODES[63652]=new t(63652,"unknown_f8a4",void 0,[],void 0),t.UNKNOWN_F8A5=i.OPCODES[63653]=new t(63653,"unknown_f8a5",void 0,[],void 0),t.UNKNOWN_F8A6=i.OPCODES[63654]=new t(63654,"unknown_f8a6",void 0,[],void 0),t.UNKNOWN_F8A7=i.OPCODES[63655]=new t(63655,"unknown_f8a7",void 0,[],void 0),t.UNKNOWN_F8A8=i.OPCODES[63656]=new t(63656,"unknown_f8a8",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F8A9=i.OPCODES[63657]=new t(63657,"unknown_f8a9",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F8AA=i.OPCODES[63658]=new t(63658,"unknown_f8aa",void 0,[],void 0),t.UNKNOWN_F8AB=i.OPCODES[63659]=new t(63659,"unknown_f8ab",void 0,[],void 0),t.UNKNOWN_F8AC=i.OPCODES[63660]=new t(63660,"unknown_f8ac",void 0,[],void 0),t.GET_NUMBER_OF_PLAYER2=i.OPCODES[63661]=new t(63661,"get_number_of_player2",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F8AE=i.OPCODES[63662]=new t(63662,"unknown_f8ae",void 0,[],void 0),t.UNKNOWN_F8AF=i.OPCODES[63663]=new t(63663,"unknown_f8af",void 0,[],void 0),t.UNKNOWN_F8B0=i.OPCODES[63664]=new t(63664,"unknown_f8b0",void 0,[],void 0),t.UNKNOWN_F8B1=i.OPCODES[63665]=new t(63665,"unknown_f8b1",void 0,[],void 0),t.UNKNOWN_F8B2=i.OPCODES[63666]=new t(63666,"unknown_f8b2",void 0,[],void 0),t.UNKNOWN_F8B3=i.OPCODES[63667]=new t(63667,"unknown_f8b3",void 0,[],void 0),t.UNKNOWN_F8B4=i.OPCODES[63668]=new t(63668,"unknown_f8b4",void 0,[],void 0),t.UNKNOWN_F8B5=i.OPCODES[63669]=new t(63669,"unknown_f8b5",void 0,[],void 0),t.UNKNOWN_F8B6=i.OPCODES[63670]=new t(63670,"unknown_f8b6",void 0,[],void 0),t.UNKNOWN_F8B7=i.OPCODES[63671]=new t(63671,"unknown_f8b7",void 0,[],void 0),t.UNKNOWN_F8B8=i.OPCODES[63672]=new t(63672,"unknown_f8b8",void 0,[],void 0),t.CHL_RECOVERY=i.OPCODES[63673]=new t(63673,"chl_recovery",void 0,[],void 0),t.UNKNOWN_F8BA=i.OPCODES[63674]=new t(63674,"unknown_f8ba",void 0,[],void 0),t.UNKNOWN_F8BB=i.OPCODES[63675]=new t(63675,"unknown_f8bb",void 0,[],void 0),t.SET_EPISODE=i.OPCODES[63676]=new t(63676,"set_episode",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],void 0),t.UNKNOWN_F8BD=i.OPCODES[63677]=new t(63677,"unknown_f8bd",void 0,[],void 0),t.UNKNOWN_F8BE=i.OPCODES[63678]=new t(63678,"unknown_f8be",void 0,[],void 0),t.UNKNOWN_F8BF=i.OPCODES[63679]=new t(63679,"unknown_f8bf",void 0,[],void 0),t.FILE_DL_REQ=i.OPCODES[63680]=new t(63680,"file_dl_req",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.GET_DL_STATUS=i.OPCODES[63681]=new t(63681,"get_dl_status",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.GBA_UNKNOWN4=i.OPCODES[63682]=new t(63682,"gba_unknown4",void 0,[],void 0),t.GET_GBA_STATE=i.OPCODES[63683]=new t(63683,"get_gba_state",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F8C4=i.OPCODES[63684]=new t(63684,"unknown_f8c4",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F8C5=i.OPCODES[63685]=new t(63685,"unknown_f8c5",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.QEXIT=i.OPCODES[63686]=new t(63686,"qexit",void 0,[],void 0),t.USE_ANIMATION=i.OPCODES[63687]=new t(63687,"use_animation",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Animation ID.",d.Read),new v(i.TYPE_DWORD,"Animation duration in number of frames.",d.Read)]},void 0,void 0)],void 0),t.STOP_ANIMATION=i.OPCODES[63688]=new t(63688,"stop_animation",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.RUN_TO_COORD=i.OPCODES[63689]=new t(63689,"run_to_coord",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_INVINCIBLE=i.OPCODES[63690]=new t(63690,"set_slot_invincible",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F8CB=i.OPCODES[63691]=new t(63691,"unknown_f8cb",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_POISON=i.OPCODES[63692]=new t(63692,"set_slot_poison",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_PARALYZE=i.OPCODES[63693]=new t(63693,"set_slot_paralyze",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_SHOCK=i.OPCODES[63694]=new t(63694,"set_slot_shock",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_FREEZE=i.OPCODES[63695]=new t(63695,"set_slot_freeze",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_SLOW=i.OPCODES[63696]=new t(63696,"set_slot_slow",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_CONFUSE=i.OPCODES[63697]=new t(63697,"set_slot_confuse",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_SHIFTA=i.OPCODES[63698]=new t(63698,"set_slot_shifta",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_DEBAND=i.OPCODES[63699]=new t(63699,"set_slot_deband",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_JELLEN=i.OPCODES[63700]=new t(63700,"set_slot_jellen",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.SET_SLOT_ZALURE=i.OPCODES[63701]=new t(63701,"set_slot_zalure",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read)]},void 0,void 0)],void 0),t.FLETI_FIXED_CAMERA=i.OPCODES[63702]=new t(63702,"fleti_fixed_camera",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],_.Pop),t.FLETI_LOCKED_CAMERA=i.OPCODES[63703]=new t(63703,"fleti_locked_camera",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],_.Pop),t.DEFAULT_CAMERA_POS2=i.OPCODES[63704]=new t(63704,"default_camera_pos2",void 0,[],void 0),t.SET_MOTION_BLUR=i.OPCODES[63705]=new t(63705,"set_motion_blur",void 0,[],void 0),t.SET_SCREEN_BW=i.OPCODES[63706]=new t(63706,"set_screen_bw",void 0,[],void 0),t.UNKNOWN_F8DB=i.OPCODES[63707]=new t(63707,"unknown_f8db",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_WORD,void 0,void 0)],_.Pop),t.NPC_ACTION_STRING=i.OPCODES[63708]=new t(63708,"npc_action_string",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_S_LABEL,void 0,void 0)],void 0),t.GET_PAD_COND=i.OPCODES[63709]=new t(63709,"get_pad_cond",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_BUTTON_COND=i.OPCODES[63710]=new t(63710,"get_button_cond",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.FREEZE_ENEMIES=i.OPCODES[63711]=new t(63711,"freeze_enemies",void 0,[],void 0),t.UNFREEZE_ENEMIES=i.OPCODES[63712]=new t(63712,"unfreeze_enemies",void 0,[],void 0),t.FREEZE_EVERYTHING=i.OPCODES[63713]=new t(63713,"freeze_everything",void 0,[],void 0),t.UNFREEZE_EVERYTHING=i.OPCODES[63714]=new t(63714,"unfreeze_everything",void 0,[],void 0),t.RESTORE_HP=i.OPCODES[63715]=new t(63715,"restore_hp",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.RESTORE_TP=i.OPCODES[63716]=new t(63716,"restore_tp",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.CLOSE_CHAT_BUBBLE=i.OPCODES[63717]=new t(63717,"close_chat_bubble",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.MOVE_COORDS_OBJECT=i.OPCODES[63718]=new t(63718,"move_coords_object",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.AT_COORDS_CALL_EX=i.OPCODES[63719]=new t(63719,"at_coords_call_ex",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F8E8=i.OPCODES[63720]=new t(63720,"unknown_f8e8",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F8E9=i.OPCODES[63721]=new t(63721,"unknown_f8e9",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F8EA=i.OPCODES[63722]=new t(63722,"unknown_f8ea",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F8EB=i.OPCODES[63723]=new t(63723,"unknown_f8eb",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.UNKNOWN_F8EC=i.OPCODES[63724]=new t(63724,"unknown_f8ec",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.ANIMATION_CHECK=i.OPCODES[63725]=new t(63725,"animation_check",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.CALL_IMAGE_DATA=i.OPCODES[63726]=new t(63726,"call_image_data",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_WORD,void 0,void 0)],_.Pop),t.UNKNOWN_F8EF=i.OPCODES[63727]=new t(63727,"unknown_f8ef",void 0,[],void 0),t.TURN_OFF_BGM_P2=i.OPCODES[63728]=new t(63728,"turn_off_bgm_p2",void 0,[],void 0),t.TURN_ON_BGM_P2=i.OPCODES[63729]=new t(63729,"turn_on_bgm_p2",void 0,[],void 0),t.LOAD_UNK_DATA=i.OPCODES[63730]=new t(63730,"load_unk_data",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_D_LABEL,void 0,void 0)],_.Pop),t.PARTICLE2=i.OPCODES[63731]=new t(63731,"particle2",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0)],_.Pop),t.UNKNOWN_F8F4=i.OPCODES[63732]=new t(63732,"unknown_f8f4",void 0,[],void 0),t.UNKNOWN_F8F5=i.OPCODES[63733]=new t(63733,"unknown_f8f5",void 0,[],void 0),t.UNKNOWN_F8F6=i.OPCODES[63734]=new t(63734,"unknown_f8f6",void 0,[],void 0),t.UNKNOWN_F8F7=i.OPCODES[63735]=new t(63735,"unknown_f8f7",void 0,[],void 0),t.UNKNOWN_F8F8=i.OPCODES[63736]=new t(63736,"unknown_f8f8",void 0,[],void 0),t.UNKNOWN_F8F9=i.OPCODES[63737]=new t(63737,"unknown_f8f9",void 0,[],void 0),t.UNKNOWN_F8FA=i.OPCODES[63738]=new t(63738,"unknown_f8fa",void 0,[],void 0),t.UNKNOWN_F8FB=i.OPCODES[63739]=new t(63739,"unknown_f8fb",void 0,[],void 0),t.UNKNOWN_F8FC=i.OPCODES[63740]=new t(63740,"unknown_f8fc",void 0,[],void 0),t.UNKNOWN_F8FD=i.OPCODES[63741]=new t(63741,"unknown_f8fd",void 0,[],void 0),t.UNKNOWN_F8FE=i.OPCODES[63742]=new t(63742,"unknown_f8fe",void 0,[],void 0),t.UNKNOWN_F8FF=i.OPCODES[63743]=new t(63743,"unknown_f8ff",void 0,[],void 0),t.UNKNOWN_F900=i.OPCODES[63744]=new t(63744,"unknown_f900",void 0,[],void 0),t.DEC2FLOAT=i.OPCODES[63745]=new t(63745,"dec2float",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0)],void 0),t.FLOAT2DEC=i.OPCODES[63746]=new t(63746,"float2dec",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Read)]},void 0,void 0)],void 0),t.FLET=i.OPCODES[63747]=new t(63747,"flet",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Read)]},void 0,void 0)],void 0),t.FLETI=i.OPCODES[63748]=new t(63748,"fleti",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0)],void 0),t.UNKNOWN_F905=i.OPCODES[63749]=new t(63749,"unknown_f905",void 0,[],void 0),t.UNKNOWN_F906=i.OPCODES[63750]=new t(63750,"unknown_f906",void 0,[],void 0),t.UNKNOWN_F907=i.OPCODES[63751]=new t(63751,"unknown_f907",void 0,[],void 0),t.FADD=i.OPCODES[63752]=new t(63752,"fadd",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Read)]},void 0,void 0)],void 0),t.FADDI=i.OPCODES[63753]=new t(63753,"faddi",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0)],void 0),t.FSUB=i.OPCODES[63754]=new t(63754,"fsub",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Read)]},void 0,void 0)],void 0),t.FSUBI=i.OPCODES[63755]=new t(63755,"fsubi",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0)],void 0),t.FMUL=i.OPCODES[63756]=new t(63756,"fmul",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Read)]},void 0,void 0)],void 0),t.FMULI=i.OPCODES[63757]=new t(63757,"fmuli",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0)],void 0),t.FDIV=i.OPCODES[63758]=new t(63758,"fdiv",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Read)]},void 0,void 0)],void 0),t.FDIVI=i.OPCODES[63759]=new t(63759,"fdivi",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_FLOAT,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0)],void 0),t.GET_UNKNOWN_COUNT=i.OPCODES[63760]=new t(63760,"get_unknown_count",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.GET_STACKABLE_ITEM_COUNT=i.OPCODES[63761]=new t(63761,"get_stackable_item_count",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Player slot.",d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read),new v(i.TYPE_DWORD,void 0,d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.FREEZE_AND_HIDE_EQUIP=i.OPCODES[63762]=new t(63762,"freeze_and_hide_equip",void 0,[],void 0),t.THAW_AND_SHOW_EQUIP=i.OPCODES[63763]=new t(63763,"thaw_and_show_equip",void 0,[],void 0),t.SET_PALETTEX_CALLBACK=i.OPCODES[63764]=new t(63764,"set_palettex_callback",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.ACTIVATE_PALETTEX=i.OPCODES[63765]=new t(63765,"activate_palettex",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0)],_.Pop),t.ENABLE_PALETTEX=i.OPCODES[63766]=new t(63766,"enable_palettex",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0)],_.Pop),t.RESTORE_PALETTEX=i.OPCODES[63767]=new t(63767,"restore_palettex",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0)],_.Pop),t.DISABLE_PALETTEX=i.OPCODES[63768]=new t(63768,"disable_palettex",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0)],_.Pop),t.GET_PALETTEX_ACTIVATED=i.OPCODES[63769]=new t(63769,"get_palettex_activated",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.GET_UNKNOWN_PALETTEX_STATUS=i.OPCODES[63770]=new t(63770,"get_unknown_palettex_status",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.DISABLE_MOVEMENT2=i.OPCODES[63771]=new t(63771,"disable_movement2",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0)],_.Pop),t.ENABLE_MOVEMENT2=i.OPCODES[63772]=new t(63772,"enable_movement2",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0)],_.Pop),t.GET_TIME_PLAYED=i.OPCODES[63773]=new t(63773,"get_time_played",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_GUILDCARD_TOTAL=i.OPCODES[63774]=new t(63774,"get_guildcard_total",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_SLOT_MESETA=i.OPCODES[63775]=new t(63775,"get_slot_meseta",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_PLAYER_LEVEL=i.OPCODES[63776]=new t(63776,"get_player_level",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.GET_SECTION_ID=i.OPCODES[63777]=new t(63777,"get_section_id",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.GET_PLAYER_HP=i.OPCODES[63778]=new t(63778,"get_player_hp",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,"Maximum HP.",d.Write),new v(i.TYPE_DWORD,"Current HP.",d.Write),new v(i.TYPE_DWORD,"Maximum TP.",d.Write),new v(i.TYPE_DWORD,"Current TP.",d.Write)]},void 0,void 0)],_.Pop),t.GET_FLOOR_NUMBER=i.OPCODES[63779]=new t(63779,"get_floor_number",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.GET_COORD_PLAYER_DETECT=i.OPCODES[63780]=new t(63780,"get_coord_player_detect",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,"Player slot.",d.Read)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Read)]},void 0,void 0)],void 0),t.READ_GLOBAL_FLAG=i.OPCODES[63781]=new t(63781,"read_global_flag",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.WRITE_GLOBAL_FLAG=i.OPCODES[63782]=new t(63782,"write_global_flag",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F927=i.OPCODES[63783]=new t(63783,"unknown_f927",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.FLOOR_PLAYER_DETECT=i.OPCODES[63784]=new t(63784,"floor_player_detect",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write),new v(i.TYPE_DWORD,void 0,d.Write),new v(i.TYPE_DWORD,void 0,d.Write),new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.READ_DISK_FILE=i.OPCODES[63785]=new t(63785,"read_disk_file",void 0,[new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.OPEN_PACK_SELECT=i.OPCODES[63786]=new t(63786,"open_pack_select",void 0,[],void 0),t.ITEM_SELECT=i.OPCODES[63787]=new t(63787,"item_select",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.GET_ITEM_ID=i.OPCODES[63788]=new t(63788,"get_item_id",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.COLOR_CHANGE=i.OPCODES[63789]=new t(63789,"color_change",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SEND_STATISTIC=i.OPCODES[63790]=new t(63790,"send_statistic",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F92F=i.OPCODES[63791]=new t(63791,"unknown_f92f",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.CHAT_BOX=i.OPCODES[63792]=new t(63792,"chat_box",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.CHAT_BUBBLE=i.OPCODES[63793]=new t(63793,"chat_bubble",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.UNKNOWN_F932=i.OPCODES[63794]=new t(63794,"unknown_f932",void 0,[],void 0),t.UNKNOWN_F933=i.OPCODES[63795]=new t(63795,"unknown_f933",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],void 0),t.SCROLL_TEXT=i.OPCODES[63796]=new t(63796,"scroll_text",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.GBA_UNKNOWN1=i.OPCODES[63797]=new t(63797,"gba_unknown1",void 0,[],void 0),t.GBA_UNKNOWN2=i.OPCODES[63798]=new t(63798,"gba_unknown2",void 0,[],void 0),t.GBA_UNKNOWN3=i.OPCODES[63799]=new t(63799,"gba_unknown3",void 0,[],void 0),t.ADD_DAMAGE_TO=i.OPCODES[63800]=new t(63800,"add_damage_to",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.ITEM_DELETE3=i.OPCODES[63801]=new t(63801,"item_delete3",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.GET_ITEM_INFO=i.OPCODES[63802]=new t(63802,"get_item_info",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],_.Pop),t.ITEM_PACKING1=i.OPCODES[63803]=new t(63803,"item_packing1",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.ITEM_PACKING2=i.OPCODES[63804]=new t(63804,"item_packing2",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.GET_LANG_SETTING=i.OPCODES[63805]=new t(63805,"get_lang_setting",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_ANY,void 0,d.Write)]},void 0,void 0)],_.Pop),t.PREPARE_STATISTIC=i.OPCODES[63806]=new t(63806,"prepare_statistic",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.KEYWORD_DETECT=i.OPCODES[63807]=new t(63807,"keyword_detect",void 0,[],void 0),t.KEYWORD=i.OPCODES[63808]=new t(63808,"keyword",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,"Player slot.",void 0),new v(i.TYPE_STRING,void 0,void 0)],_.Pop),t.GET_GUILDCARD_NUM=i.OPCODES[63809]=new t(63809,"get_guildcard_num",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.UNKNOWN_F942=i.OPCODES[63810]=new t(63810,"unknown_f942",void 0,[],void 0),t.UNKNOWN_F943=i.OPCODES[63811]=new t(63811,"unknown_f943",void 0,[],void 0),t.GET_WRAP_STATUS=i.OPCODES[63812]=new t(63812,"get_wrap_status",void 0,[new v(i.TYPE_DWORD,"Player slot.",void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.INITIAL_FLOOR=i.OPCODES[63813]=new t(63813,"initial_floor",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.SIN=i.OPCODES[63814]=new t(63814,"sin",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.COS=i.OPCODES[63815]=new t(63815,"cos",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F948=i.OPCODES[63816]=new t(63816,"unknown_f948",void 0,[],void 0),t.UNKNOWN_F949=i.OPCODES[63817]=new t(63817,"unknown_f949",void 0,[],void 0),t.BOSS_IS_DEAD2=i.OPCODES[63818]=new t(63818,"boss_is_dead2",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F94B=i.OPCODES[63819]=new t(63819,"unknown_f94b",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F94C=i.OPCODES[63820]=new t(63820,"unknown_f94c",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.IS_THERE_CARDBATTLE=i.OPCODES[63821]=new t(63821,"is_there_cardbattle",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.UNKNOWN_F94E=i.OPCODES[63822]=new t(63822,"unknown_f94e",void 0,[],void 0),t.UNKNOWN_F94F=i.OPCODES[63823]=new t(63823,"unknown_f94f",void 0,[],void 0),t.BB_P2_MENU=i.OPCODES[63824]=new t(63824,"bb_p2_menu",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.BB_MAP_DESIGNATE=i.OPCODES[63825]=new t(63825,"bb_map_designate",void 0,[new v(i.TYPE_BYTE,void 0,void 0),new v(i.TYPE_WORD,void 0,void 0),new v(i.TYPE_BYTE,void 0,void 0),new v(i.TYPE_BYTE,void 0,void 0)],void 0),t.BB_GET_NUMBER_IN_PACK=i.OPCODES[63826]=new t(63826,"bb_get_number_in_pack",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],void 0),t.BB_SWAP_ITEM=i.OPCODES[63827]=new t(63827,"bb_swap_item",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.BB_CHECK_WRAP=i.OPCODES[63828]=new t(63828,"bb_check_wrap",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0)],_.Pop),t.BB_EXCHANGE_PD_ITEM=i.OPCODES[63829]=new t(63829,"bb_exchange_pd_item",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.BB_EXCHANGE_PD_SRANK=i.OPCODES[63830]=new t(63830,"bb_exchange_pd_srank",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.BB_EXCHANGE_PD_SPECIAL=i.OPCODES[63831]=new t(63831,"bb_exchange_pd_special",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.BB_EXCHANGE_PD_PERCENT=i.OPCODES[63832]=new t(63832,"bb_exchange_pd_percent",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.UNKNOWN_F959=i.OPCODES[63833]=new t(63833,"unknown_f959",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F95A=i.OPCODES[63834]=new t(63834,"unknown_f95a",void 0,[],void 0),t.UNKNOWN_F95B=i.OPCODES[63835]=new t(63835,"unknown_f95b",void 0,[],void 0),t.BB_EXCHANGE_SLT=i.OPCODES[63836]=new t(63836,"bb_exchange_slt",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.BB_EXCHANGE_PC=i.OPCODES[63837]=new t(63837,"bb_exchange_pc",void 0,[],void 0),t.BB_BOX_CREATE_BP=i.OPCODES[63838]=new t(63838,"bb_box_create_bp",void 0,[new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0),new v(i.TYPE_FLOAT,void 0,void 0)],_.Pop),t.BB_EXCHANGE_PT=i.OPCODES[63839]=new t(63839,"bb_exchange_pt",void 0,[new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v({kind:o.RegTupRef,register_tuples:[new v(i.TYPE_DWORD,void 0,d.Write)]},void 0,void 0),new v(i.TYPE_DWORD,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0),new v(i.TYPE_I_LABEL,void 0,void 0)],_.Pop),t.UNKNOWN_F960=i.OPCODES[63840]=new t(63840,"unknown_f960",void 0,[new v(i.TYPE_DWORD,void 0,void 0)],_.Pop),t.UNKNOWN_F961=i.OPCODES[63841]=new t(63841,"unknown_f961",void 0,[],void 0),t.UNKNOWN_F962=i.OPCODES[63842]=new t(63842,"unknown_f962",void 0,[],void 0),t.UNKNOWN_F963=i.OPCODES[63843]=new t(63843,"unknown_f963",void 0,[],void 0),t.UNKNOWN_F964=i.OPCODES[63844]=new t(63844,"unknown_f964",void 0,[],void 0),t.UNKNOWN_F965=i.OPCODES[63845]=new t(63845,"unknown_f965",void 0,[],void 0),t.UNKNOWN_F966=i.OPCODES[63846]=new t(63846,"unknown_f966",void 0,[],void 0),t.UNKNOWN_F967=i.OPCODES[63847]=new t(63847,"unknown_f967",void 0,[],void 0),t.UNKNOWN_F968=i.OPCODES[63848]=new t(63848,"unknown_f968",void 0,[],void 0),t.UNKNOWN_F969=i.OPCODES[63849]=new t(63849,"unknown_f969",void 0,[],void 0),t.UNKNOWN_F96A=i.OPCODES[63850]=new t(63850,"unknown_f96a",void 0,[],void 0),t.UNKNOWN_F96B=i.OPCODES[63851]=new t(63851,"unknown_f96b",void 0,[],void 0),t.UNKNOWN_F96C=i.OPCODES[63852]=new t(63852,"unknown_f96c",void 0,[],void 0),t.UNKNOWN_F96D=i.OPCODES[63853]=new t(63853,"unknown_f96d",void 0,[],void 0),t.UNKNOWN_F96E=i.OPCODES[63854]=new t(63854,"unknown_f96e",void 0,[],void 0),t.UNKNOWN_F96F=i.OPCODES[63855]=new t(63855,"unknown_f96f",void 0,[],void 0),t.UNKNOWN_F970=i.OPCODES[63856]=new t(63856,"unknown_f970",void 0,[],void 0),t.UNKNOWN_F971=i.OPCODES[63857]=new t(63857,"unknown_f971",void 0,[],void 0),t.UNKNOWN_F972=i.OPCODES[63858]=new t(63858,"unknown_f972",void 0,[],void 0),t.UNKNOWN_F973=i.OPCODES[63859]=new t(63859,"unknown_f973",void 0,[],void 0),t.UNKNOWN_F974=i.OPCODES[63860]=new t(63860,"unknown_f974",void 0,[],void 0),t.UNKNOWN_F975=i.OPCODES[63861]=new t(63861,"unknown_f975",void 0,[],void 0),t.UNKNOWN_F976=i.OPCODES[63862]=new t(63862,"unknown_f976",void 0,[],void 0),t.UNKNOWN_F977=i.OPCODES[63863]=new t(63863,"unknown_f977",void 0,[],void 0),t.UNKNOWN_F978=i.OPCODES[63864]=new t(63864,"unknown_f978",void 0,[],void 0),t.UNKNOWN_F979=i.OPCODES[63865]=new t(63865,"unknown_f979",void 0,[],void 0),t.UNKNOWN_F97A=i.OPCODES[63866]=new t(63866,"unknown_f97a",void 0,[],void 0),t.UNKNOWN_F97B=i.OPCODES[63867]=new t(63867,"unknown_f97b",void 0,[],void 0),t.UNKNOWN_F97C=i.OPCODES[63868]=new t(63868,"unknown_f97c",void 0,[],void 0),t.UNKNOWN_F97D=i.OPCODES[63869]=new t(63869,"unknown_f97d",void 0,[],void 0),t.UNKNOWN_F97E=i.OPCODES[63870]=new t(63870,"unknown_f97e",void 0,[],void 0),t.UNKNOWN_F97F=i.OPCODES[63871]=new t(63871,"unknown_f97f",void 0,[],void 0),t.UNKNOWN_F980=i.OPCODES[63872]=new t(63872,"unknown_f980",void 0,[],void 0),t.UNKNOWN_F981=i.OPCODES[63873]=new t(63873,"unknown_f981",void 0,[],void 0),t.UNKNOWN_F982=i.OPCODES[63874]=new t(63874,"unknown_f982",void 0,[],void 0),t.UNKNOWN_F983=i.OPCODES[63875]=new t(63875,"unknown_f983",void 0,[],void 0),t.UNKNOWN_F984=i.OPCODES[63876]=new t(63876,"unknown_f984",void 0,[],void 0),t.UNKNOWN_F985=i.OPCODES[63877]=new t(63877,"unknown_f985",void 0,[],void 0),t.UNKNOWN_F986=i.OPCODES[63878]=new t(63878,"unknown_f986",void 0,[],void 0),t.UNKNOWN_F987=i.OPCODES[63879]=new t(63879,"unknown_f987",void 0,[],void 0),t.UNKNOWN_F988=i.OPCODES[63880]=new t(63880,"unknown_f988",void 0,[],void 0),t.UNKNOWN_F989=i.OPCODES[63881]=new t(63881,"unknown_f989",void 0,[],void 0),t.UNKNOWN_F98A=i.OPCODES[63882]=new t(63882,"unknown_f98a",void 0,[],void 0),t.UNKNOWN_F98B=i.OPCODES[63883]=new t(63883,"unknown_f98b",void 0,[],void 0),t.UNKNOWN_F98C=i.OPCODES[63884]=new t(63884,"unknown_f98c",void 0,[],void 0),t.UNKNOWN_F98D=i.OPCODES[63885]=new t(63885,"unknown_f98d",void 0,[],void 0),t.UNKNOWN_F98E=i.OPCODES[63886]=new t(63886,"unknown_f98e",void 0,[],void 0),t.UNKNOWN_F98F=i.OPCODES[63887]=new t(63887,"unknown_f98f",void 0,[],void 0),t.UNKNOWN_F990=i.OPCODES[63888]=new t(63888,"unknown_f990",void 0,[],void 0),t.UNKNOWN_F991=i.OPCODES[63889]=new t(63889,"unknown_f991",void 0,[],void 0),t.UNKNOWN_F992=i.OPCODES[63890]=new t(63890,"unknown_f992",void 0,[],void 0),t.UNKNOWN_F993=i.OPCODES[63891]=new t(63891,"unknown_f993",void 0,[],void 0),t.UNKNOWN_F994=i.OPCODES[63892]=new t(63892,"unknown_f994",void 0,[],void 0),t.UNKNOWN_F995=i.OPCODES[63893]=new t(63893,"unknown_f995",void 0,[],void 0),t.UNKNOWN_F996=i.OPCODES[63894]=new t(63894,"unknown_f996",void 0,[],void 0),t.UNKNOWN_F997=i.OPCODES[63895]=new t(63895,"unknown_f997",void 0,[],void 0),t.UNKNOWN_F998=i.OPCODES[63896]=new t(63896,"unknown_f998",void 0,[],void 0),t.UNKNOWN_F999=i.OPCODES[63897]=new t(63897,"unknown_f999",void 0,[],void 0),t.UNKNOWN_F99A=i.OPCODES[63898]=new t(63898,"unknown_f99a",void 0,[],void 0),t.UNKNOWN_F99B=i.OPCODES[63899]=new t(63899,"unknown_f99b",void 0,[],void 0),t.UNKNOWN_F99C=i.OPCODES[63900]=new t(63900,"unknown_f99c",void 0,[],void 0),t.UNKNOWN_F99D=i.OPCODES[63901]=new t(63901,"unknown_f99d",void 0,[],void 0),t.UNKNOWN_F99E=i.OPCODES[63902]=new t(63902,"unknown_f99e",void 0,[],void 0),t.UNKNOWN_F99F=i.OPCODES[63903]=new t(63903,"unknown_f99f",void 0,[],void 0),t.UNKNOWN_F9A0=i.OPCODES[63904]=new t(63904,"unknown_f9a0",void 0,[],void 0),t.UNKNOWN_F9A1=i.OPCODES[63905]=new t(63905,"unknown_f9a1",void 0,[],void 0),t.UNKNOWN_F9A2=i.OPCODES[63906]=new t(63906,"unknown_f9a2",void 0,[],void 0),t.UNKNOWN_F9A3=i.OPCODES[63907]=new t(63907,"unknown_f9a3",void 0,[],void 0),t.UNKNOWN_F9A4=i.OPCODES[63908]=new t(63908,"unknown_f9a4",void 0,[],void 0),t.UNKNOWN_F9A5=i.OPCODES[63909]=new t(63909,"unknown_f9a5",void 0,[],void 0),t.UNKNOWN_F9A6=i.OPCODES[63910]=new t(63910,"unknown_f9a6",void 0,[],void 0),t.UNKNOWN_F9A7=i.OPCODES[63911]=new t(63911,"unknown_f9a7",void 0,[],void 0),t.UNKNOWN_F9A8=i.OPCODES[63912]=new t(63912,"unknown_f9a8",void 0,[],void 0),t.UNKNOWN_F9A9=i.OPCODES[63913]=new t(63913,"unknown_f9a9",void 0,[],void 0),t.UNKNOWN_F9AA=i.OPCODES[63914]=new t(63914,"unknown_f9aa",void 0,[],void 0),t.UNKNOWN_F9AB=i.OPCODES[63915]=new t(63915,"unknown_f9ab",void 0,[],void 0),t.UNKNOWN_F9AC=i.OPCODES[63916]=new t(63916,"unknown_f9ac",void 0,[],void 0),t.UNKNOWN_F9AD=i.OPCODES[63917]=new t(63917,"unknown_f9ad",void 0,[],void 0),t.UNKNOWN_F9AE=i.OPCODES[63918]=new t(63918,"unknown_f9ae",void 0,[],void 0),t.UNKNOWN_F9AF=i.OPCODES[63919]=new t(63919,"unknown_f9af",void 0,[],void 0),t.UNKNOWN_F9B0=i.OPCODES[63920]=new t(63920,"unknown_f9b0",void 0,[],void 0),t.UNKNOWN_F9B1=i.OPCODES[63921]=new t(63921,"unknown_f9b1",void 0,[],void 0),t.UNKNOWN_F9B2=i.OPCODES[63922]=new t(63922,"unknown_f9b2",void 0,[],void 0),t.UNKNOWN_F9B3=i.OPCODES[63923]=new t(63923,"unknown_f9b3",void 0,[],void 0),t.UNKNOWN_F9B4=i.OPCODES[63924]=new t(63924,"unknown_f9b4",void 0,[],void 0),t.UNKNOWN_F9B5=i.OPCODES[63925]=new t(63925,"unknown_f9b5",void 0,[],void 0),t.UNKNOWN_F9B6=i.OPCODES[63926]=new t(63926,"unknown_f9b6",void 0,[],void 0),t.UNKNOWN_F9B7=i.OPCODES[63927]=new t(63927,"unknown_f9b7",void 0,[],void 0),t.UNKNOWN_F9B8=i.OPCODES[63928]=new t(63928,"unknown_f9b8",void 0,[],void 0),t.UNKNOWN_F9B9=i.OPCODES[63929]=new t(63929,"unknown_f9b9",void 0,[],void 0),t.UNKNOWN_F9BA=i.OPCODES[63930]=new t(63930,"unknown_f9ba",void 0,[],void 0),t.UNKNOWN_F9BB=i.OPCODES[63931]=new t(63931,"unknown_f9bb",void 0,[],void 0),t.UNKNOWN_F9BC=i.OPCODES[63932]=new t(63932,"unknown_f9bc",void 0,[],void 0),t.UNKNOWN_F9BD=i.OPCODES[63933]=new t(63933,"unknown_f9bd",void 0,[],void 0),t.UNKNOWN_F9BE=i.OPCODES[63934]=new t(63934,"unknown_f9be",void 0,[],void 0),t.UNKNOWN_F9BF=i.OPCODES[63935]=new t(63935,"unknown_f9bf",void 0,[],void 0),t.UNKNOWN_F9C0=i.OPCODES[63936]=new t(63936,"unknown_f9c0",void 0,[],void 0),t.UNKNOWN_F9C1=i.OPCODES[63937]=new t(63937,"unknown_f9c1",void 0,[],void 0),t.UNKNOWN_F9C2=i.OPCODES[63938]=new t(63938,"unknown_f9c2",void 0,[],void 0),t.UNKNOWN_F9C3=i.OPCODES[63939]=new t(63939,"unknown_f9c3",void 0,[],void 0),t.UNKNOWN_F9C4=i.OPCODES[63940]=new t(63940,"unknown_f9c4",void 0,[],void 0),t.UNKNOWN_F9C5=i.OPCODES[63941]=new t(63941,"unknown_f9c5",void 0,[],void 0),t.UNKNOWN_F9C6=i.OPCODES[63942]=new t(63942,"unknown_f9c6",void 0,[],void 0),t.UNKNOWN_F9C7=i.OPCODES[63943]=new t(63943,"unknown_f9c7",void 0,[],void 0),t.UNKNOWN_F9C8=i.OPCODES[63944]=new t(63944,"unknown_f9c8",void 0,[],void 0),t.UNKNOWN_F9C9=i.OPCODES[63945]=new t(63945,"unknown_f9c9",void 0,[],void 0),t.UNKNOWN_F9CA=i.OPCODES[63946]=new t(63946,"unknown_f9ca",void 0,[],void 0),t.UNKNOWN_F9CB=i.OPCODES[63947]=new t(63947,"unknown_f9cb",void 0,[],void 0),t.UNKNOWN_F9CC=i.OPCODES[63948]=new t(63948,"unknown_f9cc",void 0,[],void 0),t.UNKNOWN_F9CD=i.OPCODES[63949]=new t(63949,"unknown_f9cd",void 0,[],void 0),t.UNKNOWN_F9CE=i.OPCODES[63950]=new t(63950,"unknown_f9ce",void 0,[],void 0),t.UNKNOWN_F9CF=i.OPCODES[63951]=new t(63951,"unknown_f9cf",void 0,[],void 0),t.UNKNOWN_F9D0=i.OPCODES[63952]=new t(63952,"unknown_f9d0",void 0,[],void 0),t.UNKNOWN_F9D1=i.OPCODES[63953]=new t(63953,"unknown_f9d1",void 0,[],void 0),t.UNKNOWN_F9D2=i.OPCODES[63954]=new t(63954,"unknown_f9d2",void 0,[],void 0),t.UNKNOWN_F9D3=i.OPCODES[63955]=new t(63955,"unknown_f9d3",void 0,[],void 0),t.UNKNOWN_F9D4=i.OPCODES[63956]=new t(63956,"unknown_f9d4",void 0,[],void 0),t.UNKNOWN_F9D5=i.OPCODES[63957]=new t(63957,"unknown_f9d5",void 0,[],void 0),t.UNKNOWN_F9D6=i.OPCODES[63958]=new t(63958,"unknown_f9d6",void 0,[],void 0),t.UNKNOWN_F9D7=i.OPCODES[63959]=new t(63959,"unknown_f9d7",void 0,[],void 0),t.UNKNOWN_F9D8=i.OPCODES[63960]=new t(63960,"unknown_f9d8",void 0,[],void 0),t.UNKNOWN_F9D9=i.OPCODES[63961]=new t(63961,"unknown_f9d9",void 0,[],void 0),t.UNKNOWN_F9DA=i.OPCODES[63962]=new t(63962,"unknown_f9da",void 0,[],void 0),t.UNKNOWN_F9DB=i.OPCODES[63963]=new t(63963,"unknown_f9db",void 0,[],void 0),t.UNKNOWN_F9DC=i.OPCODES[63964]=new t(63964,"unknown_f9dc",void 0,[],void 0),t.UNKNOWN_F9DD=i.OPCODES[63965]=new t(63965,"unknown_f9dd",void 0,[],void 0),t.UNKNOWN_F9DE=i.OPCODES[63966]=new t(63966,"unknown_f9de",void 0,[],void 0),t.UNKNOWN_F9DF=i.OPCODES[63967]=new t(63967,"unknown_f9df",void 0,[],void 0),t.UNKNOWN_F9E0=i.OPCODES[63968]=new t(63968,"unknown_f9e0",void 0,[],void 0),t.UNKNOWN_F9E1=i.OPCODES[63969]=new t(63969,"unknown_f9e1",void 0,[],void 0),t.UNKNOWN_F9E2=i.OPCODES[63970]=new t(63970,"unknown_f9e2",void 0,[],void 0),t.UNKNOWN_F9E3=i.OPCODES[63971]=new t(63971,"unknown_f9e3",void 0,[],void 0),t.UNKNOWN_F9E4=i.OPCODES[63972]=new t(63972,"unknown_f9e4",void 0,[],void 0),t.UNKNOWN_F9E5=i.OPCODES[63973]=new t(63973,"unknown_f9e5",void 0,[],void 0),t.UNKNOWN_F9E6=i.OPCODES[63974]=new t(63974,"unknown_f9e6",void 0,[],void 0),t.UNKNOWN_F9E7=i.OPCODES[63975]=new t(63975,"unknown_f9e7",void 0,[],void 0),t.UNKNOWN_F9E8=i.OPCODES[63976]=new t(63976,"unknown_f9e8",void 0,[],void 0),t.UNKNOWN_F9E9=i.OPCODES[63977]=new t(63977,"unknown_f9e9",void 0,[],void 0),t.UNKNOWN_F9EA=i.OPCODES[63978]=new t(63978,"unknown_f9ea",void 0,[],void 0),t.UNKNOWN_F9EB=i.OPCODES[63979]=new t(63979,"unknown_f9eb",void 0,[],void 0),t.UNKNOWN_F9EC=i.OPCODES[63980]=new t(63980,"unknown_f9ec",void 0,[],void 0),t.UNKNOWN_F9ED=i.OPCODES[63981]=new t(63981,"unknown_f9ed",void 0,[],void 0),t.UNKNOWN_F9EE=i.OPCODES[63982]=new t(63982,"unknown_f9ee",void 0,[],void 0),t.UNKNOWN_F9EF=i.OPCODES[63983]=new t(63983,"unknown_f9ef",void 0,[],void 0),t.UNKNOWN_F9F0=i.OPCODES[63984]=new t(63984,"unknown_f9f0",void 0,[],void 0),t.UNKNOWN_F9F1=i.OPCODES[63985]=new t(63985,"unknown_f9f1",void 0,[],void 0),t.UNKNOWN_F9F2=i.OPCODES[63986]=new t(63986,"unknown_f9f2",void 0,[],void 0),t.UNKNOWN_F9F3=i.OPCODES[63987]=new t(63987,"unknown_f9f3",void 0,[],void 0),t.UNKNOWN_F9F4=i.OPCODES[63988]=new t(63988,"unknown_f9f4",void 0,[],void 0),t.UNKNOWN_F9F5=i.OPCODES[63989]=new t(63989,"unknown_f9f5",void 0,[],void 0),t.UNKNOWN_F9F6=i.OPCODES[63990]=new t(63990,"unknown_f9f6",void 0,[],void 0),t.UNKNOWN_F9F7=i.OPCODES[63991]=new t(63991,"unknown_f9f7",void 0,[],void 0),t.UNKNOWN_F9F8=i.OPCODES[63992]=new t(63992,"unknown_f9f8",void 0,[],void 0),t.UNKNOWN_F9F9=i.OPCODES[63993]=new t(63993,"unknown_f9f9",void 0,[],void 0),t.UNKNOWN_F9FA=i.OPCODES[63994]=new t(63994,"unknown_f9fa",void 0,[],void 0),t.UNKNOWN_F9FB=i.OPCODES[63995]=new t(63995,"unknown_f9fb",void 0,[],void 0),t.UNKNOWN_F9FC=i.OPCODES[63996]=new t(63996,"unknown_f9fc",void 0,[],void 0),t.UNKNOWN_F9FD=i.OPCODES[63997]=new t(63997,"unknown_f9fd",void 0,[],void 0),t.UNKNOWN_F9FE=i.OPCODES[63998]=new t(63998,"unknown_f9fe",void 0,[],void 0),t.UNKNOWN_F9FF=i.OPCODES[63999]=new t(63999,"unknown_f9ff",void 0,[],void 0),i.OPCODES.forEach(e=>{i.OPCODES_BY_MNEMONIC.set(e.mnemonic,e)})},lg9k:function(e,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});const o=n("ZPAt"),d=n("wtpc");var _;function v(e,i){if(e.type!==i.type||!d.arrays_equal(e.labels,i.labels))return!1;switch(e.type){case _.Instructions:return d.arrays_equal(e.instructions,i.instructions,t);case _.Data:return d.array_buffers_equal(e.data,i.data);case _.String:return e.value===i.value}}function t(e,i){return e.opcode.code===i.opcode.code&&d.arrays_equal(e.args,i.args,O)}function O(e,i){return e.value===i.value&&e.size===i.size}i.Instruction=class{constructor(e,i){this.opcode=e,this.args=i,this.arg_size=0,this.param_to_args=[];const n=Math.min(e.params.length,i.length);for(let d=0;d<n;d++){const n=e.params[d].type,_=i[d];switch(this.param_to_args[d]=[],n.kind){case o.Kind.ILabelVar:case o.Kind.RegRefVar:this.arg_size++;for(let e=d;e<i.length;e++)this.param_to_args[d].push(i[e]),this.arg_size+=i[e].size;break;default:this.arg_size+=_.size,this.param_to_args[d].push(_)}}this.size=e.size+this.arg_size}},function(e){e[e.Instructions=0]="Instructions",e[e.Data=1]="Data",e[e.String=2]="String"}(_=i.SegmentType||(i.SegmentType={})),i.object_code_equal=function(e,i){return d.arrays_equal(e,i,v)}},wtpc:function(e,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.arrays_equal=function(e,i,n=((e,i)=>e===i)){const o=e.length;if(o!==i.length)return!1;for(let d=0;d<o;d++)if(!n(e[d],i[d]))return!1;return!0},i.array_buffers_equal=function(e,i){if(e.byteLength!==i.byteLength)return!1;const n=new Uint8Array(e),o=new Uint8Array(i);for(let e=0;e<n.length;e++)if(n[e]!==o[e])return!1;return!0}},yAUo:function(e,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(e){e[e.NewAssembly=0]="NewAssembly",e[e.AssemblyChange=1]="AssemblyChange",e[e.SignatureHelp=2]="SignatureHelp",e[e.SettingsChange=3]="SettingsChange"}(i.InputMessageType||(i.InputMessageType={})),function(e){e[e.NewObjectCode=0]="NewObjectCode",e[e.SignatureHelp=1]="SignatureHelp"}(i.OutputMessageType||(i.OutputMessageType={}))},yL6M:function(e,i,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});const d=n("yAUo"),_=n("JLhb"),v=o(n("GGSb")),t=n("lg9k"),O=n("ZPAt"),w=n("ZBxL");v.default.useDefaults({defaultLevel:v.default.WARN});const E=self;let s=[];const r=[];let D;const P={manual_stack:!1};function a(){if(0!==r.length)for(const e of r.splice(0,r.length))switch(e.type){case d.InputMessageType.NewAssembly:s=e.assembly,N();break;case d.InputMessageType.AssemblyChange:R(e);break;case d.InputMessageType.SignatureHelp:T(e);break;case d.InputMessageType.SettingsChange:u(e)}}function R(e){for(const i of e.changes){const{start_line_no:e,end_line_no:n,start_col:o,end_col:d,new_text:_}=i,v=n-e+1,t=_.split("\n");1===v?l(e,o,d,t):1===t.length?f(e,n,o,d,t[0]):(S(e,o,t[0]),p(n,d,t[t.length-1]),g(e+1,n-1,t.slice(1,t.length-1)))}N()}function T(e){let i,n=-1;if(e.line_no<s.length){const o=s[e.line_no-1],d=(new w.AssemblyLexer).tokenize_line(o),_=d.find(e=>e.type===w.TokenType.Ident);if(_&&(i=O.OPCODES_BY_MNEMONIC.get(_.value)))for(const i of d){if(i.col+i.len>e.col)break;i.type===w.TokenType.Ident&&-1===n?n=0:i.type===w.TokenType.ArgSeparator&&n++}}const o={type:d.OutputMessageType.SignatureHelp,id:e.id,opcode:i,active_param:n};E.postMessage(o)}function u(e){null!=e.settings.manual_stack&&(P.manual_stack=e.settings.manual_stack)}function N(){const e=_.assemble(s,P.manual_stack),i=new Map;for(const n of e.object_code)if(n.labels.includes(0)){if(n.type===t.SegmentType.Instructions)for(const e of n.instructions)e.opcode===O.Opcode.BB_MAP_DESIGNATE&&i.set(e.args[0].value,e.args[2].value);break}const n=Object.assign({type:d.OutputMessageType.NewObjectCode,map_designations:i},e);E.postMessage(n)}function l(e,i,n,o){const d=s[e-1],_=d.slice(0,i-1),v=d.slice(n-1);1===o.length?s.splice(e-1,1,_+o[0]+v):s.splice(e-1,1,_+o[0],...o.slice(1,o.length-1),o[o.length-1]+v)}function p(e,i,n){s.splice(e-1,1,n+s[e-1].slice(i-1))}function S(e,i,n){s.splice(e-1,1,s[e-1].slice(0,i-1)+n)}function g(e,i,n){s.splice(e-1,i-e+1,...n)}function f(e,i,n,o,d){const _=s[e-1],v=s[i-1],t=_.slice(0,n-1),O=v.slice(o-1);s.splice(e-1,i-e+1,t+d+O)}E.onmessage=e=>{r.push(e.data),D||(a(),D=setTimeout(()=>{D=void 0,a()},100))}}});