phantasmal-world/38b62ae981a3f5e5535a.worker.js
Daan Vanden Bosch 51ef3e1876 Release 27.
2019-11-04 18:03:54 +01:00

6 lines
121 KiB
JavaScript

!function(i){var e={};function o(d){if(e[d])return e[d].exports;var _=e[d]={i:d,l:!1,exports:{}};return i[d].call(_.exports,_,_.exports,o),_.l=!0,_.exports}o.m=i,o.c=e,o.d=function(i,e,d){o.o(i,e)||Object.defineProperty(i,e,{enumerable:!0,get:d})},o.r=function(i){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},o.t=function(i,e){if(1&e&&(i=o(i)),8&e)return i;if(4&e&&"object"==typeof i&&i&&i.__esModule)return i;var d=Object.create(null);if(o.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:i}),2&e&&"string"!=typeof i)for(var _ in i)o.d(d,_,function(e){return i[e]}.bind(null,_));return d},o.n=function(i){var e=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(e,"a",e),e},o.o=function(i,e){return Object.prototype.hasOwnProperty.call(i,e)},o.p="",o(o.s="yL6M")}({"8hIv":function(i,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const d=new DataView(new ArrayBuffer(4));e.reinterpret_i32_as_f32=function(i){return d.setInt32(0,i),d.getFloat32(0)},e.reinterpret_f32_as_i32=function(i){return d.setFloat32(0,i),d.getInt32(0)}},GGSb:function(i,e,o){var 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(O){"use strict";var v,n={};n.VERSION="1.6.0";var t={},P=function(i,e){return function(){return e.apply(i,arguments)}},s=function(){var i,e,o=arguments,d=o[0];for(e=1;e<o.length;e++)for(i in o[e])i in d||!o[e].hasOwnProperty(i)||(d[i]=o[e][i]);return d},E=function(i,e){return{value:i,name:e}};n.TRACE=E(1,"TRACE"),n.DEBUG=E(2,"DEBUG"),n.INFO=E(3,"INFO"),n.TIME=E(4,"TIME"),n.WARN=E(5,"WARN"),n.ERROR=E(8,"ERROR"),n.OFF=E(99,"OFF");var r=function(i){this.context=i,this.setLevel(i.filterLevel),this.log=this.info};r.prototype={setLevel:function(i){i&&"value"in i&&(this.context.filterLevel=i)},getLevel:function(){return this.context.filterLevel},enabledFor:function(i){var e=this.context.filterLevel;return i.value>=e.value},trace:function(){this.invoke(n.TRACE,arguments)},debug:function(){this.invoke(n.DEBUG,arguments)},info:function(){this.invoke(n.INFO,arguments)},warn:function(){this.invoke(n.WARN,arguments)},error:function(){this.invoke(n.ERROR,arguments)},time:function(i){"string"==typeof i&&i.length>0&&this.invoke(n.TIME,[i,"start"])},timeEnd:function(i){"string"==typeof i&&i.length>0&&this.invoke(n.TIME,[i,"end"])},invoke:function(i,e){v&&this.enabledFor(i)&&v(e,s({level:i},this.context))}};var D,a=new r({filterLevel:n.OFF});(D=n).enabledFor=P(a,a.enabledFor),D.trace=P(a,a.trace),D.debug=P(a,a.debug),D.time=P(a,a.time),D.timeEnd=P(a,a.timeEnd),D.info=P(a,a.info),D.warn=P(a,a.warn),D.error=P(a,a.error),D.log=D.info,n.setHandler=function(i){v=i},n.setLevel=function(i){for(var e in a.setLevel(i),t)t.hasOwnProperty(e)&&t[e].setLevel(i)},n.getLevel=function(){return a.getLevel()},n.get=function(i){return t[i]||(t[i]=new r(s({name:i},a.context)))},n.createDefaultHandler=function(i){(i=i||{}).formatter=i.formatter||function(i,e){e.name&&i.unshift("["+e.name+"]")};var e={},o=function(i,e){Function.prototype.apply.call(i,console,e)};return"undefined"==typeof console?function(){}:function(d,_){d=Array.prototype.slice.call(d);var O,v=console.log;_.level===n.TIME?(O=(_.name?"["+_.name+"] ":"")+d[0],"start"===d[1]?console.time?console.time(O):e[O]=(new Date).getTime():console.timeEnd?console.timeEnd(O):o(v,[O+": "+((new Date).getTime()-e[O])+"ms"])):(_.level===n.WARN&&console.warn?v=console.warn:_.level===n.ERROR&&console.error?v=console.error:_.level===n.INFO&&console.info?v=console.info:_.level===n.DEBUG&&console.debug?v=console.debug:_.level===n.TRACE&&console.trace&&(v=console.trace),i.formatter(d,_),o(v,d))}},n.useDefaults=function(i){n.setLevel(i&&i.defaultLevel||n.DEBUG),n.setHandler(n.createDefaultHandler(i))},void 0===(_="function"==typeof(d=n)?d.call(e,o,e,i):d)||(i.exports=_)}()},JLhb:function(i,e,o){"use strict";var d=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});const _=d(o("GGSb")),O=o("8hIv"),v=o("ZBxL"),n=o("lg9k"),t=o("ZPAt"),P=_.default.get("quest_editor/scripting/assembly");e.assemble=function(i,e=!1){P.trace("assemble start");const o=new s(i,e).assemble();return P.trace(`assemble end with ${o.warnings.length} warnings and ${o.errors.length} errors.`),o};class s{constructor(i,e){this.assembly=i,this.manual_stack=e,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=n.SegmentType.Instructions,this.first_section_marker=!0,this.prev_line_had_label=!1;for(const i of this.assembly){if(this.tokens=this.lexer.tokenize_line(i),this.tokens.length>0){const i=this.tokens.shift();let e=!1;switch(i.type){case v.TokenType.Label:this.parse_label(i),e=!0;break;case v.TokenType.CodeSection:case v.TokenType.DataSection:case v.TokenType.StringSection:this.parse_section(i);break;case v.TokenType.Int:this.section===n.SegmentType.Data?this.parse_bytes(i):this.add_error({col:i.col,length:i.len,message:"Unexpected token."});break;case v.TokenType.String:this.section===n.SegmentType.String?this.parse_string(i):this.add_error({col:i.col,length:i.len,message:"Unexpected token."});break;case v.TokenType.Ident:this.section===n.SegmentType.Instructions?this.parse_instruction(i):this.add_error({col:i.col,length:i.len,message:"Unexpected token."});break;case v.TokenType.InvalidSection:this.add_error({col:i.col,length:i.len,message:"Invalid section type."});break;case v.TokenType.InvalidIdent:this.add_error({col:i.col,length:i.len,message:"Invalid identifier."});break;default:this.add_error({col:i.col,length:i.len,message:"Unexpected token."})}this.prev_line_had_label=e}this.line_no++}return{object_code:this.object_code,warnings:this.warnings,errors:this.errors}}add_instruction(i,e,o,d,_,O){if(this.segment)this.segment.type===n.SegmentType.Instructions?this.segment.instructions.push(n.new_instruction(i,e,{mnemonic:d&&{line_no:this.line_no,col:d.col,len:d.len},args:_.map(i=>({line_no:this.line_no,col:i.col,len:i.len})),stack_args:O.map((i,e)=>({line_no:this.line_no,col:i.col,len:i.len,value:o[e].value}))})):P.error(`Line ${this.line_no}: Expected instructions segment.`);else{const i={labels:[],type:n.SegmentType.Instructions,instructions:[],asm:{labels:[]}};this.segment=i,this.object_code.push(i)}}add_bytes(i){if(this.segment)if(this.segment.type===n.SegmentType.Data){const e=new ArrayBuffer(this.segment.data.byteLength+i.length),o=new Uint8Array(e);o.set(new Uint8Array(this.segment.data)),o.set(new Uint8Array(i),this.segment.data.byteLength),this.segment.data=e}else P.error(`Line ${this.line_no}: Expected data segment.`);else{const e={labels:[],type:n.SegmentType.Data,data:new Uint8Array(i).buffer,asm:{labels:[]}};this.segment=e,this.object_code.push(e)}}add_string(i){if(this.segment)this.segment.type===n.SegmentType.String?this.segment.value+=i:P.error(`Line ${this.line_no}: Expected string segment.`);else{const e={labels:[],type:n.SegmentType.String,value:i,asm:{labels:[]}};this.segment=e,this.object_code.push(e)}}add_error({col:i,length:e,message:o}){this.errors.push({line_no:this.line_no,col:i,length:e,message:o})}add_warning({col:i,length:e,message:o}){this.warnings.push({line_no:this.line_no,col:i,length:e,message:o})}parse_label({col:i,len:e,value:o}){this.labels.has(o)&&this.add_error({col:i,length:e,message:"Duplicate label."}),this.labels.add(o);const d=this.tokens.shift(),_={line_no:this.line_no,col:i,len:e};if(this.prev_line_had_label){const i=this.object_code[this.object_code.length-1];i.labels.push(o),i.asm.labels.push(_)}switch(this.section){case n.SegmentType.Instructions:this.prev_line_had_label||(this.segment={type:n.SegmentType.Instructions,labels:[o],instructions:[],asm:{labels:[_]}},this.object_code.push(this.segment)),d&&(d.type===v.TokenType.Ident?this.parse_instruction(d):this.add_error({col:d.col,length:d.len,message:"Expected opcode mnemonic."}));break;case n.SegmentType.Data:this.prev_line_had_label||(this.segment={type:n.SegmentType.Data,labels:[o],data:new ArrayBuffer(0),asm:{labels:[_]}},this.object_code.push(this.segment)),d&&(d.type===v.TokenType.Int?this.parse_bytes(d):this.add_error({col:d.col,length:d.len,message:"Expected bytes."}));break;case n.SegmentType.String:this.prev_line_had_label||(this.segment={type:n.SegmentType.String,labels:[o],value:"",asm:{labels:[_]}},this.object_code.push(this.segment)),d&&(d.type===v.TokenType.String?this.parse_string(d):this.add_error({col:d.col,length:d.len,message:"Expected a string."}))}}parse_section({type:i,col:e,len:o}){let d;switch(i){case v.TokenType.CodeSection:d=n.SegmentType.Instructions;break;case v.TokenType.DataSection:d=n.SegmentType.Data;break;case v.TokenType.StringSection:d=n.SegmentType.String}this.section!==d||this.first_section_marker||this.add_warning({col:e,length:o,message:"Unnecessary section marker."}),this.section=d,this.first_section_marker=!1;const _=this.tokens.shift();_&&this.add_error({col:_.col,length:_.len,message:"Unexpected token."})}parse_instruction(i){const{col:e,len:o,value:d}=i,_=t.OPCODES_BY_MNEMONIC.get(d);if(_){const o=-1!==_.params.findIndex(i=>i.type.kind===t.Kind.ILabelVar||i.type.kind===t.Kind.RegRefVar),d=this.manual_stack&&_.stack===t.StackInteraction.Pop?0:_.params.length;let n=0;for(const i of this.tokens)i.type!==v.TokenType.ArgSeparator&&n++;const s=this.tokens[this.tokens.length-1],E=s?s.col+s.len-e:0,r=[],D=[];if(!o&&n!==d)return void this.add_error({col:e,length:E,message:`Expected ${d} argument${1===d?"":"s"}, got ${n}.`});if(o&&n<d)return void this.add_error({col:e,length:E,message:`Expected at least ${d} argument${1===d?"":"s"}, got ${n}.`});if(_.stack!==t.StackInteraction.Pop){if(!this.parse_args(_.params,r,!1))return}else{if(!this.parse_args(_.params,D,!0))return;for(let i=0;i<_.params.length;i++){const e=_.params[i],o=D[i];if(null==o)continue;const[d,n]=o;if(n.type===v.TokenType.Register)e.type.kind===t.Kind.RegTupRef?this.add_instruction(t.OP_ARG_PUSHB,[d],[],void 0,[n],[]):this.add_instruction(t.OP_ARG_PUSHR,[d],[],void 0,[n],[]);else switch(e.type.kind){case t.Kind.Byte:case t.Kind.RegRef:case t.Kind.RegTupRef:this.add_instruction(t.OP_ARG_PUSHB,[d],[],void 0,[n],[]);break;case t.Kind.Word:case t.Kind.Label:case t.Kind.ILabel:case t.Kind.DLabel:case t.Kind.SLabel:this.add_instruction(t.OP_ARG_PUSHW,[d],[],void 0,[n],[]);break;case t.Kind.DWord:this.add_instruction(t.OP_ARG_PUSHL,[d],[],void 0,[n],[]);break;case t.Kind.Float:this.add_instruction(t.OP_ARG_PUSHL,[{value:O.reinterpret_f32_as_i32(d.value),size:4}],[],void 0,[n],[]);break;case t.Kind.String:this.add_instruction(t.OP_ARG_PUSHS,[d],[],void 0,[n],[]);break;default:P.error(`Line ${this.line_no}: Type ${t.Kind[e.type.kind]} not implemented.`)}}}const a=[],R=[],u=[],T=[];for(const[i,e]of r)a.push(i),R.push(e);for(const[i,e]of D)u.push(i),T.push(e);this.add_instruction(_,a,u,i,R,T)}else this.add_error({col:e,length:o,message:"Unknown instruction."})}parse_args(i,e,o){let d=!0,_=!0,O=0;for(let n=0;n<this.tokens.length;n++){const P=this.tokens[n],s=i[O];if(P.type===v.TokenType.ArgSeparator)_?this.add_error({col:P.col,length:P.len,message:"Expected an argument."}):s.type.kind!==t.Kind.ILabelVar&&s.type.kind!==t.Kind.RegRefVar&&O++,_=!0;else{if(!_){const i=this.tokens[n-1],e=i.col+i.len;this.add_error({col:e,length:P.col-e,message:"Expected a comma."})}let i;switch(_=!1,P.type){case v.TokenType.Int:switch(s.type.kind){case t.Kind.Byte:i=!0,this.parse_int(1,P,e);break;case t.Kind.Word:case t.Kind.Label:case t.Kind.ILabel:case t.Kind.DLabel:case t.Kind.SLabel:case t.Kind.ILabelVar:i=!0,this.parse_int(2,P,e);break;case t.Kind.DWord:i=!0,this.parse_int(4,P,e);break;case t.Kind.Float:i=!0,e.push([{value:P.value,size:4},P]);break;default:i=!1}break;case v.TokenType.Float:(i=s.type.kind===t.Kind.Float)&&e.push([{value:P.value,size:4},P]);break;case v.TokenType.Register:i=o||s.type.kind===t.Kind.RegRef||s.type.kind===t.Kind.RegRefVar||s.type.kind===t.Kind.RegTupRef,this.parse_register(P,e);break;case v.TokenType.String:(i=s.type.kind===t.Kind.String)&&e.push([{value:P.value,size:2*P.value.length+2},P]);break;default:i=!1}if(!i){let i;switch(d=!1,s.type.kind){case t.Kind.Byte:i="an 8-bit integer";break;case t.Kind.Word:i="a 16-bit integer";break;case t.Kind.DWord:i="a 32-bit integer";break;case t.Kind.Float:i="a float";break;case t.Kind.Label:i="a label";break;case t.Kind.ILabel:case t.Kind.ILabelVar:i="an instruction label";break;case t.Kind.DLabel:i="a data label";break;case t.Kind.SLabel:i="a string label";break;case t.Kind.String:i="a string";break;case t.Kind.RegRef:case t.Kind.RegRefVar:case t.Kind.RegTupRef:i="a register reference"}i?this.add_error({col:P.col,length:P.len,message:`Expected ${i}.`}):this.add_error({col:P.col,length:P.len,message:"Unexpected token."})}}}return this.tokens=[],d}parse_int(i,e,o){const{value:d,col:_,len:O}=e,v=8*i,n=-Math.pow(2,v-1),t=Math.pow(2,v)-1;d<n?this.add_error({col:_,length:O,message:`${v}-Bit integer can't be less than ${n}.`}):d>t?this.add_error({col:_,length:O,message:`${v}-Bit integer can't be greater than ${t}.`}):o.push([{value:d,size:i},e])}parse_register(i,e){const{col:o,len:d,value:_}=i;_>255?this.add_error({col:o,length:d,message:"Invalid register reference, expected r0-r255."}):e.push([{value:_,size:1},i])}parse_bytes(i){const e=[];let o=i,d=0;for(;o.type===v.TokenType.Int&&(o.value<0?this.add_error({col:o.col,length:o.len,message:"Unsigned 8-bit integer can't be less than 0."}):o.value>255&&this.add_error({col:o.col,length:o.len,message:"Unsigned 8-bit integer can't be greater than 255."}),e.push(o.value),d<this.tokens.length);)o=this.tokens[d++];d<this.tokens.length&&this.add_error({col:o.col,length:o.len,message:"Expected an unsigned 8-bit integer."}),this.add_bytes(e)}parse_string(i){const e=this.tokens.shift();e&&this.add_error({col:e.col,length:e.len,message:"Unexpected token."}),this.add_string(i.value.replace(/\n/g,"<cr>"))}}},ZBxL:function(i,e,o){"use strict";var d;Object.defineProperty(e,"__esModule",{value:!0}),function(i){i[i.Int=0]="Int",i[i.Float=1]="Float",i[i.InvalidNumber=2]="InvalidNumber",i[i.Register=3]="Register",i[i.Label=4]="Label",i[i.CodeSection=5]="CodeSection",i[i.DataSection=6]="DataSection",i[i.StringSection=7]="StringSection",i[i.InvalidSection=8]="InvalidSection",i[i.String=9]="String",i[i.UnterminatedString=10]="UnterminatedString",i[i.Ident=11]="Ident",i[i.InvalidIdent=12]="InvalidIdent",i[i.ArgSeparator=13]="ArgSeparator"}(d=e.TokenType||(e.TokenType={}));e.AssemblyLexer=class{constructor(){this.index=0,this._mark=0}get col(){return this.index+1}tokenize_line(i){this.line=i,this.index=0,this._mark=0;const e=[];for(;this.has_next();){const i=this.peek();let o;if("/"===i){if(this.skip(),"/"===this.peek())break;this.back()}/\s/.test(i)?this.skip():(/[-\d]/.test(i)?o=this.tokenize_number_or_label():","===i?(o={type:d.ArgSeparator,col:this.col,len:1},this.skip()):o="."===i?this.tokenize_section():'"'===i?this.tokenize_string():"r"===i?this.tokenize_register_or_ident():this.tokenize_ident(),e.push(o))}return e}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 i=this.next();if(/[\s,]/.test(i)){this.back();break}}}tokenize_number_or_label(){this.mark();const i=this.col;this.skip();let e=!1;for(;this.has_next();){const o=this.peek();if("."===o||"e"===o)return this.tokenize_float(i);if("x"===o)return this.tokenize_hex_number(i);if(":"===o){e=!0,this.skip();break}if(/[\s,]/.test(o))break;this.skip()}const o=parseInt(this.slice(),10);return{type:Number.isInteger(o)?e?d.Label:d.Int:d.InvalidNumber,col:i,len:this.marked_len(),value:o}}tokenize_hex_number(i){this.eat_rest_of_token();const e=this.slice();if(/^0x[\da-fA-F]+$/.test(e)){const o=parseInt(e,16);if(Number.isInteger(o))return{type:d.Int,col:i,len:this.marked_len(),value:o}}return{type:d.InvalidNumber,col:i,len:this.marked_len()}}tokenize_float(i){this.eat_rest_of_token();const e=this.slice();if(/^-?\d+(\.\d+)?(e-?\d+)?$/.test(e)){const o=parseFloat(e);if(Number.isFinite(o))return{type:d.Float,col:i,len:this.marked_len(),value:o}}return{type:d.InvalidNumber,col:i,len:this.marked_len()}}tokenize_register_or_ident(){const i=this.col;this.skip(),this.mark();let e=!1;for(;this.has_next();){const i=this.peek();if(!/\d/.test(i))break;e=!0,this.skip()}if(e){const e=parseInt(this.slice(),10);return{type:d.Register,col:i,len:this.marked_len()+1,value:e}}return this.back(),this.tokenize_ident()}tokenize_section(){const i=this.col;for(this.mark();this.has_next()&&!/\s/.test(this.peek());)this.skip();switch(this.slice()){case".code":return{type:d.CodeSection,col:i,len:5};case".data":return{type:d.DataSection,col:i,len:5};case".string":return{type:d.StringSection,col:i,len:7};default:return{type:d.InvalidSection,col:i,len:this.marked_len()}}}tokenize_string(){const i=this.col;this.mark(),this.skip();let e,o=!1,_=!1;i:for(;this.has_next();)switch(this.next()){case"\\":o=!0;break;case'"':if(!o){_=!0;break i}o=!1;break;default:o=!1}return e=_?JSON.parse(this.slice()):JSON.parse(this.slice()+'"'),{type:_?d.String:d.UnterminatedString,col:i,len:this.marked_len(),value:e}}tokenize_ident(){const i=this.col;for(this.mark();this.has_next();){const i=this.peek();if(/[\s,]/.test(i))break;if("/"===i){if(this.skip(),"/"===this.peek()){this.back();break}}else this.skip()}const e=this.slice(),o=/^[a-z][a-z0-9_=<>!]*$/.test(e)?d.Ident:d.InvalidIdent;return o===d.Ident?{type:o,col:i,len:this.marked_len(),value:e}:{type:o,col:i,len:this.marked_len()}}}},ZPAt:function(i,e,o){"use strict";var d,_,O;function v(i,e,o){return{type:i,doc:e,access:o}}function n(i,e,o,d,_){return{code:i,mnemonic:e,doc:o,size:i<256?1:2,params:d,stack:_}}Object.defineProperty(e,"__esModule",{value:!0}),function(i){i[i.Any=0]="Any",i[i.Byte=1]="Byte",i[i.Word=2]="Word",i[i.DWord=3]="DWord",i[i.Float=4]="Float",i[i.Label=5]="Label",i[i.ILabel=6]="ILabel",i[i.DLabel=7]="DLabel",i[i.SLabel=8]="SLabel",i[i.String=9]="String",i[i.ILabelVar=10]="ILabelVar",i[i.RegRef=11]="RegRef",i[i.RegTupRef=12]="RegTupRef",i[i.RegRefVar=13]="RegRefVar",i[i.Pointer=14]="Pointer"}(d=e.Kind||(e.Kind={})),e.TYPE_ANY={kind:d.Any},e.TYPE_BYTE={kind:d.Byte},e.TYPE_WORD={kind:d.Word},e.TYPE_DWORD={kind:d.DWord},e.TYPE_FLOAT={kind:d.Float},e.TYPE_LABEL={kind:d.Label},e.TYPE_I_LABEL={kind:d.ILabel},e.TYPE_D_LABEL={kind:d.DLabel},e.TYPE_S_LABEL={kind:d.SLabel},e.TYPE_STRING={kind:d.String},e.TYPE_I_LABEL_VAR={kind:d.ILabelVar},e.TYPE_REG_REF={kind:d.RegRef},e.TYPE_REG_REF_VAR={kind:d.RegRefVar},e.TYPE_POINTER={kind:d.Pointer},e.MIN_SIGNED_DWORD_VALUE=-Math.pow(2,31),e.MAX_SIGNED_DWORD_VALUE=Math.pow(2,31)-1,e.MIN_UNSIGNED_DWORD_VALUE=0,e.MAX_UNSIGNED_DWORD_VALUE=Math.pow(2,32)-1,e.MIN_DWORD_VALUE=e.MIN_SIGNED_DWORD_VALUE,e.MAX_DWORD_VALUE=e.MAX_UNSIGNED_DWORD_VALUE,function(i){i[i.Read=0]="Read",i[i.Write=1]="Write",i[i.ReadWrite=2]="ReadWrite"}(_=e.ParamAccess||(e.ParamAccess={})),function(i){i[i.Push=0]="Push",i[i.Pop=1]="Pop"}(O=e.StackInteraction||(e.StackInteraction={})),e.OPCODES=[],e.OPCODES_BY_MNEMONIC=new Map,e.OP_NOP=e.OPCODES[0]=n(0,"nop","No operation, does nothing.",[],void 0),e.OP_RET=e.OPCODES[1]=n(1,"ret","Returns control to caller.",[],void 0),e.OP_SYNC=e.OPCODES[2]=n(2,"sync","Yields control for the rest of the current frame. Execution will continue the following frame.",[],void 0),e.OP_EXIT=e.OPCODES[3]=n(3,"exit",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_THREAD=e.OPCODES[4]=n(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.",[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_VA_START=e.OPCODES[5]=n(5,"va_start","Initializes a variable argument list.\nMake sure to call va_end after va_start and va_call.",[],void 0),e.OP_VA_END=e.OPCODES[6]=n(6,"va_end","Restores the registers overwritten by arg_push* instructions.\nCalled after va_call.",[],void 0),e.OP_VA_CALL=e.OPCODES[7]=n(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.",[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_LET=e.OPCODES[8]=n(8,"let","Sets the first register's value to second one's value.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_LETI=e.OPCODES[9]=n(9,"leti","Sets a register to the given value.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_LETB=e.OPCODES[10]=n(10,"letb","Sets a register to the given value.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_BYTE,void 0,_.Write)]},void 0,void 0),v(e.TYPE_BYTE,void 0,void 0)],void 0),e.OP_LETW=e.OPCODES[11]=n(11,"letw","Sets a register to the given value.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_WORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_LETA=e.OPCODES[12]=n(12,"leta","Sets the first register to the memory address of the second register. Not used by Sega.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_POINTER,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_LETO=e.OPCODES[13]=n(13,"leto","Sets a register to the memory address of the given label. Not used by Sega.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_POINTER,void 0,_.Write)]},void 0,void 0),v(e.TYPE_LABEL,void 0,void 0)],void 0),e.OP_UNKNOWN_0E=e.OPCODES[14]=n(14,"unknown_0e",void 0,[],void 0),e.OP_UNKNOWN_0F=e.OPCODES[15]=n(15,"unknown_0f",void 0,[],void 0),e.OP_SET=e.OPCODES[16]=n(16,"set","Sets a register to 1.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_CLEAR=e.OPCODES[17]=n(17,"clear","Sets a register to 0.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_REV=e.OPCODES[18]=n(18,"rev","Sets a register to 1 if its current value is 0, otherwise sets it to 0.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.ReadWrite)]},void 0,void 0)],void 0),e.OP_GSET=e.OPCODES[19]=n(19,"gset",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_GCLEAR=e.OPCODES[20]=n(20,"gclear",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_GREV=e.OPCODES[21]=n(21,"grev",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_GLET=e.OPCODES[22]=n(22,"glet",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_GGET=e.OPCODES[23]=n(23,"gget","Sets a register to value of the given flag.",[v(e.TYPE_WORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_WORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_ADD=e.OPCODES[24]=n(24,"add",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_ADDI=e.OPCODES[25]=n(25,"addi",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_SUB=e.OPCODES[26]=n(26,"sub",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_SUBI=e.OPCODES[27]=n(27,"subi",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_MUL=e.OPCODES[28]=n(28,"mul",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_MULI=e.OPCODES[29]=n(29,"muli",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_DIV=e.OPCODES[30]=n(30,"div",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_DIVI=e.OPCODES[31]=n(31,"divi",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_AND=e.OPCODES[32]=n(32,"and",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_ANDI=e.OPCODES[33]=n(33,"andi",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_OR=e.OPCODES[34]=n(34,"or",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_ORI=e.OPCODES[35]=n(35,"ori",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_XOR=e.OPCODES[36]=n(36,"xor",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_XORI=e.OPCODES[37]=n(37,"xori",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_MOD=e.OPCODES[38]=n(38,"mod",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_MODI=e.OPCODES[39]=n(39,"modi",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_JMP=e.OPCODES[40]=n(40,"jmp",void 0,[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_CALL=e.OPCODES[41]=n(41,"call",void 0,[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMP_ON=e.OPCODES[42]=n(42,"jmp_on",void 0,[v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_REG_REF_VAR,void 0,_.Read)],void 0),e.OP_JMP_OFF=e.OPCODES[43]=n(43,"jmp_off",void 0,[v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_REG_REF_VAR,void 0,_.Read)],void 0),e.OP_JMP_E=e.OPCODES[44]=n(44,"jmp_=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMPI_E=e.OPCODES[45]=n(45,"jmpi_=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMP_NE=e.OPCODES[46]=n(46,"jmp_!=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMPI_NE=e.OPCODES[47]=n(47,"jmpi_!=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_UJMP_G=e.OPCODES[48]=n(48,"ujmp_>",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_UJMPI_G=e.OPCODES[49]=n(49,"ujmpi_>",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMP_G=e.OPCODES[50]=n(50,"jmp_>",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMPI_G=e.OPCODES[51]=n(51,"jmpi_>",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_UJMP_L=e.OPCODES[52]=n(52,"ujmp_<",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_UJMPI_L=e.OPCODES[53]=n(53,"ujmpi_<",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMP_L=e.OPCODES[54]=n(54,"jmp_<",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMPI_L=e.OPCODES[55]=n(55,"jmpi_<",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_UJMP_GE=e.OPCODES[56]=n(56,"ujmp_>=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_UJMPI_GE=e.OPCODES[57]=n(57,"ujmpi_>=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMP_GE=e.OPCODES[58]=n(58,"jmp_>=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMPI_GE=e.OPCODES[59]=n(59,"jmpi_>=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_UJMP_LE=e.OPCODES[60]=n(60,"ujmp_<=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_UJMPI_LE=e.OPCODES[61]=n(61,"ujmpi_<=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMP_LE=e.OPCODES[62]=n(62,"jmp_<=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_JMPI_LE=e.OPCODES[63]=n(63,"jmpi_<=",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_SWITCH_JMP=e.OPCODES[64]=n(64,"switch_jmp",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL_VAR,void 0,void 0)],void 0),e.OP_SWITCH_CALL=e.OPCODES[65]=n(65,"switch_call",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_I_LABEL_VAR,void 0,void 0)],void 0),e.OP_STACK_PUSH=e.OPCODES[66]=n(66,"stack_push",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_STACK_POP=e.OPCODES[67]=n(67,"stack_pop",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_STACK_PUSHM=e.OPCODES[68]=n(68,"stack_pushm","Pushes the values of an arbitrary amount of registers onto the stack.",[v(e.TYPE_REG_REF,void 0,_.Read),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_STACK_POPM=e.OPCODES[69]=n(69,"stack_popm","Pops an arbitrary amount of values from the stack and writes them to registers.",[v(e.TYPE_REG_REF,void 0,_.Write),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_UNKNOWN_46=e.OPCODES[70]=n(70,"unknown_46",void 0,[],void 0),e.OP_UNKNOWN_47=e.OPCODES[71]=n(71,"unknown_47",void 0,[],void 0),e.OP_ARG_PUSHR=e.OPCODES[72]=n(72,"arg_pushr","Pushes the value of the given register onto the stack.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],O.Push),e.OP_ARG_PUSHL=e.OPCODES[73]=n(73,"arg_pushl","Pushes the given value onto the stack.",[v(e.TYPE_DWORD,void 0,void 0)],O.Push),e.OP_ARG_PUSHB=e.OPCODES[74]=n(74,"arg_pushb","Pushes the given value onto the stack.",[v(e.TYPE_BYTE,void 0,void 0)],O.Push),e.OP_ARG_PUSHW=e.OPCODES[75]=n(75,"arg_pushw","Pushes the given value onto the stack.",[v(e.TYPE_WORD,void 0,void 0)],O.Push),e.OP_ARG_PUSHA=e.OPCODES[76]=n(76,"arg_pusha","Pushes the memory address of the given register onto the stack. Not used by Sega.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],O.Push),e.OP_ARG_PUSHO=e.OPCODES[77]=n(77,"arg_pusho","Pushes the memory address of the given label onto the stack. Not used by Sega.",[v(e.TYPE_LABEL,void 0,void 0)],O.Push),e.OP_ARG_PUSHS=e.OPCODES[78]=n(78,"arg_pushs","Pushes the given value onto the stack.",[v(e.TYPE_STRING,void 0,void 0)],O.Push),e.OP_UNKNOWN_4F=e.OPCODES[79]=n(79,"unknown_4f",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_MESSAGE=e.OPCODES[80]=n(80,"message",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_LIST=e.OPCODES[81]=n(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.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_BYTE,void 0,_.Write)]},void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_FADEIN=e.OPCODES[82]=n(82,"fadein",void 0,[],void 0),e.OP_FADEOUT=e.OPCODES[83]=n(83,"fadeout",void 0,[],void 0),e.OP_SE=e.OPCODES[84]=n(84,"se",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_BGM=e.OPCODES[85]=n(85,"bgm",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_56=e.OPCODES[86]=n(86,"unknown_56",void 0,[],void 0),e.OP_UNKNOWN_57=e.OPCODES[87]=n(87,"unknown_57",void 0,[],void 0),e.OP_ENABLE=e.OPCODES[88]=n(88,"enable",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_DISABLE=e.OPCODES[89]=n(89,"disable",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_WINDOW_MSG=e.OPCODES[90]=n(90,"window_msg",void 0,[v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_ADD_MSG=e.OPCODES[91]=n(91,"add_msg",void 0,[v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_MESEND=e.OPCODES[92]=n(92,"mesend",void 0,[],void 0),e.OP_GETTIME=e.OPCODES[93]=n(93,"gettime",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_WINEND=e.OPCODES[94]=n(94,"winend",void 0,[],void 0),e.OP_UNKNOWN_5F=e.OPCODES[95]=n(95,"unknown_5f",void 0,[],void 0),e.OP_NPC_CRT_V3=e.OPCODES[96]=n(96,"npc_crt_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_NPC_STOP=e.OPCODES[97]=n(97,"npc_stop",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_NPC_PLAY=e.OPCODES[98]=n(98,"npc_play",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_NPC_KILL=e.OPCODES[99]=n(99,"npc_kill",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_NPC_NONT=e.OPCODES[100]=n(100,"npc_nont",void 0,[],void 0),e.OP_NPC_TALK=e.OPCODES[101]=n(101,"npc_talk",void 0,[],void 0),e.OP_NPC_CRP_V3=e.OPCODES[102]=n(102,"npc_crp_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read),v(e.TYPE_ANY,void 0,_.Read),v(e.TYPE_ANY,void 0,_.Read),v(e.TYPE_I_LABEL,void 0,_.Read),v(e.TYPE_ANY,void 0,_.Read),v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_67=e.OPCODES[103]=n(103,"unknown_67",void 0,[],void 0),e.OP_CREATE_PIPE=e.OPCODES[104]=n(104,"create_pipe",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_P_HPSTAT_V3=e.OPCODES[105]=n(105,"p_hpstat_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_P_DEAD_V3=e.OPCODES[106]=n(106,"p_dead_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,"Player slot.",void 0)],O.Pop),e.OP_P_DISABLEWARP=e.OPCODES[107]=n(107,"p_disablewarp",void 0,[],void 0),e.OP_P_ENABLEWARP=e.OPCODES[108]=n(108,"p_enablewarp",void 0,[],void 0),e.OP_P_MOVE_V3=e.OPCODES[109]=n(109,"p_move_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_P_LOOK=e.OPCODES[110]=n(110,"p_look",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_6F=e.OPCODES[111]=n(111,"unknown_6f",void 0,[],void 0),e.OP_P_ACTION_DISABLE=e.OPCODES[112]=n(112,"p_action_disable",void 0,[],void 0),e.OP_P_ACTION_ENABLE=e.OPCODES[113]=n(113,"p_action_enable",void 0,[],void 0),e.OP_DISABLE_MOVEMENT1=e.OPCODES[114]=n(114,"disable_movement1",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_ENABLE_MOVEMENT1=e.OPCODES[115]=n(115,"enable_movement1",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_P_NONCOL=e.OPCODES[116]=n(116,"p_noncol",void 0,[],void 0),e.OP_P_COL=e.OPCODES[117]=n(117,"p_col",void 0,[],void 0),e.OP_P_SETPOS=e.OPCODES[118]=n(118,"p_setpos","Sets a player's position.",[v(e.TYPE_DWORD,"Player slot.",void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"X coordinate.",_.Read),v(e.TYPE_DWORD,"Y coordinate.",_.Read),v(e.TYPE_DWORD,"Z coordinate.",_.Read),v(e.TYPE_DWORD,"Y-axis rotation.",_.Read)]},void 0,void 0)],O.Pop),e.OP_P_RETURN_GUILD=e.OPCODES[119]=n(119,"p_return_guild",void 0,[],void 0),e.OP_P_TALK_GUILD=e.OPCODES[120]=n(120,"p_talk_guild",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_NPC_TALK_PL_V3=e.OPCODES[121]=n(121,"npc_talk_pl_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_NPC_TALK_KILL=e.OPCODES[122]=n(122,"npc_talk_kill",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_NPC_CRTPK_V3=e.OPCODES[123]=n(123,"npc_crtpk_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_NPC_CRPPK_V3=e.OPCODES[124]=n(124,"npc_crppk_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_NPC_CRPTALK_V3=e.OPCODES[125]=n(125,"npc_crptalk_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_P_LOOK_AT_V1=e.OPCODES[126]=n(126,"p_look_at_v1",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_NPC_CRP_ID_V3=e.OPCODES[127]=n(127,"npc_crp_id_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_CAM_QUAKE=e.OPCODES[128]=n(128,"cam_quake",void 0,[],void 0),e.OP_CAM_ADJ=e.OPCODES[129]=n(129,"cam_adj",void 0,[],void 0),e.OP_CAM_ZMIN=e.OPCODES[130]=n(130,"cam_zmin",void 0,[],void 0),e.OP_CAM_ZMOUT=e.OPCODES[131]=n(131,"cam_zmout",void 0,[],void 0),e.OP_CAM_PAN_V3=e.OPCODES[132]=n(132,"cam_pan_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_GAME_LEV_SUPER=e.OPCODES[133]=n(133,"game_lev_super",void 0,[],void 0),e.OP_GAME_LEV_RESET=e.OPCODES[134]=n(134,"game_lev_reset",void 0,[],void 0),e.OP_POS_PIPE_V3=e.OPCODES[135]=n(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.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"X coordinate.",_.Read),v(e.TYPE_DWORD,"Y coordinate.",_.Read),v(e.TYPE_DWORD,"Z coordinate.",_.Read),v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_IF_ZONE_CLEAR=e.OPCODES[136]=n(136,"if_zone_clear",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_CHK_ENE_NUM=e.OPCODES[137]=n(137,"chk_ene_num","Retrieves the amount of enemies killed during the quest.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNHIDE_OBJ=e.OPCODES[138]=n(138,"unhide_obj",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNHIDE_ENE=e.OPCODES[139]=n(139,"unhide_ene",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_AT_COORDS_CALL=e.OPCODES[140]=n(140,"at_coords_call",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_I_LABEL,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_AT_COORDS_TALK=e.OPCODES[141]=n(141,"at_coords_talk",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_I_LABEL,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_COL_NPCIN=e.OPCODES[142]=n(142,"col_npcin",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_I_LABEL,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_COL_NPCINR=e.OPCODES[143]=n(143,"col_npcinr",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_SWITCH_ON=e.OPCODES[144]=n(144,"switch_on",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SWITCH_OFF=e.OPCODES[145]=n(145,"switch_off",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_PLAYBGM_EPI=e.OPCODES[146]=n(146,"playbgm_epi",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SET_MAINWARP=e.OPCODES[147]=n(147,"set_mainwarp",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SET_OBJ_PARAM=e.OPCODES[148]=n(148,"set_obj_param","Creates a targetable object.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"X coordinate.",_.Read),v(e.TYPE_DWORD,"Y coordinate.",_.Read),v(e.TYPE_DWORD,"Z coordinate.",_.Read),v(e.TYPE_DWORD,"Collision radius.",_.Read),v(e.TYPE_I_LABEL,"Function label.",_.Read),v(e.TYPE_DWORD,"Vertical position of the cursor.",_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},"Object handle.",void 0)],void 0),e.OP_SET_FLOOR_HANDLER=e.OPCODES[149]=n(149,"set_floor_handler",void 0,[v(e.TYPE_DWORD,"Floor number.",void 0),v(e.TYPE_I_LABEL,"Handler function label.",void 0)],O.Pop),e.OP_CLR_FLOOR_HANDLER=e.OPCODES[150]=n(150,"clr_floor_handler",void 0,[v(e.TYPE_DWORD,"Floor number.",void 0)],O.Pop),e.OP_COL_PLINAW=e.OPCODES[151]=n(151,"col_plinaw",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_HUD_HIDE=e.OPCODES[152]=n(152,"hud_hide",void 0,[],void 0),e.OP_HUD_SHOW=e.OPCODES[153]=n(153,"hud_show",void 0,[],void 0),e.OP_CINE_ENABLE=e.OPCODES[154]=n(154,"cine_enable",void 0,[],void 0),e.OP_CINE_DISABLE=e.OPCODES[155]=n(155,"cine_disable",void 0,[],void 0),e.OP_UNKNOWN_9C=e.OPCODES[156]=n(156,"unknown_9c",void 0,[],void 0),e.OP_UNKNOWN_9D=e.OPCODES[157]=n(157,"unknown_9d",void 0,[],void 0),e.OP_UNKNOWN_9E=e.OPCODES[158]=n(158,"unknown_9e",void 0,[],void 0),e.OP_UNKNOWN_9F=e.OPCODES[159]=n(159,"unknown_9f",void 0,[],void 0),e.OP_UNKNOWN_A0=e.OPCODES[160]=n(160,"unknown_a0",void 0,[],void 0),e.OP_SET_QT_FAILURE=e.OPCODES[161]=n(161,"set_qt_failure",void 0,[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_SET_QT_SUCCESS=e.OPCODES[162]=n(162,"set_qt_success",void 0,[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_CLR_QT_FAILURE=e.OPCODES[163]=n(163,"clr_qt_failure",void 0,[],void 0),e.OP_CLR_QT_SUCCESS=e.OPCODES[164]=n(164,"clr_qt_success",void 0,[],void 0),e.OP_SET_QT_CANCEL=e.OPCODES[165]=n(165,"set_qt_cancel",void 0,[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_CLR_QT_CANCEL=e.OPCODES[166]=n(166,"clr_qt_cancel",void 0,[],void 0),e.OP_UNKNOWN_A7=e.OPCODES[167]=n(167,"unknown_a7",void 0,[],void 0),e.OP_PL_WALK_V3=e.OPCODES[168]=n(168,"pl_walk_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_A9=e.OPCODES[169]=n(169,"unknown_a9",void 0,[],void 0),e.OP_UNKNOWN_AA=e.OPCODES[170]=n(170,"unknown_aa",void 0,[],void 0),e.OP_UNKNOWN_AB=e.OPCODES[171]=n(171,"unknown_ab",void 0,[],void 0),e.OP_UNKNOWN_AC=e.OPCODES[172]=n(172,"unknown_ac",void 0,[],void 0),e.OP_UNKNOWN_AD=e.OPCODES[173]=n(173,"unknown_ad",void 0,[],void 0),e.OP_UNKNOWN_AE=e.OPCODES[174]=n(174,"unknown_ae",void 0,[],void 0),e.OP_UNKNOWN_AF=e.OPCODES[175]=n(175,"unknown_af",void 0,[],void 0),e.OP_PL_ADD_MESETA=e.OPCODES[176]=n(176,"pl_add_meseta",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_THREAD_STG=e.OPCODES[177]=n(177,"thread_stg",void 0,[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_DEL_OBJ_PARAM=e.OPCODES[178]=n(178,"del_obj_param",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},"Object handle.",void 0)],void 0),e.OP_ITEM_CREATE=e.OPCODES[179]=n(179,"item_create",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_ITEM_CREATE2=e.OPCODES[180]=n(180,"item_create2",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_ITEM_DELETE=e.OPCODES[181]=n(181,"item_delete",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_ITEM_DELETE2=e.OPCODES[182]=n(182,"item_delete2","Deletes an item from the player's inventory.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_ITEM_CHECK=e.OPCODES[183]=n(183,"item_check",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_SETEVT=e.OPCODES[184]=n(184,"setevt",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_GET_DIFFLVL=e.OPCODES[185]=n(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.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_SET_QT_EXIT=e.OPCODES[186]=n(186,"set_qt_exit",void 0,[v(e.TYPE_I_LABEL,void 0,void 0)],void 0),e.OP_CLR_QT_EXIT=e.OPCODES[187]=n(187,"clr_qt_exit",void 0,[],void 0),e.OP_UNKNOWN_BC=e.OPCODES[188]=n(188,"unknown_bc",void 0,[],void 0),e.OP_UNKNOWN_BD=e.OPCODES[189]=n(189,"unknown_bd",void 0,[],void 0),e.OP_UNKNOWN_BE=e.OPCODES[190]=n(190,"unknown_be",void 0,[],void 0),e.OP_UNKNOWN_BF=e.OPCODES[191]=n(191,"unknown_bf",void 0,[],void 0),e.OP_PARTICLE_V3=e.OPCODES[192]=n(192,"particle_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_NPC_TEXT=e.OPCODES[193]=n(193,"npc_text",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_NPC_CHKWARP=e.OPCODES[194]=n(194,"npc_chkwarp",void 0,[],void 0),e.OP_PL_PKOFF=e.OPCODES[195]=n(195,"pl_pkoff",void 0,[],void 0),e.OP_MAP_DESIGNATE=e.OPCODES[196]=n(196,"map_designate",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_MASTERKEY_ON=e.OPCODES[197]=n(197,"masterkey_on",void 0,[],void 0),e.OP_MASTERKEY_OFF=e.OPCODES[198]=n(198,"masterkey_off",void 0,[],void 0),e.OP_WINDOW_TIME=e.OPCODES[199]=n(199,"window_time",void 0,[],void 0),e.OP_WINEND_TIME=e.OPCODES[200]=n(200,"winend_time",void 0,[],void 0),e.OP_WINSET_TIME=e.OPCODES[201]=n(201,"winset_time",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GETMTIME=e.OPCODES[202]=n(202,"getmtime",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_SET_QUEST_BOARD_HANDLER=e.OPCODES[203]=n(203,"set_quest_board_handler",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_CLEAR_QUEST_BOARD_HANDLER=e.OPCODES[204]=n(204,"clear_quest_board_handler",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_PARTICLE_ID_V3=e.OPCODES[205]=n(205,"particle_id_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_NPC_CRPTALK_ID_V3=e.OPCODES[206]=n(206,"npc_crptalk_id_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_NPC_LANG_CLEAN=e.OPCODES[207]=n(207,"npc_lang_clean",void 0,[],void 0),e.OP_PL_PKON=e.OPCODES[208]=n(208,"pl_pkon",void 0,[],void 0),e.OP_PL_CHK_ITEM2=e.OPCODES[209]=n(209,"pl_chk_item2",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_ENABLE_MAINMENU=e.OPCODES[210]=n(210,"enable_mainmenu",void 0,[],void 0),e.OP_DISABLE_MAINMENU=e.OPCODES[211]=n(211,"disable_mainmenu",void 0,[],void 0),e.OP_START_BATTLEBGM=e.OPCODES[212]=n(212,"start_battlebgm",void 0,[],void 0),e.OP_END_BATTLEBGM=e.OPCODES[213]=n(213,"end_battlebgm",void 0,[],void 0),e.OP_DISP_MSG_QB=e.OPCODES[214]=n(214,"disp_msg_qb",void 0,[v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_CLOSE_MSG_QB=e.OPCODES[215]=n(215,"close_msg_qb",void 0,[],void 0),e.OP_SET_EVENTFLAG_V3=e.OPCODES[216]=n(216,"set_eventflag_v3",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SYNC_LETI=e.OPCODES[217]=n(217,"sync_leti",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_SET_RETURNHUNTER=e.OPCODES[218]=n(218,"set_returnhunter",void 0,[],void 0),e.OP_SET_RETURNCITY=e.OPCODES[219]=n(219,"set_returncity",void 0,[],void 0),e.OP_LOAD_PVR=e.OPCODES[220]=n(220,"load_pvr",void 0,[],void 0),e.OP_LOAD_MIDI=e.OPCODES[221]=n(221,"load_midi",void 0,[],void 0),e.OP_UNKNOWN_DE=e.OPCODES[222]=n(222,"unknown_de",void 0,[],void 0),e.OP_NPC_PARAM_V3=e.OPCODES[223]=n(223,"npc_param_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_PAD_DRAGON=e.OPCODES[224]=n(224,"pad_dragon",void 0,[],void 0),e.OP_CLEAR_MAINWARP=e.OPCODES[225]=n(225,"clear_mainwarp",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_PCAM_PARAM_V3=e.OPCODES[226]=n(226,"pcam_param_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_START_SETEVT_V3=e.OPCODES[227]=n(227,"start_setevt_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_WARP_ON=e.OPCODES[228]=n(228,"warp_on",void 0,[],void 0),e.OP_WARP_OFF=e.OPCODES[229]=n(229,"warp_off",void 0,[],void 0),e.OP_GET_SLOTNUMBER=e.OPCODES[230]=n(230,"get_slotnumber",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_SERVERNUMBER=e.OPCODES[231]=n(231,"get_servernumber",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_SET_EVENTFLAG2=e.OPCODES[232]=n(232,"set_eventflag2",void 0,[v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],O.Pop),e.OP_RES=e.OPCODES[233]=n(233,"res",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_EA=e.OPCODES[234]=n(234,"unknown_ea",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_ENABLE_BGMCTRL=e.OPCODES[235]=n(235,"enable_bgmctrl",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SW_SEND=e.OPCODES[236]=n(236,"sw_send",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_CREATE_BGMCTRL=e.OPCODES[237]=n(237,"create_bgmctrl",void 0,[],void 0),e.OP_PL_ADD_MESETA2=e.OPCODES[238]=n(238,"pl_add_meseta2",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SYNC_REGISTER=e.OPCODES[239]=n(239,"sync_register",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SEND_REGWORK=e.OPCODES[240]=n(240,"send_regwork",void 0,[],void 0),e.OP_LETI_FIXED_CAMERA_V3=e.OPCODES[241]=n(241,"leti_fixed_camera_v3",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_DEFAULT_CAMERA_POS1=e.OPCODES[242]=n(242,"default_camera_pos1",void 0,[],void 0),e.OP_UNKNOWN_F3=e.OPCODES[243]=n(243,"unknown_f3",void 0,[],void 0),e.OP_UNKNOWN_F4=e.OPCODES[244]=n(244,"unknown_f4",void 0,[],void 0),e.OP_UNKNOWN_F5=e.OPCODES[245]=n(245,"unknown_f5",void 0,[],void 0),e.OP_UNKNOWN_F6=e.OPCODES[246]=n(246,"unknown_f6",void 0,[],void 0),e.OP_UNKNOWN_F7=e.OPCODES[247]=n(247,"unknown_f7",void 0,[],void 0),e.OP_UNKNOWN_F8=e.OPCODES[248]=n(248,"unknown_f8",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F9=e.OPCODES[249]=n(249,"unknown_f9",void 0,[],void 0),e.OP_GET_GC_NUMBER=e.OPCODES[250]=n(250,"get_gc_number",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_FB=e.OPCODES[251]=n(251,"unknown_fb",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_UNKNOWN_FC=e.OPCODES[252]=n(252,"unknown_fc",void 0,[],void 0),e.OP_UNKNOWN_FD=e.OPCODES[253]=n(253,"unknown_fd",void 0,[],void 0),e.OP_UNKNOWN_FE=e.OPCODES[254]=n(254,"unknown_fe",void 0,[],void 0),e.OP_UNKNOWN_FF=e.OPCODES[255]=n(255,"unknown_ff",void 0,[],void 0),e.OP_UNKNOWN_F800=e.OPCODES[63488]=n(63488,"unknown_f800",void 0,[],void 0),e.OP_SET_CHAT_CALLBACK=e.OPCODES[63489]=n(63489,"set_chat_callback",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F802=e.OPCODES[63490]=n(63490,"unknown_f802",void 0,[],void 0),e.OP_UNKNOWN_F803=e.OPCODES[63491]=n(63491,"unknown_f803",void 0,[],void 0),e.OP_UNKNOWN_F804=e.OPCODES[63492]=n(63492,"unknown_f804",void 0,[],void 0),e.OP_UNKNOWN_F805=e.OPCODES[63493]=n(63493,"unknown_f805",void 0,[],void 0),e.OP_UNKNOWN_F806=e.OPCODES[63494]=n(63494,"unknown_f806",void 0,[],void 0),e.OP_UNKNOWN_F807=e.OPCODES[63495]=n(63495,"unknown_f807",void 0,[],void 0),e.OP_GET_DIFFICULTY_LEVEL2=e.OPCODES[63496]=n(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.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_NUMBER_OF_PLAYER1=e.OPCODES[63497]=n(63497,"get_number_of_player1","Set the given register to the current number of players. Either 1, 2, 3 or 4.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_COORD_OF_PLAYER=e.OPCODES[63498]=n(63498,"get_coord_of_player","Retrieves a player's position.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"X coordinate.",_.Write),v(e.TYPE_DWORD,"Y coordinate.",_.Write),v(e.TYPE_DWORD,"Z coordinate.",_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_ENABLE_MAP=e.OPCODES[63499]=n(63499,"enable_map",void 0,[],void 0),e.OP_DISABLE_MAP=e.OPCODES[63500]=n(63500,"disable_map",void 0,[],void 0),e.OP_MAP_DESIGNATE_EX=e.OPCODES[63501]=n(63501,"map_designate_ex",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F80E=e.OPCODES[63502]=n(63502,"unknown_f80e",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F80F=e.OPCODES[63503]=n(63503,"unknown_f80f",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_BA_INITIAL_FLOOR=e.OPCODES[63504]=n(63504,"ba_initial_floor",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SET_BA_RULES=e.OPCODES[63505]=n(63505,"set_ba_rules",void 0,[],void 0),e.OP_UNKNOWN_F812=e.OPCODES[63506]=n(63506,"unknown_f812",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F813=e.OPCODES[63507]=n(63507,"unknown_f813",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F814=e.OPCODES[63508]=n(63508,"unknown_f814",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F815=e.OPCODES[63509]=n(63509,"unknown_f815",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F816=e.OPCODES[63510]=n(63510,"unknown_f816",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F817=e.OPCODES[63511]=n(63511,"unknown_f817",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F818=e.OPCODES[63512]=n(63512,"unknown_f818",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F819=e.OPCODES[63513]=n(63513,"unknown_f819",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F81A=e.OPCODES[63514]=n(63514,"unknown_f81a",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F81B=e.OPCODES[63515]=n(63515,"unknown_f81b",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_BA_DISP_MSG=e.OPCODES[63516]=n(63516,"ba_disp_msg",void 0,[v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_DEATH_LVL_UP=e.OPCODES[63517]=n(63517,"death_lvl_up",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_DEATH_TECH_LVL_UP=e.OPCODES[63518]=n(63518,"death_tech_lvl_up",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F81F=e.OPCODES[63519]=n(63519,"unknown_f81f",void 0,[],void 0),e.OP_CMODE_STAGE=e.OPCODES[63520]=n(63520,"cmode_stage",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F821=e.OPCODES[63521]=n(63521,"unknown_f821",void 0,[],void 0),e.OP_UNKNOWN_F822=e.OPCODES[63522]=n(63522,"unknown_f822",void 0,[],void 0),e.OP_UNKNOWN_F823=e.OPCODES[63523]=n(63523,"unknown_f823",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F824=e.OPCODES[63524]=n(63524,"unknown_f824",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_EXP_MULTIPLICATION=e.OPCODES[63525]=n(63525,"exp_multiplication",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_EXP_DIVISION=e.OPCODES[63526]=n(63526,"exp_division",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_USER_IS_DEAD=e.OPCODES[63527]=n(63527,"get_user_is_dead",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GO_FLOOR=e.OPCODES[63528]=n(63528,"go_floor","Sends a player to the given floor.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Floor ID.",_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F829=e.OPCODES[63529]=n(63529,"unknown_f829",void 0,[],void 0),e.OP_UNKNOWN_F82A=e.OPCODES[63530]=n(63530,"unknown_f82a",void 0,[],void 0),e.OP_UNLOCK_DOOR2=e.OPCODES[63531]=n(63531,"unlock_door2",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_LOCK_DOOR2=e.OPCODES[63532]=n(63532,"lock_door2",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_IF_SWITCH_NOT_PRESSED=e.OPCODES[63533]=n(63533,"if_switch_not_pressed",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_IF_SWITCH_PRESSED=e.OPCODES[63534]=n(63534,"if_switch_pressed",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Floor ID.",_.Read),v(e.TYPE_DWORD,"Switch ID.",_.Read),v(e.TYPE_DWORD,"Will be set to 1 if the switch is pressed, 0 otherwise.",_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F82F=e.OPCODES[63535]=n(63535,"unknown_f82f",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_CONTROL_DRAGON=e.OPCODES[63536]=n(63536,"control_dragon",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_RELEASE_DRAGON=e.OPCODES[63537]=n(63537,"release_dragon",void 0,[],void 0),e.OP_UNKNOWN_F832=e.OPCODES[63538]=n(63538,"unknown_f832",void 0,[],void 0),e.OP_UNKNOWN_F833=e.OPCODES[63539]=n(63539,"unknown_f833",void 0,[],void 0),e.OP_UNKNOWN_F834=e.OPCODES[63540]=n(63540,"unknown_f834",void 0,[],void 0),e.OP_UNKNOWN_F835=e.OPCODES[63541]=n(63541,"unknown_f835",void 0,[],void 0),e.OP_UNKNOWN_F836=e.OPCODES[63542]=n(63542,"unknown_f836",void 0,[],void 0),e.OP_UNKNOWN_F837=e.OPCODES[63543]=n(63543,"unknown_f837",void 0,[],void 0),e.OP_SHRINK=e.OPCODES[63544]=n(63544,"shrink",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_UNSHRINK=e.OPCODES[63545]=n(63545,"unshrink",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F83A=e.OPCODES[63546]=n(63546,"unknown_f83a",void 0,[],void 0),e.OP_UNKNOWN_F83B=e.OPCODES[63547]=n(63547,"unknown_f83b",void 0,[],void 0),e.OP_DISPLAY_CLOCK2=e.OPCODES[63548]=n(63548,"display_clock2",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F83D=e.OPCODES[63549]=n(63549,"unknown_f83d",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_DELETE_AREA_TITLE=e.OPCODES[63550]=n(63550,"delete_area_title",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F83F=e.OPCODES[63551]=n(63551,"unknown_f83f",void 0,[],void 0),e.OP_LOAD_NPC_DATA=e.OPCODES[63552]=n(63552,"load_npc_data",void 0,[],void 0),e.OP_GET_NPC_DATA=e.OPCODES[63553]=n(63553,"get_npc_data",void 0,[v(e.TYPE_D_LABEL,void 0,void 0)],void 0),e.OP_UNKNOWN_F842=e.OPCODES[63554]=n(63554,"unknown_f842",void 0,[],void 0),e.OP_UNKNOWN_F843=e.OPCODES[63555]=n(63555,"unknown_f843",void 0,[],void 0),e.OP_UNKNOWN_F844=e.OPCODES[63556]=n(63556,"unknown_f844",void 0,[],void 0),e.OP_UNKNOWN_F845=e.OPCODES[63557]=n(63557,"unknown_f845",void 0,[],void 0),e.OP_UNKNOWN_F846=e.OPCODES[63558]=n(63558,"unknown_f846",void 0,[],void 0),e.OP_UNKNOWN_F847=e.OPCODES[63559]=n(63559,"unknown_f847",void 0,[],void 0),e.OP_GIVE_DAMAGE_SCORE=e.OPCODES[63560]=n(63560,"give_damage_score",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_TAKE_DAMAGE_SCORE=e.OPCODES[63561]=n(63561,"take_damage_score",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNK_SCORE_F84A=e.OPCODES[63562]=n(63562,"unk_score_f84a",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNK_SCORE_F84B=e.OPCODES[63563]=n(63563,"unk_score_f84b",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_KILL_SCORE=e.OPCODES[63564]=n(63564,"kill_score",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_DEATH_SCORE=e.OPCODES[63565]=n(63565,"death_score",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNK_SCORE_F84E=e.OPCODES[63566]=n(63566,"unk_score_f84e",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_ENEMY_DEATH_SCORE=e.OPCODES[63567]=n(63567,"enemy_death_score",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_MESETA_SCORE=e.OPCODES[63568]=n(63568,"meseta_score",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F851=e.OPCODES[63569]=n(63569,"unknown_f851",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F852=e.OPCODES[63570]=n(63570,"unknown_f852",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_REVERSE_WARPS=e.OPCODES[63571]=n(63571,"reverse_warps",void 0,[],void 0),e.OP_UNREVERSE_WARPS=e.OPCODES[63572]=n(63572,"unreverse_warps",void 0,[],void 0),e.OP_SET_ULT_MAP=e.OPCODES[63573]=n(63573,"set_ult_map",void 0,[],void 0),e.OP_UNSET_ULT_MAP=e.OPCODES[63574]=n(63574,"unset_ult_map",void 0,[],void 0),e.OP_SET_AREA_TITLE=e.OPCODES[63575]=n(63575,"set_area_title",void 0,[v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F858=e.OPCODES[63576]=n(63576,"unknown_f858",void 0,[],void 0),e.OP_UNKNOWN_F859=e.OPCODES[63577]=n(63577,"unknown_f859",void 0,[],void 0),e.OP_EQUIP_ITEM=e.OPCODES[63578]=n(63578,"equip_item",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNEQUIP_ITEM=e.OPCODES[63579]=n(63579,"unequip_item",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F85C=e.OPCODES[63580]=n(63580,"unknown_f85c",void 0,[],void 0),e.OP_UNKNOWN_F85D=e.OPCODES[63581]=n(63581,"unknown_f85d",void 0,[],void 0),e.OP_UNKNOWN_F85E=e.OPCODES[63582]=n(63582,"unknown_f85e",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F85F=e.OPCODES[63583]=n(63583,"unknown_f85f",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F860=e.OPCODES[63584]=n(63584,"unknown_f860",void 0,[],void 0),e.OP_UNKNOWN_F861=e.OPCODES[63585]=n(63585,"unknown_f861",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F862=e.OPCODES[63586]=n(63586,"unknown_f862",void 0,[],void 0),e.OP_UNKNOWN_F863=e.OPCODES[63587]=n(63587,"unknown_f863",void 0,[],void 0),e.OP_CMODE_RANK=e.OPCODES[63588]=n(63588,"cmode_rank",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_AWARD_ITEM_NAME=e.OPCODES[63589]=n(63589,"award_item_name",void 0,[],void 0),e.OP_AWARD_ITEM_SELECT=e.OPCODES[63590]=n(63590,"award_item_select",void 0,[],void 0),e.OP_AWARD_ITEM_GIVE_TO=e.OPCODES[63591]=n(63591,"award_item_give_to",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F868=e.OPCODES[63592]=n(63592,"unknown_f868",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F869=e.OPCODES[63593]=n(63593,"unknown_f869",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_ITEM_CREATE_CMODE=e.OPCODES[63594]=n(63594,"item_create_cmode",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F86B=e.OPCODES[63595]=n(63595,"unknown_f86b",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_AWARD_ITEM_OK=e.OPCODES[63596]=n(63596,"award_item_ok",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F86D=e.OPCODES[63597]=n(63597,"unknown_f86d",void 0,[],void 0),e.OP_UNKNOWN_F86E=e.OPCODES[63598]=n(63598,"unknown_f86e",void 0,[],void 0),e.OP_BA_SET_LIVES=e.OPCODES[63599]=n(63599,"ba_set_lives",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_BA_SET_TECH_LVL=e.OPCODES[63600]=n(63600,"ba_set_tech_lvl",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_BA_SET_LVL=e.OPCODES[63601]=n(63601,"ba_set_lvl",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_BA_SET_TIME_LIMIT=e.OPCODES[63602]=n(63602,"ba_set_time_limit",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_BOSS_IS_DEAD=e.OPCODES[63603]=n(63603,"boss_is_dead",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F874=e.OPCODES[63604]=n(63604,"unknown_f874",void 0,[],void 0),e.OP_UNKNOWN_F875=e.OPCODES[63605]=n(63605,"unknown_f875",void 0,[],void 0),e.OP_UNKNOWN_F876=e.OPCODES[63606]=n(63606,"unknown_f876",void 0,[],void 0),e.OP_ENABLE_TECHS=e.OPCODES[63607]=n(63607,"enable_techs","Enables technique use for the given player.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_DISABLE_TECHS=e.OPCODES[63608]=n(63608,"disable_techs","Disables technique use for the given player.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_GET_GENDER=e.OPCODES[63609]=n(63609,"get_gender","Retrieves the player's gender. 0 If male, 1 if female.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player gender.",_.Write)]},void 0,void 0)],void 0),e.OP_GET_CHARA_CLASS=e.OPCODES[63610]=n(63610,"get_chara_class","Retrieves the player's race and character class.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player race. 0 If human, 1 if newman, 2 if cast.",_.Write),v(e.TYPE_DWORD,"Player class. 0 If hunter, 1 if ranger, 2 if force.",_.Write)]},void 0,void 0)],void 0),e.OP_TAKE_SLOT_MESETA=e.OPCODES[63611]=n(63611,"take_slot_meseta","Takes an amount of meseta from a player's inventory.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read),v(e.TYPE_DWORD,"Amount of meseta to take.",_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Will be set to 1 if the meseta was taken, 0 otherwise.",_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F87C=e.OPCODES[63612]=n(63612,"unknown_f87c",void 0,[],void 0),e.OP_UNKNOWN_F87D=e.OPCODES[63613]=n(63613,"unknown_f87d",void 0,[],void 0),e.OP_UNKNOWN_F87E=e.OPCODES[63614]=n(63614,"unknown_f87e",void 0,[],void 0),e.OP_READ_GUILDCARD_FLAG=e.OPCODES[63615]=n(63615,"read_guildcard_flag",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F880=e.OPCODES[63616]=n(63616,"unknown_f880",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_PL_NAME=e.OPCODES[63617]=n(63617,"get_pl_name","Sets the value of <pl_name> to the given player's name.",[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F882=e.OPCODES[63618]=n(63618,"unknown_f882",void 0,[],void 0),e.OP_UNKNOWN_F883=e.OPCODES[63619]=n(63619,"unknown_f883",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F884=e.OPCODES[63620]=n(63620,"unknown_f884",void 0,[],void 0),e.OP_UNKNOWN_F885=e.OPCODES[63621]=n(63621,"unknown_f885",void 0,[],void 0),e.OP_UNKNOWN_F886=e.OPCODES[63622]=n(63622,"unknown_f886",void 0,[],void 0),e.OP_UNKNOWN_F887=e.OPCODES[63623]=n(63623,"unknown_f887",void 0,[],void 0),e.OP_UNKNOWN_F888=e.OPCODES[63624]=n(63624,"unknown_f888",void 0,[],void 0),e.OP_UNKNOWN_F889=e.OPCODES[63625]=n(63625,"unknown_f889",void 0,[],void 0),e.OP_GET_PLAYER_STATUS=e.OPCODES[63626]=n(63626,"get_player_status",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_SEND_MAIL=e.OPCODES[63627]=n(63627,"send_mail",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_ONLINE_CHECK=e.OPCODES[63628]=n(63628,"online_check",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_CHL_SET_TIMERECORD=e.OPCODES[63629]=n(63629,"chl_set_timerecord",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_CHL_GET_TIMERECORD=e.OPCODES[63630]=n(63630,"chl_get_timerecord",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F88F=e.OPCODES[63631]=n(63631,"unknown_f88f",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F890=e.OPCODES[63632]=n(63632,"unknown_f890",void 0,[],void 0),e.OP_LOAD_ENEMY_DATA=e.OPCODES[63633]=n(63633,"load_enemy_data",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_GET_PHYSICAL_DATA=e.OPCODES[63634]=n(63634,"get_physical_data",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_GET_ATTACK_DATA=e.OPCODES[63635]=n(63635,"get_attack_data",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_GET_RESIST_DATA=e.OPCODES[63636]=n(63636,"get_resist_data",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_GET_MOVEMENT_DATA=e.OPCODES[63637]=n(63637,"get_movement_data",void 0,[v(e.TYPE_WORD,void 0,void 0)],void 0),e.OP_UNKNOWN_F896=e.OPCODES[63638]=n(63638,"unknown_f896",void 0,[],void 0),e.OP_UNKNOWN_F897=e.OPCODES[63639]=n(63639,"unknown_f897",void 0,[],void 0),e.OP_SHIFT_LEFT=e.OPCODES[63640]=n(63640,"shift_left",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_SHIFT_RIGHT=e.OPCODES[63641]=n(63641,"shift_right",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_GET_RANDOM=e.OPCODES[63642]=n(63642,"get_random",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_RESET_MAP=e.OPCODES[63643]=n(63643,"reset_map","Sets all registers to 0 and resets the quest.",[],void 0),e.OP_DISP_CHL_RETRY_MENU=e.OPCODES[63644]=n(63644,"disp_chl_retry_menu",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_CHL_REVERSER=e.OPCODES[63645]=n(63645,"chl_reverser",void 0,[],void 0),e.OP_UNKNOWN_F89E=e.OPCODES[63646]=n(63646,"unknown_f89e",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F89F=e.OPCODES[63647]=n(63647,"unknown_f89f",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8A0=e.OPCODES[63648]=n(63648,"unknown_f8a0",void 0,[],void 0),e.OP_UNKNOWN_F8A1=e.OPCODES[63649]=n(63649,"unknown_f8a1",void 0,[],void 0),e.OP_UNKNOWN_F8A2=e.OPCODES[63650]=n(63650,"unknown_f8a2",void 0,[],void 0),e.OP_UNKNOWN_F8A3=e.OPCODES[63651]=n(63651,"unknown_f8a3",void 0,[],void 0),e.OP_UNKNOWN_F8A4=e.OPCODES[63652]=n(63652,"unknown_f8a4",void 0,[],void 0),e.OP_UNKNOWN_F8A5=e.OPCODES[63653]=n(63653,"unknown_f8a5",void 0,[],void 0),e.OP_UNKNOWN_F8A6=e.OPCODES[63654]=n(63654,"unknown_f8a6",void 0,[],void 0),e.OP_UNKNOWN_F8A7=e.OPCODES[63655]=n(63655,"unknown_f8a7",void 0,[],void 0),e.OP_UNKNOWN_F8A8=e.OPCODES[63656]=n(63656,"unknown_f8a8",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F8A9=e.OPCODES[63657]=n(63657,"unknown_f8a9",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8AA=e.OPCODES[63658]=n(63658,"unknown_f8aa",void 0,[],void 0),e.OP_UNKNOWN_F8AB=e.OPCODES[63659]=n(63659,"unknown_f8ab",void 0,[],void 0),e.OP_UNKNOWN_F8AC=e.OPCODES[63660]=n(63660,"unknown_f8ac",void 0,[],void 0),e.OP_GET_NUMBER_OF_PLAYER2=e.OPCODES[63661]=n(63661,"get_number_of_player2",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8AE=e.OPCODES[63662]=n(63662,"unknown_f8ae",void 0,[],void 0),e.OP_UNKNOWN_F8AF=e.OPCODES[63663]=n(63663,"unknown_f8af",void 0,[],void 0),e.OP_UNKNOWN_F8B0=e.OPCODES[63664]=n(63664,"unknown_f8b0",void 0,[],void 0),e.OP_UNKNOWN_F8B1=e.OPCODES[63665]=n(63665,"unknown_f8b1",void 0,[],void 0),e.OP_UNKNOWN_F8B2=e.OPCODES[63666]=n(63666,"unknown_f8b2",void 0,[],void 0),e.OP_UNKNOWN_F8B3=e.OPCODES[63667]=n(63667,"unknown_f8b3",void 0,[],void 0),e.OP_UNKNOWN_F8B4=e.OPCODES[63668]=n(63668,"unknown_f8b4",void 0,[],void 0),e.OP_UNKNOWN_F8B5=e.OPCODES[63669]=n(63669,"unknown_f8b5",void 0,[],void 0),e.OP_UNKNOWN_F8B6=e.OPCODES[63670]=n(63670,"unknown_f8b6",void 0,[],void 0),e.OP_UNKNOWN_F8B7=e.OPCODES[63671]=n(63671,"unknown_f8b7",void 0,[],void 0),e.OP_UNKNOWN_F8B8=e.OPCODES[63672]=n(63672,"unknown_f8b8",void 0,[],void 0),e.OP_CHL_RECOVERY=e.OPCODES[63673]=n(63673,"chl_recovery",void 0,[],void 0),e.OP_UNKNOWN_F8BA=e.OPCODES[63674]=n(63674,"unknown_f8ba",void 0,[],void 0),e.OP_UNKNOWN_F8BB=e.OPCODES[63675]=n(63675,"unknown_f8bb",void 0,[],void 0),e.OP_SET_EPISODE=e.OPCODES[63676]=n(63676,"set_episode",void 0,[v(e.TYPE_DWORD,void 0,void 0)],void 0),e.OP_UNKNOWN_F8BD=e.OPCODES[63677]=n(63677,"unknown_f8bd",void 0,[],void 0),e.OP_UNKNOWN_F8BE=e.OPCODES[63678]=n(63678,"unknown_f8be",void 0,[],void 0),e.OP_UNKNOWN_F8BF=e.OPCODES[63679]=n(63679,"unknown_f8bf",void 0,[],void 0),e.OP_FILE_DL_REQ=e.OPCODES[63680]=n(63680,"file_dl_req",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_GET_DL_STATUS=e.OPCODES[63681]=n(63681,"get_dl_status",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GBA_UNKNOWN4=e.OPCODES[63682]=n(63682,"gba_unknown4",void 0,[],void 0),e.OP_GET_GBA_STATE=e.OPCODES[63683]=n(63683,"get_gba_state",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8C4=e.OPCODES[63684]=n(63684,"unknown_f8c4",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8C5=e.OPCODES[63685]=n(63685,"unknown_f8c5",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_QEXIT=e.OPCODES[63686]=n(63686,"qexit",void 0,[],void 0),e.OP_USE_ANIMATION=e.OPCODES[63687]=n(63687,"use_animation",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Animation ID.",_.Read),v(e.TYPE_DWORD,"Animation duration in number of frames.",_.Read)]},void 0,void 0)],void 0),e.OP_STOP_ANIMATION=e.OPCODES[63688]=n(63688,"stop_animation",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_RUN_TO_COORD=e.OPCODES[63689]=n(63689,"run_to_coord",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_INVINCIBLE=e.OPCODES[63690]=n(63690,"set_slot_invincible",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8CB=e.OPCODES[63691]=n(63691,"unknown_f8cb",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_POISON=e.OPCODES[63692]=n(63692,"set_slot_poison",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_PARALYZE=e.OPCODES[63693]=n(63693,"set_slot_paralyze",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_SHOCK=e.OPCODES[63694]=n(63694,"set_slot_shock",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_FREEZE=e.OPCODES[63695]=n(63695,"set_slot_freeze",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_SLOW=e.OPCODES[63696]=n(63696,"set_slot_slow",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_CONFUSE=e.OPCODES[63697]=n(63697,"set_slot_confuse",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_SHIFTA=e.OPCODES[63698]=n(63698,"set_slot_shifta",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_DEBAND=e.OPCODES[63699]=n(63699,"set_slot_deband",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_JELLEN=e.OPCODES[63700]=n(63700,"set_slot_jellen",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_SET_SLOT_ZALURE=e.OPCODES[63701]=n(63701,"set_slot_zalure",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read)]},void 0,void 0)],void 0),e.OP_FLETI_FIXED_CAMERA=e.OPCODES[63702]=n(63702,"fleti_fixed_camera",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],O.Pop),e.OP_FLETI_LOCKED_CAMERA=e.OPCODES[63703]=n(63703,"fleti_locked_camera",void 0,[v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],O.Pop),e.OP_DEFAULT_CAMERA_POS2=e.OPCODES[63704]=n(63704,"default_camera_pos2",void 0,[],void 0),e.OP_SET_MOTION_BLUR=e.OPCODES[63705]=n(63705,"set_motion_blur",void 0,[],void 0),e.OP_SET_SCREEN_BW=e.OPCODES[63706]=n(63706,"set_screen_bw",void 0,[],void 0),e.OP_UNKNOWN_F8DB=e.OPCODES[63707]=n(63707,"unknown_f8db",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_WORD,void 0,void 0)],O.Pop),e.OP_NPC_ACTION_STRING=e.OPCODES[63708]=n(63708,"npc_action_string",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v(e.TYPE_S_LABEL,void 0,void 0)],void 0),e.OP_GET_PAD_COND=e.OPCODES[63709]=n(63709,"get_pad_cond",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_BUTTON_COND=e.OPCODES[63710]=n(63710,"get_button_cond",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_FREEZE_ENEMIES=e.OPCODES[63711]=n(63711,"freeze_enemies",void 0,[],void 0),e.OP_UNFREEZE_ENEMIES=e.OPCODES[63712]=n(63712,"unfreeze_enemies",void 0,[],void 0),e.OP_FREEZE_EVERYTHING=e.OPCODES[63713]=n(63713,"freeze_everything",void 0,[],void 0),e.OP_UNFREEZE_EVERYTHING=e.OPCODES[63714]=n(63714,"unfreeze_everything",void 0,[],void 0),e.OP_RESTORE_HP=e.OPCODES[63715]=n(63715,"restore_hp",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_RESTORE_TP=e.OPCODES[63716]=n(63716,"restore_tp",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_CLOSE_CHAT_BUBBLE=e.OPCODES[63717]=n(63717,"close_chat_bubble",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_MOVE_COORDS_OBJECT=e.OPCODES[63718]=n(63718,"move_coords_object",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_AT_COORDS_CALL_EX=e.OPCODES[63719]=n(63719,"at_coords_call_ex",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8E8=e.OPCODES[63720]=n(63720,"unknown_f8e8",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8E9=e.OPCODES[63721]=n(63721,"unknown_f8e9",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8EA=e.OPCODES[63722]=n(63722,"unknown_f8ea",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8EB=e.OPCODES[63723]=n(63723,"unknown_f8eb",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F8EC=e.OPCODES[63724]=n(63724,"unknown_f8ec",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_ANIMATION_CHECK=e.OPCODES[63725]=n(63725,"animation_check",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_CALL_IMAGE_DATA=e.OPCODES[63726]=n(63726,"call_image_data",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_WORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F8EF=e.OPCODES[63727]=n(63727,"unknown_f8ef",void 0,[],void 0),e.OP_TURN_OFF_BGM_P2=e.OPCODES[63728]=n(63728,"turn_off_bgm_p2",void 0,[],void 0),e.OP_TURN_ON_BGM_P2=e.OPCODES[63729]=n(63729,"turn_on_bgm_p2",void 0,[],void 0),e.OP_LOAD_UNK_DATA=e.OPCODES[63730]=n(63730,"load_unk_data",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_D_LABEL,void 0,void 0)],O.Pop),e.OP_PARTICLE2=e.OPCODES[63731]=n(63731,"particle2",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F8F4=e.OPCODES[63732]=n(63732,"unknown_f8f4",void 0,[],void 0),e.OP_UNKNOWN_F8F5=e.OPCODES[63733]=n(63733,"unknown_f8f5",void 0,[],void 0),e.OP_UNKNOWN_F8F6=e.OPCODES[63734]=n(63734,"unknown_f8f6",void 0,[],void 0),e.OP_UNKNOWN_F8F7=e.OPCODES[63735]=n(63735,"unknown_f8f7",void 0,[],void 0),e.OP_UNKNOWN_F8F8=e.OPCODES[63736]=n(63736,"unknown_f8f8",void 0,[],void 0),e.OP_UNKNOWN_F8F9=e.OPCODES[63737]=n(63737,"unknown_f8f9",void 0,[],void 0),e.OP_UNKNOWN_F8FA=e.OPCODES[63738]=n(63738,"unknown_f8fa",void 0,[],void 0),e.OP_UNKNOWN_F8FB=e.OPCODES[63739]=n(63739,"unknown_f8fb",void 0,[],void 0),e.OP_UNKNOWN_F8FC=e.OPCODES[63740]=n(63740,"unknown_f8fc",void 0,[],void 0),e.OP_UNKNOWN_F8FD=e.OPCODES[63741]=n(63741,"unknown_f8fd",void 0,[],void 0),e.OP_UNKNOWN_F8FE=e.OPCODES[63742]=n(63742,"unknown_f8fe",void 0,[],void 0),e.OP_UNKNOWN_F8FF=e.OPCODES[63743]=n(63743,"unknown_f8ff",void 0,[],void 0),e.OP_UNKNOWN_F900=e.OPCODES[63744]=n(63744,"unknown_f900",void 0,[],void 0),e.OP_DEC2FLOAT=e.OPCODES[63745]=n(63745,"dec2float",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_FLOAT2DEC=e.OPCODES[63746]=n(63746,"float2dec",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_FLET=e.OPCODES[63747]=n(63747,"flet",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_FLETI=e.OPCODES[63748]=n(63748,"fleti",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0)],void 0),e.OP_UNKNOWN_F905=e.OPCODES[63749]=n(63749,"unknown_f905",void 0,[],void 0),e.OP_UNKNOWN_F906=e.OPCODES[63750]=n(63750,"unknown_f906",void 0,[],void 0),e.OP_UNKNOWN_F907=e.OPCODES[63751]=n(63751,"unknown_f907",void 0,[],void 0),e.OP_FADD=e.OPCODES[63752]=n(63752,"fadd",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_FADDI=e.OPCODES[63753]=n(63753,"faddi",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0)],void 0),e.OP_FSUB=e.OPCODES[63754]=n(63754,"fsub",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_FSUBI=e.OPCODES[63755]=n(63755,"fsubi",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0)],void 0),e.OP_FMUL=e.OPCODES[63756]=n(63756,"fmul",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_FMULI=e.OPCODES[63757]=n(63757,"fmuli",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0)],void 0),e.OP_FDIV=e.OPCODES[63758]=n(63758,"fdiv",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_FDIVI=e.OPCODES[63759]=n(63759,"fdivi",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_FLOAT,void 0,_.Write)]},void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0)],void 0),e.OP_GET_UNKNOWN_COUNT=e.OPCODES[63760]=n(63760,"get_unknown_count",void 0,[v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_GET_STACKABLE_ITEM_COUNT=e.OPCODES[63761]=n(63761,"get_stackable_item_count",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Player slot.",_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read),v(e.TYPE_DWORD,void 0,_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_FREEZE_AND_HIDE_EQUIP=e.OPCODES[63762]=n(63762,"freeze_and_hide_equip",void 0,[],void 0),e.OP_THAW_AND_SHOW_EQUIP=e.OPCODES[63763]=n(63763,"thaw_and_show_equip",void 0,[],void 0),e.OP_SET_PALETTEX_CALLBACK=e.OPCODES[63764]=n(63764,"set_palettex_callback",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_ACTIVATE_PALETTEX=e.OPCODES[63765]=n(63765,"activate_palettex",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0)],O.Pop),e.OP_ENABLE_PALETTEX=e.OPCODES[63766]=n(63766,"enable_palettex",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0)],O.Pop),e.OP_RESTORE_PALETTEX=e.OPCODES[63767]=n(63767,"restore_palettex",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0)],O.Pop),e.OP_DISABLE_PALETTEX=e.OPCODES[63768]=n(63768,"disable_palettex",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0)],O.Pop),e.OP_GET_PALETTEX_ACTIVATED=e.OPCODES[63769]=n(63769,"get_palettex_activated",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_GET_UNKNOWN_PALETTEX_STATUS=e.OPCODES[63770]=n(63770,"get_unknown_palettex_status",void 0,[v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_DISABLE_MOVEMENT2=e.OPCODES[63771]=n(63771,"disable_movement2",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0)],O.Pop),e.OP_ENABLE_MOVEMENT2=e.OPCODES[63772]=n(63772,"enable_movement2",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0)],O.Pop),e.OP_GET_TIME_PLAYED=e.OPCODES[63773]=n(63773,"get_time_played",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_GUILDCARD_TOTAL=e.OPCODES[63774]=n(63774,"get_guildcard_total",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_SLOT_MESETA=e.OPCODES[63775]=n(63775,"get_slot_meseta",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_PLAYER_LEVEL=e.OPCODES[63776]=n(63776,"get_player_level",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_GET_SECTION_ID=e.OPCODES[63777]=n(63777,"get_section_id",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_GET_PLAYER_HP=e.OPCODES[63778]=n(63778,"get_player_hp",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,"Maximum HP.",_.Write),v(e.TYPE_DWORD,"Current HP.",_.Write),v(e.TYPE_DWORD,"Maximum TP.",_.Write),v(e.TYPE_DWORD,"Current TP.",_.Write)]},void 0,void 0)],O.Pop),e.OP_GET_FLOOR_NUMBER=e.OPCODES[63779]=n(63779,"get_floor_number",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_GET_COORD_PLAYER_DETECT=e.OPCODES[63780]=n(63780,"get_coord_player_detect",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,"Player slot.",_.Read)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Read)]},void 0,void 0)],void 0),e.OP_READ_GLOBAL_FLAG=e.OPCODES[63781]=n(63781,"read_global_flag",void 0,[v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_WRITE_GLOBAL_FLAG=e.OPCODES[63782]=n(63782,"write_global_flag",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F927=e.OPCODES[63783]=n(63783,"unknown_f927",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_FLOOR_PLAYER_DETECT=e.OPCODES[63784]=n(63784,"floor_player_detect",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write),v(e.TYPE_DWORD,void 0,_.Write),v(e.TYPE_DWORD,void 0,_.Write),v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_READ_DISK_FILE=e.OPCODES[63785]=n(63785,"read_disk_file",void 0,[v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_OPEN_PACK_SELECT=e.OPCODES[63786]=n(63786,"open_pack_select",void 0,[],void 0),e.OP_ITEM_SELECT=e.OPCODES[63787]=n(63787,"item_select",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_GET_ITEM_ID=e.OPCODES[63788]=n(63788,"get_item_id",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_COLOR_CHANGE=e.OPCODES[63789]=n(63789,"color_change",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SEND_STATISTIC=e.OPCODES[63790]=n(63790,"send_statistic",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F92F=e.OPCODES[63791]=n(63791,"unknown_f92f",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_CHAT_BOX=e.OPCODES[63792]=n(63792,"chat_box",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_CHAT_BUBBLE=e.OPCODES[63793]=n(63793,"chat_bubble",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F932=e.OPCODES[63794]=n(63794,"unknown_f932",void 0,[],void 0),e.OP_UNKNOWN_F933=e.OPCODES[63795]=n(63795,"unknown_f933",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_SCROLL_TEXT=e.OPCODES[63796]=n(63796,"scroll_text",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_GBA_UNKNOWN1=e.OPCODES[63797]=n(63797,"gba_unknown1",void 0,[],void 0),e.OP_GBA_UNKNOWN2=e.OPCODES[63798]=n(63798,"gba_unknown2",void 0,[],void 0),e.OP_GBA_UNKNOWN3=e.OPCODES[63799]=n(63799,"gba_unknown3",void 0,[],void 0),e.OP_ADD_DAMAGE_TO=e.OPCODES[63800]=n(63800,"add_damage_to",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_ITEM_DELETE3=e.OPCODES[63801]=n(63801,"item_delete3",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_GET_ITEM_INFO=e.OPCODES[63802]=n(63802,"get_item_info",void 0,[v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_ITEM_PACKING1=e.OPCODES[63803]=n(63803,"item_packing1",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_ITEM_PACKING2=e.OPCODES[63804]=n(63804,"item_packing2",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_GET_LANG_SETTING=e.OPCODES[63805]=n(63805,"get_lang_setting",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_ANY,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_PREPARE_STATISTIC=e.OPCODES[63806]=n(63806,"prepare_statistic",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_KEYWORD_DETECT=e.OPCODES[63807]=n(63807,"keyword_detect",void 0,[],void 0),e.OP_KEYWORD=e.OPCODES[63808]=n(63808,"keyword",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,"Player slot.",void 0),v(e.TYPE_STRING,void 0,void 0)],O.Pop),e.OP_GET_GUILDCARD_NUM=e.OPCODES[63809]=n(63809,"get_guildcard_num",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_UNKNOWN_F942=e.OPCODES[63810]=n(63810,"unknown_f942",void 0,[],void 0),e.OP_UNKNOWN_F943=e.OPCODES[63811]=n(63811,"unknown_f943",void 0,[],void 0),e.OP_GET_WRAP_STATUS=e.OPCODES[63812]=n(63812,"get_wrap_status",void 0,[v(e.TYPE_DWORD,"Player slot.",void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_INITIAL_FLOOR=e.OPCODES[63813]=n(63813,"initial_floor",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_SIN=e.OPCODES[63814]=n(63814,"sin",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_COS=e.OPCODES[63815]=n(63815,"cos",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F948=e.OPCODES[63816]=n(63816,"unknown_f948",void 0,[],void 0),e.OP_UNKNOWN_F949=e.OPCODES[63817]=n(63817,"unknown_f949",void 0,[],void 0),e.OP_BOSS_IS_DEAD2=e.OPCODES[63818]=n(63818,"boss_is_dead2",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F94B=e.OPCODES[63819]=n(63819,"unknown_f94b",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F94C=e.OPCODES[63820]=n(63820,"unknown_f94c",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_IS_THERE_CARDBATTLE=e.OPCODES[63821]=n(63821,"is_there_cardbattle",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_UNKNOWN_F94E=e.OPCODES[63822]=n(63822,"unknown_f94e",void 0,[],void 0),e.OP_UNKNOWN_F94F=e.OPCODES[63823]=n(63823,"unknown_f94f",void 0,[],void 0),e.OP_BB_P2_MENU=e.OPCODES[63824]=n(63824,"bb_p2_menu",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_BB_MAP_DESIGNATE=e.OPCODES[63825]=n(63825,"bb_map_designate",void 0,[v(e.TYPE_BYTE,void 0,void 0),v(e.TYPE_WORD,void 0,void 0),v(e.TYPE_BYTE,void 0,void 0),v(e.TYPE_BYTE,void 0,void 0)],void 0),e.OP_BB_GET_NUMBER_IN_PACK=e.OPCODES[63826]=n(63826,"bb_get_number_in_pack",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],void 0),e.OP_BB_SWAP_ITEM=e.OPCODES[63827]=n(63827,"bb_swap_item",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_BB_CHECK_WRAP=e.OPCODES[63828]=n(63828,"bb_check_wrap",void 0,[v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0)],O.Pop),e.OP_BB_EXCHANGE_PD_ITEM=e.OPCODES[63829]=n(63829,"bb_exchange_pd_item",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_BB_EXCHANGE_PD_SRANK=e.OPCODES[63830]=n(63830,"bb_exchange_pd_srank",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_BB_EXCHANGE_PD_SPECIAL=e.OPCODES[63831]=n(63831,"bb_exchange_pd_special",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_BB_EXCHANGE_PD_PERCENT=e.OPCODES[63832]=n(63832,"bb_exchange_pd_percent",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F959=e.OPCODES[63833]=n(63833,"unknown_f959",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F95A=e.OPCODES[63834]=n(63834,"unknown_f95a",void 0,[],void 0),e.OP_UNKNOWN_F95B=e.OPCODES[63835]=n(63835,"unknown_f95b",void 0,[],void 0),e.OP_BB_EXCHANGE_SLT=e.OPCODES[63836]=n(63836,"bb_exchange_slt",void 0,[v(e.TYPE_DWORD,void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_BB_EXCHANGE_PC=e.OPCODES[63837]=n(63837,"bb_exchange_pc",void 0,[],void 0),e.OP_BB_BOX_CREATE_BP=e.OPCODES[63838]=n(63838,"bb_box_create_bp",void 0,[v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0),v(e.TYPE_FLOAT,void 0,void 0)],O.Pop),e.OP_BB_EXCHANGE_PT=e.OPCODES[63839]=n(63839,"bb_exchange_pt",void 0,[v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v({kind:d.RegTupRef,register_tuples:[v(e.TYPE_DWORD,void 0,_.Write)]},void 0,void 0),v(e.TYPE_DWORD,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0),v(e.TYPE_I_LABEL,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F960=e.OPCODES[63840]=n(63840,"unknown_f960",void 0,[v(e.TYPE_DWORD,void 0,void 0)],O.Pop),e.OP_UNKNOWN_F961=e.OPCODES[63841]=n(63841,"unknown_f961",void 0,[],void 0),e.OP_UNKNOWN_F962=e.OPCODES[63842]=n(63842,"unknown_f962",void 0,[],void 0),e.OP_UNKNOWN_F963=e.OPCODES[63843]=n(63843,"unknown_f963",void 0,[],void 0),e.OP_UNKNOWN_F964=e.OPCODES[63844]=n(63844,"unknown_f964",void 0,[],void 0),e.OP_UNKNOWN_F965=e.OPCODES[63845]=n(63845,"unknown_f965",void 0,[],void 0),e.OP_UNKNOWN_F966=e.OPCODES[63846]=n(63846,"unknown_f966",void 0,[],void 0),e.OP_UNKNOWN_F967=e.OPCODES[63847]=n(63847,"unknown_f967",void 0,[],void 0),e.OP_UNKNOWN_F968=e.OPCODES[63848]=n(63848,"unknown_f968",void 0,[],void 0),e.OP_UNKNOWN_F969=e.OPCODES[63849]=n(63849,"unknown_f969",void 0,[],void 0),e.OP_UNKNOWN_F96A=e.OPCODES[63850]=n(63850,"unknown_f96a",void 0,[],void 0),e.OP_UNKNOWN_F96B=e.OPCODES[63851]=n(63851,"unknown_f96b",void 0,[],void 0),e.OP_UNKNOWN_F96C=e.OPCODES[63852]=n(63852,"unknown_f96c",void 0,[],void 0),e.OP_UNKNOWN_F96D=e.OPCODES[63853]=n(63853,"unknown_f96d",void 0,[],void 0),e.OP_UNKNOWN_F96E=e.OPCODES[63854]=n(63854,"unknown_f96e",void 0,[],void 0),e.OP_UNKNOWN_F96F=e.OPCODES[63855]=n(63855,"unknown_f96f",void 0,[],void 0),e.OP_UNKNOWN_F970=e.OPCODES[63856]=n(63856,"unknown_f970",void 0,[],void 0),e.OP_UNKNOWN_F971=e.OPCODES[63857]=n(63857,"unknown_f971",void 0,[],void 0),e.OP_UNKNOWN_F972=e.OPCODES[63858]=n(63858,"unknown_f972",void 0,[],void 0),e.OP_UNKNOWN_F973=e.OPCODES[63859]=n(63859,"unknown_f973",void 0,[],void 0),e.OP_UNKNOWN_F974=e.OPCODES[63860]=n(63860,"unknown_f974",void 0,[],void 0),e.OP_UNKNOWN_F975=e.OPCODES[63861]=n(63861,"unknown_f975",void 0,[],void 0),e.OP_UNKNOWN_F976=e.OPCODES[63862]=n(63862,"unknown_f976",void 0,[],void 0),e.OP_UNKNOWN_F977=e.OPCODES[63863]=n(63863,"unknown_f977",void 0,[],void 0),e.OP_UNKNOWN_F978=e.OPCODES[63864]=n(63864,"unknown_f978",void 0,[],void 0),e.OP_UNKNOWN_F979=e.OPCODES[63865]=n(63865,"unknown_f979",void 0,[],void 0),e.OP_UNKNOWN_F97A=e.OPCODES[63866]=n(63866,"unknown_f97a",void 0,[],void 0),e.OP_UNKNOWN_F97B=e.OPCODES[63867]=n(63867,"unknown_f97b",void 0,[],void 0),e.OP_UNKNOWN_F97C=e.OPCODES[63868]=n(63868,"unknown_f97c",void 0,[],void 0),e.OP_UNKNOWN_F97D=e.OPCODES[63869]=n(63869,"unknown_f97d",void 0,[],void 0),e.OP_UNKNOWN_F97E=e.OPCODES[63870]=n(63870,"unknown_f97e",void 0,[],void 0),e.OP_UNKNOWN_F97F=e.OPCODES[63871]=n(63871,"unknown_f97f",void 0,[],void 0),e.OP_UNKNOWN_F980=e.OPCODES[63872]=n(63872,"unknown_f980",void 0,[],void 0),e.OP_UNKNOWN_F981=e.OPCODES[63873]=n(63873,"unknown_f981",void 0,[],void 0),e.OP_UNKNOWN_F982=e.OPCODES[63874]=n(63874,"unknown_f982",void 0,[],void 0),e.OP_UNKNOWN_F983=e.OPCODES[63875]=n(63875,"unknown_f983",void 0,[],void 0),e.OP_UNKNOWN_F984=e.OPCODES[63876]=n(63876,"unknown_f984",void 0,[],void 0),e.OP_UNKNOWN_F985=e.OPCODES[63877]=n(63877,"unknown_f985",void 0,[],void 0),e.OP_UNKNOWN_F986=e.OPCODES[63878]=n(63878,"unknown_f986",void 0,[],void 0),e.OP_UNKNOWN_F987=e.OPCODES[63879]=n(63879,"unknown_f987",void 0,[],void 0),e.OP_UNKNOWN_F988=e.OPCODES[63880]=n(63880,"unknown_f988",void 0,[],void 0),e.OP_UNKNOWN_F989=e.OPCODES[63881]=n(63881,"unknown_f989",void 0,[],void 0),e.OP_UNKNOWN_F98A=e.OPCODES[63882]=n(63882,"unknown_f98a",void 0,[],void 0),e.OP_UNKNOWN_F98B=e.OPCODES[63883]=n(63883,"unknown_f98b",void 0,[],void 0),e.OP_UNKNOWN_F98C=e.OPCODES[63884]=n(63884,"unknown_f98c",void 0,[],void 0),e.OP_UNKNOWN_F98D=e.OPCODES[63885]=n(63885,"unknown_f98d",void 0,[],void 0),e.OP_UNKNOWN_F98E=e.OPCODES[63886]=n(63886,"unknown_f98e",void 0,[],void 0),e.OP_UNKNOWN_F98F=e.OPCODES[63887]=n(63887,"unknown_f98f",void 0,[],void 0),e.OP_UNKNOWN_F990=e.OPCODES[63888]=n(63888,"unknown_f990",void 0,[],void 0),e.OP_UNKNOWN_F991=e.OPCODES[63889]=n(63889,"unknown_f991",void 0,[],void 0),e.OP_UNKNOWN_F992=e.OPCODES[63890]=n(63890,"unknown_f992",void 0,[],void 0),e.OP_UNKNOWN_F993=e.OPCODES[63891]=n(63891,"unknown_f993",void 0,[],void 0),e.OP_UNKNOWN_F994=e.OPCODES[63892]=n(63892,"unknown_f994",void 0,[],void 0),e.OP_UNKNOWN_F995=e.OPCODES[63893]=n(63893,"unknown_f995",void 0,[],void 0),e.OP_UNKNOWN_F996=e.OPCODES[63894]=n(63894,"unknown_f996",void 0,[],void 0),e.OP_UNKNOWN_F997=e.OPCODES[63895]=n(63895,"unknown_f997",void 0,[],void 0),e.OP_UNKNOWN_F998=e.OPCODES[63896]=n(63896,"unknown_f998",void 0,[],void 0),e.OP_UNKNOWN_F999=e.OPCODES[63897]=n(63897,"unknown_f999",void 0,[],void 0),e.OP_UNKNOWN_F99A=e.OPCODES[63898]=n(63898,"unknown_f99a",void 0,[],void 0),e.OP_UNKNOWN_F99B=e.OPCODES[63899]=n(63899,"unknown_f99b",void 0,[],void 0),e.OP_UNKNOWN_F99C=e.OPCODES[63900]=n(63900,"unknown_f99c",void 0,[],void 0),e.OP_UNKNOWN_F99D=e.OPCODES[63901]=n(63901,"unknown_f99d",void 0,[],void 0),e.OP_UNKNOWN_F99E=e.OPCODES[63902]=n(63902,"unknown_f99e",void 0,[],void 0),e.OP_UNKNOWN_F99F=e.OPCODES[63903]=n(63903,"unknown_f99f",void 0,[],void 0),e.OP_UNKNOWN_F9A0=e.OPCODES[63904]=n(63904,"unknown_f9a0",void 0,[],void 0),e.OP_UNKNOWN_F9A1=e.OPCODES[63905]=n(63905,"unknown_f9a1",void 0,[],void 0),e.OP_UNKNOWN_F9A2=e.OPCODES[63906]=n(63906,"unknown_f9a2",void 0,[],void 0),e.OP_UNKNOWN_F9A3=e.OPCODES[63907]=n(63907,"unknown_f9a3",void 0,[],void 0),e.OP_UNKNOWN_F9A4=e.OPCODES[63908]=n(63908,"unknown_f9a4",void 0,[],void 0),e.OP_UNKNOWN_F9A5=e.OPCODES[63909]=n(63909,"unknown_f9a5",void 0,[],void 0),e.OP_UNKNOWN_F9A6=e.OPCODES[63910]=n(63910,"unknown_f9a6",void 0,[],void 0),e.OP_UNKNOWN_F9A7=e.OPCODES[63911]=n(63911,"unknown_f9a7",void 0,[],void 0),e.OP_UNKNOWN_F9A8=e.OPCODES[63912]=n(63912,"unknown_f9a8",void 0,[],void 0),e.OP_UNKNOWN_F9A9=e.OPCODES[63913]=n(63913,"unknown_f9a9",void 0,[],void 0),e.OP_UNKNOWN_F9AA=e.OPCODES[63914]=n(63914,"unknown_f9aa",void 0,[],void 0),e.OP_UNKNOWN_F9AB=e.OPCODES[63915]=n(63915,"unknown_f9ab",void 0,[],void 0),e.OP_UNKNOWN_F9AC=e.OPCODES[63916]=n(63916,"unknown_f9ac",void 0,[],void 0),e.OP_UNKNOWN_F9AD=e.OPCODES[63917]=n(63917,"unknown_f9ad",void 0,[],void 0),e.OP_UNKNOWN_F9AE=e.OPCODES[63918]=n(63918,"unknown_f9ae",void 0,[],void 0),e.OP_UNKNOWN_F9AF=e.OPCODES[63919]=n(63919,"unknown_f9af",void 0,[],void 0),e.OP_UNKNOWN_F9B0=e.OPCODES[63920]=n(63920,"unknown_f9b0",void 0,[],void 0),e.OP_UNKNOWN_F9B1=e.OPCODES[63921]=n(63921,"unknown_f9b1",void 0,[],void 0),e.OP_UNKNOWN_F9B2=e.OPCODES[63922]=n(63922,"unknown_f9b2",void 0,[],void 0),e.OP_UNKNOWN_F9B3=e.OPCODES[63923]=n(63923,"unknown_f9b3",void 0,[],void 0),e.OP_UNKNOWN_F9B4=e.OPCODES[63924]=n(63924,"unknown_f9b4",void 0,[],void 0),e.OP_UNKNOWN_F9B5=e.OPCODES[63925]=n(63925,"unknown_f9b5",void 0,[],void 0),e.OP_UNKNOWN_F9B6=e.OPCODES[63926]=n(63926,"unknown_f9b6",void 0,[],void 0),e.OP_UNKNOWN_F9B7=e.OPCODES[63927]=n(63927,"unknown_f9b7",void 0,[],void 0),e.OP_UNKNOWN_F9B8=e.OPCODES[63928]=n(63928,"unknown_f9b8",void 0,[],void 0),e.OP_UNKNOWN_F9B9=e.OPCODES[63929]=n(63929,"unknown_f9b9",void 0,[],void 0),e.OP_UNKNOWN_F9BA=e.OPCODES[63930]=n(63930,"unknown_f9ba",void 0,[],void 0),e.OP_UNKNOWN_F9BB=e.OPCODES[63931]=n(63931,"unknown_f9bb",void 0,[],void 0),e.OP_UNKNOWN_F9BC=e.OPCODES[63932]=n(63932,"unknown_f9bc",void 0,[],void 0),e.OP_UNKNOWN_F9BD=e.OPCODES[63933]=n(63933,"unknown_f9bd",void 0,[],void 0),e.OP_UNKNOWN_F9BE=e.OPCODES[63934]=n(63934,"unknown_f9be",void 0,[],void 0),e.OP_UNKNOWN_F9BF=e.OPCODES[63935]=n(63935,"unknown_f9bf",void 0,[],void 0),e.OP_UNKNOWN_F9C0=e.OPCODES[63936]=n(63936,"unknown_f9c0",void 0,[],void 0),e.OP_UNKNOWN_F9C1=e.OPCODES[63937]=n(63937,"unknown_f9c1",void 0,[],void 0),e.OP_UNKNOWN_F9C2=e.OPCODES[63938]=n(63938,"unknown_f9c2",void 0,[],void 0),e.OP_UNKNOWN_F9C3=e.OPCODES[63939]=n(63939,"unknown_f9c3",void 0,[],void 0),e.OP_UNKNOWN_F9C4=e.OPCODES[63940]=n(63940,"unknown_f9c4",void 0,[],void 0),e.OP_UNKNOWN_F9C5=e.OPCODES[63941]=n(63941,"unknown_f9c5",void 0,[],void 0),e.OP_UNKNOWN_F9C6=e.OPCODES[63942]=n(63942,"unknown_f9c6",void 0,[],void 0),e.OP_UNKNOWN_F9C7=e.OPCODES[63943]=n(63943,"unknown_f9c7",void 0,[],void 0),e.OP_UNKNOWN_F9C8=e.OPCODES[63944]=n(63944,"unknown_f9c8",void 0,[],void 0),e.OP_UNKNOWN_F9C9=e.OPCODES[63945]=n(63945,"unknown_f9c9",void 0,[],void 0),e.OP_UNKNOWN_F9CA=e.OPCODES[63946]=n(63946,"unknown_f9ca",void 0,[],void 0),e.OP_UNKNOWN_F9CB=e.OPCODES[63947]=n(63947,"unknown_f9cb",void 0,[],void 0),e.OP_UNKNOWN_F9CC=e.OPCODES[63948]=n(63948,"unknown_f9cc",void 0,[],void 0),e.OP_UNKNOWN_F9CD=e.OPCODES[63949]=n(63949,"unknown_f9cd",void 0,[],void 0),e.OP_UNKNOWN_F9CE=e.OPCODES[63950]=n(63950,"unknown_f9ce",void 0,[],void 0),e.OP_UNKNOWN_F9CF=e.OPCODES[63951]=n(63951,"unknown_f9cf",void 0,[],void 0),e.OP_UNKNOWN_F9D0=e.OPCODES[63952]=n(63952,"unknown_f9d0",void 0,[],void 0),e.OP_UNKNOWN_F9D1=e.OPCODES[63953]=n(63953,"unknown_f9d1",void 0,[],void 0),e.OP_UNKNOWN_F9D2=e.OPCODES[63954]=n(63954,"unknown_f9d2",void 0,[],void 0),e.OP_UNKNOWN_F9D3=e.OPCODES[63955]=n(63955,"unknown_f9d3",void 0,[],void 0),e.OP_UNKNOWN_F9D4=e.OPCODES[63956]=n(63956,"unknown_f9d4",void 0,[],void 0),e.OP_UNKNOWN_F9D5=e.OPCODES[63957]=n(63957,"unknown_f9d5",void 0,[],void 0),e.OP_UNKNOWN_F9D6=e.OPCODES[63958]=n(63958,"unknown_f9d6",void 0,[],void 0),e.OP_UNKNOWN_F9D7=e.OPCODES[63959]=n(63959,"unknown_f9d7",void 0,[],void 0),e.OP_UNKNOWN_F9D8=e.OPCODES[63960]=n(63960,"unknown_f9d8",void 0,[],void 0),e.OP_UNKNOWN_F9D9=e.OPCODES[63961]=n(63961,"unknown_f9d9",void 0,[],void 0),e.OP_UNKNOWN_F9DA=e.OPCODES[63962]=n(63962,"unknown_f9da",void 0,[],void 0),e.OP_UNKNOWN_F9DB=e.OPCODES[63963]=n(63963,"unknown_f9db",void 0,[],void 0),e.OP_UNKNOWN_F9DC=e.OPCODES[63964]=n(63964,"unknown_f9dc",void 0,[],void 0),e.OP_UNKNOWN_F9DD=e.OPCODES[63965]=n(63965,"unknown_f9dd",void 0,[],void 0),e.OP_UNKNOWN_F9DE=e.OPCODES[63966]=n(63966,"unknown_f9de",void 0,[],void 0),e.OP_UNKNOWN_F9DF=e.OPCODES[63967]=n(63967,"unknown_f9df",void 0,[],void 0),e.OP_UNKNOWN_F9E0=e.OPCODES[63968]=n(63968,"unknown_f9e0",void 0,[],void 0),e.OP_UNKNOWN_F9E1=e.OPCODES[63969]=n(63969,"unknown_f9e1",void 0,[],void 0),e.OP_UNKNOWN_F9E2=e.OPCODES[63970]=n(63970,"unknown_f9e2",void 0,[],void 0),e.OP_UNKNOWN_F9E3=e.OPCODES[63971]=n(63971,"unknown_f9e3",void 0,[],void 0),e.OP_UNKNOWN_F9E4=e.OPCODES[63972]=n(63972,"unknown_f9e4",void 0,[],void 0),e.OP_UNKNOWN_F9E5=e.OPCODES[63973]=n(63973,"unknown_f9e5",void 0,[],void 0),e.OP_UNKNOWN_F9E6=e.OPCODES[63974]=n(63974,"unknown_f9e6",void 0,[],void 0),e.OP_UNKNOWN_F9E7=e.OPCODES[63975]=n(63975,"unknown_f9e7",void 0,[],void 0),e.OP_UNKNOWN_F9E8=e.OPCODES[63976]=n(63976,"unknown_f9e8",void 0,[],void 0),e.OP_UNKNOWN_F9E9=e.OPCODES[63977]=n(63977,"unknown_f9e9",void 0,[],void 0),e.OP_UNKNOWN_F9EA=e.OPCODES[63978]=n(63978,"unknown_f9ea",void 0,[],void 0),e.OP_UNKNOWN_F9EB=e.OPCODES[63979]=n(63979,"unknown_f9eb",void 0,[],void 0),e.OP_UNKNOWN_F9EC=e.OPCODES[63980]=n(63980,"unknown_f9ec",void 0,[],void 0),e.OP_UNKNOWN_F9ED=e.OPCODES[63981]=n(63981,"unknown_f9ed",void 0,[],void 0),e.OP_UNKNOWN_F9EE=e.OPCODES[63982]=n(63982,"unknown_f9ee",void 0,[],void 0),e.OP_UNKNOWN_F9EF=e.OPCODES[63983]=n(63983,"unknown_f9ef",void 0,[],void 0),e.OP_UNKNOWN_F9F0=e.OPCODES[63984]=n(63984,"unknown_f9f0",void 0,[],void 0),e.OP_UNKNOWN_F9F1=e.OPCODES[63985]=n(63985,"unknown_f9f1",void 0,[],void 0),e.OP_UNKNOWN_F9F2=e.OPCODES[63986]=n(63986,"unknown_f9f2",void 0,[],void 0),e.OP_UNKNOWN_F9F3=e.OPCODES[63987]=n(63987,"unknown_f9f3",void 0,[],void 0),e.OP_UNKNOWN_F9F4=e.OPCODES[63988]=n(63988,"unknown_f9f4",void 0,[],void 0),e.OP_UNKNOWN_F9F5=e.OPCODES[63989]=n(63989,"unknown_f9f5",void 0,[],void 0),e.OP_UNKNOWN_F9F6=e.OPCODES[63990]=n(63990,"unknown_f9f6",void 0,[],void 0),e.OP_UNKNOWN_F9F7=e.OPCODES[63991]=n(63991,"unknown_f9f7",void 0,[],void 0),e.OP_UNKNOWN_F9F8=e.OPCODES[63992]=n(63992,"unknown_f9f8",void 0,[],void 0),e.OP_UNKNOWN_F9F9=e.OPCODES[63993]=n(63993,"unknown_f9f9",void 0,[],void 0),e.OP_UNKNOWN_F9FA=e.OPCODES[63994]=n(63994,"unknown_f9fa",void 0,[],void 0),e.OP_UNKNOWN_F9FB=e.OPCODES[63995]=n(63995,"unknown_f9fb",void 0,[],void 0),e.OP_UNKNOWN_F9FC=e.OPCODES[63996]=n(63996,"unknown_f9fc",void 0,[],void 0),e.OP_UNKNOWN_F9FD=e.OPCODES[63997]=n(63997,"unknown_f9fd",void 0,[],void 0),e.OP_UNKNOWN_F9FE=e.OPCODES[63998]=n(63998,"unknown_f9fe",void 0,[],void 0),e.OP_UNKNOWN_F9FF=e.OPCODES[63999]=n(63999,"unknown_f9ff",void 0,[],void 0),e.OPCODES.forEach(i=>{e.OPCODES_BY_MNEMONIC.set(i.mnemonic,i)})},lg9k:function(i,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const d=o("ZPAt"),_=o("wtpc");function O(i,e){return i.opcode.code===e.opcode.code&&_.arrays_equal(i.args,e.args,n)}function v(i){return{opcode:i.opcode,args:i.args.map(i=>Object.assign({},i)),arg_size:i.arg_size,size:i.size,param_to_args:i.param_to_args.map(i=>i.map(i=>Object.assign({},i))),asm:i.asm}}function n(i,e){return i.value===e.value&&i.size===e.size}var t;function P(i,e){if(i.type!==e.type||!_.arrays_equal(i.labels,e.labels))return!1;switch(i.type){case t.Instructions:return _.arrays_equal(i.instructions,e.instructions,O);case t.Data:return _.array_buffers_equal(i.data,e.data);case t.String:return i.value===e.value}}e.new_instruction=function(i,e,o){const _=Math.min(i.params.length,e.length),O=[];let v=0;for(let o=0;o<_;o++){const _=i.params[o].type,n=e[o];switch(O[o]=[],_.kind){case d.Kind.ILabelVar:case d.Kind.RegRefVar:v++;for(let i=o;i<e.length;i++)O[o].push(e[i]),v+=e[i].size;break;default:v+=n.size,O[o].push(n)}}return{opcode:i,args:e,arg_size:v,size:i.size+v,param_to_args:O,asm:o}},e.clone_instruction=v,e.new_arg=function(i,e){return{value:i,size:e}},function(i){i[i.Instructions=0]="Instructions",i[i.Data=1]="Data",i[i.String=2]="String"}(t=e.SegmentType||(e.SegmentType={})),e.segment_arrays_equal=function(i,e){return _.arrays_equal(i,e,P)},e.clone_segment=function(i){const e={type:i.type,labels:i.labels.slice(),asm:{labels:i.asm.labels.map(i=>Object.assign({},i))}};switch(e.type){case t.Instructions:e.instructions=i.instructions.map(i=>v(i));break;case t.Data:e.data=i.data.slice(0);break;case t.String:e.value=i.value}return e}},wtpc:function(i,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrays_equal=function(i,e,o=((i,e)=>i===e)){const d=i.length;if(d!==e.length)return!1;for(let _=0;_<d;_++)if(!o(i[_],e[_]))return!1;return!0},e.array_buffers_equal=function(i,e){if(i.byteLength!==e.byteLength)return!1;const o=new Uint8Array(i),d=new Uint8Array(e);for(let i=0;i<o.length;i++)if(o[i]!==d[i])return!1;return!0},e.basename=function(i){const e=i.lastIndexOf(".");return e>1?i.slice(0,e):i}},yAUo:function(i,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(i){i[i.NewAssembly=0]="NewAssembly",i[i.AssemblyChange=1]="AssemblyChange",i[i.SignatureHelp=2]="SignatureHelp",i[i.Definition=3]="Definition",i[i.SettingsChange=4]="SettingsChange"}(e.InputMessageType||(e.InputMessageType={})),function(i){i[i.NewObjectCode=0]="NewObjectCode",i[i.SignatureHelp=1]="SignatureHelp",i[i.Definition=2]="Definition"}(e.OutputMessageType||(e.OutputMessageType={}))},yL6M:function(i,e,o){"use strict";var d=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});const _=o("yAUo"),O=o("JLhb"),v=d(o("GGSb")),n=o("lg9k"),t=o("ZPAt"),P=o("ZBxL");v.default.useDefaults({defaultLevel:v.default.WARN});const s=self;let E=[],r=[];const D=[],a=new Map,R=[];let u;const T={manual_stack:!1};function l(){if(0!==R.length)for(const i of R.splice(0,R.length))switch(i.type){case _.InputMessageType.NewAssembly:E=i.assembly,f();break;case _.InputMessageType.AssemblyChange:N(i);break;case _.InputMessageType.SignatureHelp:p(i);break;case _.InputMessageType.Definition:S(i);break;case _.InputMessageType.SettingsChange:g(i)}}function N(i){for(const e of i.changes){const{start_line_no:i,end_line_no:o,start_col:d,end_col:_,new_text:O}=e,v=o-i+1,n=O.split("\n");1===v?C(i,d,_,n):1===n.length?Y(i,o,d,_,n[0]):(k(i,d,n[0]),W(o,_,n[n.length-1]),c(i+1,o-1,n.slice(1,n.length-1)))}f()}function p(i){let e,o=-1;if(i.line_no<=E.length){const d=E[i.line_no-1],_=(new P.AssemblyLexer).tokenize_line(d),O=_.find(i=>i.type===P.TokenType.Ident);if(O&&(e=t.OPCODES_BY_MNEMONIC.get(O.value)))for(const e of _){if(e.col+e.len>i.col)break;e.type===P.TokenType.Ident&&-1===o?o=0:e.type===P.TokenType.ArgSeparator&&o++}}const d={type:_.OutputMessageType.SignatureHelp,id:i.id,opcode:e,active_param:o};s.postMessage(d)}function S(i){const e=function(i,e){const o=D[i];if(!o)return;const d=r[o.segment_index];if(!d||d.type!==n.SegmentType.Instructions)return;for(const _ of o.instruction_indices){const o=d.instructions[_];if(o&&o.asm){const d=o.opcode.params;for(let _=0;_<o.asm.args.length;_++){const O=_<d.length?d[_]:d[d.length-1],v=o.asm.args[_];if((O.type.kind===t.Kind.ILabel||O.type.kind===t.Kind.DLabel||O.type.kind===t.Kind.SLabel||O.type.kind===t.Kind.ILabelVar)&&h(i,e,v))return o.args[_].value}for(let _=0;_<o.asm.stack_args.length;_++){const O=_<d.length?d[_]:d[d.length-1],v=o.asm.stack_args[_];if((O.type.kind===t.Kind.ILabel||O.type.kind===t.Kind.DLabel||O.type.kind===t.Kind.SLabel||O.type.kind===t.Kind.ILabelVar)&&h(i,e,v))return v.value}}}return}(i.line_no,i.col);let o;if(null!=e){const i=function(i){let e=a.get(i);if(void 0===e){e=null;for(const o of r)if(o.labels.includes(i)){e=o;break}a.set(i,e)}return e||void 0}(e);if(i){const d=i.labels.indexOf(e);-1!==d&&(o=i.asm.labels[d])}}const d=Object.assign({type:_.OutputMessageType.Definition,id:i.id},o);s.postMessage(d)}function g(i){null!=i.settings.manual_stack&&(T.manual_stack=i.settings.manual_stack)}function f(){const i=O.assemble(E,T.manual_stack);r=i.object_code,a.clear(),D.splice(0,1/0);const e=new Map;for(let i=0;i<r.length;i++){const o=r[i];if(o.type===n.SegmentType.Instructions){if(o.labels.includes(0))for(const i of o.instructions)i.opcode.code===t.OP_BB_MAP_DESIGNATE.code&&e.set(i.args[0].value,i.args[2].value);for(let e=0;e<o.instructions.length;e++){const d=o.instructions[e];if(d.asm){d.asm.mnemonic&&A(d.asm.mnemonic.line_no,i,e);for(const o of d.asm.args)A(o.line_no,i,e)}}}}const o=Object.assign({type:_.OutputMessageType.NewObjectCode,map_designations:e},i);s.postMessage(o)}function C(i,e,o,d){const _=E[i-1],O=_.slice(0,e-1),v=_.slice(o-1);1===d.length?E.splice(i-1,1,O+d[0]+v):E.splice(i-1,1,O+d[0],...d.slice(1,d.length-1),d[d.length-1]+v)}function W(i,e,o){E.splice(i-1,1,o+E[i-1].slice(e-1))}function k(i,e,o){E.splice(i-1,1,E[i-1].slice(0,e-1)+o)}function c(i,e,o){E.splice(i-1,e-i+1,...o)}function Y(i,e,o,d,_){const O=E[i-1],v=E[e-1],n=O.slice(0,o-1),t=v.slice(d-1);E.splice(i-1,e-i+1,n+_+t)}function A(i,e,o){let d=D[i];d||(d={segment_index:e,instruction_indices:[]},D[i]=d),d.instruction_indices.push(o)}function h(i,e,o){return!!o&&(i===o.line_no&&e>=o.col&&e<=o.col+o.len)}s.onmessage=i=>{R.push(i.data),u||(l(),u=setTimeout(()=>{u=void 0,l()},100))}}});