1 line
No EOL
20 KiB
JavaScript
1 line
No EOL
20 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{323:function(e,l,a){},379:function(e){e.exports=JSON.parse('[{"label":"stageloader.levels.delfinoplaza.header","options":[{"value":"01FF","label":"stageloader.levels.delfinoplaza.current"},{"value":"0100","label":"stageloader.levels.delfinoplaza.biancounlock"},{"value":"0101","label":"stageloader.levels.delfinoplaza.peachchase"},{"value":"0105","label":"stageloader.levels.delfinoplaza.riccounlock"},{"value":"0106","label":"stageloader.levels.delfinoplaza.peaceful"},{"value":"0107","label":"stageloader.levels.delfinoplaza.pinnaunlock"},{"value":"0108","label":"stageloader.levels.delfinoplaza.yoshiunlock"},{"value":"0109","label":"stageloader.levels.delfinoplaza.flooded"},{"value":"0102","label":"stageloader.levels.delfinoplaza.postcorona"}]},{"label":"stageloader.levels.delfinosublevels.header","options":[{"value":"0000","label":"stageloader.levels.delfinosublevels.airstrip"},{"value":"1400","label":"stageloader.levels.delfinosublevels.airstripreds"},{"value":"1500","label":"stageloader.levels.delfinosublevels.slide"},{"value":"1600","label":"stageloader.levels.delfinosublevels.pachinko"},{"value":"1700","label":"stageloader.levels.delfinosublevels.grasspipe"},{"value":"1800","label":"stageloader.levels.delfinosublevels.lilypad"},{"value":"1D00","label":"stageloader.levels.delfinosublevels.jail"}]},{"label":"stageloader.levels.bianco.header","options":[{"value":"0200","label":"stageloader.levels.bianco.1"},{"value":"0201","label":"stageloader.levels.bianco.2"},{"value":"0202","label":"stageloader.levels.bianco.3"},{"value":"0203","label":"stageloader.levels.bianco.4"},{"value":"0204","label":"stageloader.levels.bianco.5"},{"value":"0205","label":"stageloader.levels.bianco.6"},{"value":"0206","label":"stageloader.levels.bianco.7"},{"value":"0207","label":"stageloader.levels.bianco.8"}]},{"label":"stageloader.levels.ricco.header","options":[{"value":"0300","label":"stageloader.levels.ricco.1"},{"value":"0301","label":"stageloader.levels.ricco.2"},{"value":"0302","label":"stageloader.levels.ricco.3"},{"value":"0303","label":"stageloader.levels.ricco.4"},{"value":"0304","label":"stageloader.levels.ricco.5"},{"value":"0305","label":"stageloader.levels.ricco.6"},{"value":"0306","label":"stageloader.levels.ricco.7"},{"value":"0307","label":"stageloader.levels.ricco.8"}]},{"label":"stageloader.levels.gelato.header","options":[{"value":"0400","label":"stageloader.levels.gelato.1"},{"value":"0401","label":"stageloader.levels.gelato.2"},{"value":"0402","label":"stageloader.levels.gelato.3"},{"value":"0403","label":"stageloader.levels.gelato.4"},{"value":"0404","label":"stageloader.levels.gelato.5"},{"value":"0405","label":"stageloader.levels.gelato.6"},{"value":"0406","label":"stageloader.levels.gelato.7"},{"value":"0407","label":"stageloader.levels.gelato.8"}]},{"label":"stageloader.levels.pinna.header","options":[{"value":"0500","label":"stageloader.levels.pinna.1"},{"value":"0501","label":"stageloader.levels.pinna.2"},{"value":"0502","label":"stageloader.levels.pinna.3"},{"value":"0503","label":"stageloader.levels.pinna.4"},{"value":"0504","label":"stageloader.levels.pinna.5"},{"value":"0505","label":"stageloader.levels.pinna.6"},{"value":"0506","label":"stageloader.levels.pinna.7"},{"value":"0507","label":"stageloader.levels.pinna.8"}]},{"label":"stageloader.levels.sirena.header","options":[{"value":"0600","label":"stageloader.levels.sirena.1"},{"value":"0601","label":"stageloader.levels.sirena.2"},{"value":"0602","label":"stageloader.levels.sirena.3"},{"value":"0603","label":"stageloader.levels.sirena.4"},{"value":"0604","label":"stageloader.levels.sirena.5"},{"value":"0605","label":"stageloader.levels.sirena.6"},{"value":"0606","label":"stageloader.levels.sirena.7"},{"value":"0607","label":"stageloader.levels.sirena.8"}]},{"label":"stageloader.levels.noki.header","options":[{"value":"0900","label":"stageloader.levels.noki.1"},{"value":"0901","label":"stageloader.levels.noki.2"},{"value":"0902","label":"stageloader.levels.noki.3"},{"value":"0903","label":"stageloader.levels.noki.4"},{"value":"0904","label":"stageloader.levels.noki.5"},{"value":"0905","label":"stageloader.levels.noki.6"},{"value":"0906","label":"stageloader.levels.noki.7"},{"value":"0907","label":"stageloader.levels.noki.8"}]},{"label":"stageloader.levels.pianta.header","options":[{"value":"0800","label":"stageloader.levels.pianta.1"},{"value":"0801","label":"stageloader.levels.pianta.2"},{"value":"0802","label":"stageloader.levels.pianta.3"},{"value":"0803","label":"stageloader.levels.pianta.4"},{"value":"0804","label":"stageloader.levels.pianta.5"},{"value":"0805","label":"stageloader.levels.pianta.6"},{"value":"0806","label":"stageloader.levels.pianta.7"},{"value":"0807","label":"stageloader.levels.pianta.8"}]},{"label":"stageloader.levels.secrets.header","options":[{"value":"2F00","label":"stageloader.levels.secrets.bianco3"},{"value":"2E00","label":"stageloader.levels.secrets.bianco6"},{"value":"3000","label":"stageloader.levels.secrets.ricco4"},{"value":"2000","label":"stageloader.levels.secrets.gelato1"},{"value":"3200","label":"stageloader.levels.secrets.pinna2"},{"value":"2900","label":"stageloader.levels.secrets.pinna6"},{"value":"3300","label":"stageloader.levels.secrets.sirena2"},{"value":"2800","label":"stageloader.levels.secrets.sirena4"},{"value":"1F00","label":"stageloader.levels.secrets.noki6"},{"value":"2A00","label":"stageloader.levels.secrets.pianta5"}]},{"label":"stageloader.levels.sublevels.header","options":[{"value":"3700","label":"stageloader.levels.sublevels.petey"},{"value":"3B00","label":"stageloader.levels.sublevels.gooperblooper"},{"value":"1E00","label":"stageloader.levels.sublevels.sewers"},{"value":"2100","label":"stageloader.levels.sublevels.sandbird"},{"value":"3A01","label":"stageloader.levels.sublevels.mecha"},{"value":"3A00","label":"stageloader.levels.sublevels.rollercoaster"},{"value":"0E00","label":"stageloader.levels.sublevels.casino1"},{"value":"0E01","label":"stageloader.levels.sublevels.casino2"},{"value":"3800","label":"stageloader.levels.sublevels.kingboo"},{"value":"2C00","label":"stageloader.levels.sublevels.bottle"},{"value":"3900","label":"stageloader.levels.sublevels.eel"},{"value":"1000","label":"stageloader.levels.sublevels.nokireds"}]},{"label":"stageloader.levels.misc.header","options":[{"value":"02FF","label":"stageloader.levels.misc.biancoepisodeselect"},{"value":"03FF","label":"stageloader.levels.misc.riccoepisodeselect"},{"value":"04FF","label":"stageloader.levels.misc.gelatoepisodeselect"},{"value":"05FF","label":"stageloader.levels.misc.pinnaepisodeselect"},{"value":"06FF","label":"stageloader.levels.misc.sirenaepisodeselect"},{"value":"09FF","label":"stageloader.levels.misc.nokiepisodeselect"},{"value":"08FF","label":"stageloader.levels.misc.piantaepisodeselect"}]}]')},380:function(e){e.exports=JSON.parse('[{"label":"stageloader.presets.fullgameminimalplaza.header","options":[{"value":"020002020203020404000406080008010802080308040805080605000501050205030502050603000301030203030304030503060205020606000601060206030604060506060900090109020903090409050906;3400","label":"stageloader.presets.fullgameminimalplaza.fapnormal"},{"value":"020002020203020404000406080008010802080308040805080605000501050205030502050602050206060006010602060306040605060609000901090209030904090509060300030103020303030403050306;3400","label":"stageloader.presets.fullgameminimalplaza.fapriccolate"},{"value":"020002020203020408000801080208030804080508060500050105020503050405050506030003010302030303040305030602050206060006010602060306040605060609000901090209030904090509060400040104020403040404050406;3400","label":"stageloader.presets.fullgameminimalplaza.fap49"},{"value":"02000201020202030800080108020803080408050806080705000501050205030504050505060507030003010302030303040305030603070204020502060207060006010602060306040605060606070900090109020903090409050906090704000401040204030404040304050406;3400","label":"stageloader.presets.fullgameminimalplaza.fap58"},{"value":"02000201020202020800080108020803080408040804080508060807080705000501050105020503050405040505050505060507030003010301030203030303030403050305030603070203020402050205020502060207060006010601060206030603060306040605060606070900090109010901090209030904090509050906090704000400040004010402040304050404040304020406;3400","label":"stageloader.presets.fullgameminimalplaza.fap79"},{"value":"020002020203020404000406080008010802080308040805080605000501050105020503050405050506030003010302030303040305030602050206060006010602060306040605060609000901090209030904090509060102160001021400010201021D00010201020102010201020102010204060405040404030402040204010400040015000207020502070205020003020307030303010507050705051700060706030603060109070905090109010807080708040804;3400","label":"stageloader.presets.fullgameminimalplaza.fap96"}]},{"label":"stageloader.presets.fullgamecategories.header","options":[{"value":"00000100020002020105020302040105040004060106080008010802080308040805080601070108050005010502050305020506010803000301030203030304030503060108020502060108060006010602060306040605060601080900090109020903090409050906;0109","label":"stageloader.presets.fullgamecategories.anyp"},{"value":"00000100020002020105020302040105080008010802080308040805080601070108050005010502050305040505050601080300030103020303030403050306010802050206010806000601060206030604060506060108090009010902090309040905090601080400040104020403040404050406;0109","label":"stageloader.presets.fullgamecategories.49"},{"value":"0000010002000201010502020203010508000801080208030804080508060807010701080500050105020503050405050506050701080300030103020303030403050306030701080204020502060207010806000601060206030604060506060607010809000901090209030904090509060907010804000401040204030404040304050406;0109","label":"stageloader.presets.fullgamecategories.58"},{"value":"0000010002000201010502020202010508000801080208030804080408040805080608070807010701080500050105010502050305040504050505050506050701080300030103010302030303030304030503050306030701080203020402050205020502060207010806000601060106020603060306030604060506060607010809000901090109010902090309040905090509060907010804000400040004010402040304050404040304020406;0109","label":"stageloader.presets.fullgamecategories.79"},{"value":"0000010002000202010502030204010504000406010608000801080208030804080508060107010805000501050105020503050405050506010803000301030203030304030503060108020502060108010806000601060206030604060506060108090009010902090309040905090601FF0102010201020102010201020102010201020102010201020102010204060405040404030402040204010400040001020102020702050207020502000102030203070303030101020507050705050102010206070603060306010102090709050901090101020807080708040804;0102","label":"stageloader.presets.fullgamecategories.96"},{"value":"0000010002000202010502030204010504000406010608000801080208030804080508060107010805000501050105020503050405050506010803000301030203030304030503060108020502060108010806000601060206030604060506060108090009010902090309040905090601FF01020102010201020102010201020102010201020102010201020404040304020405040004000401040204050102010202000207020702070207010209010905090509070102080408040807080701020505050705070102010206010603060606070102010203010303030703070102;0102","label":"stageloader.presets.fullgamecategories.120"}]},{"label":"stageloader.presets.iw.header","options":[{"value":"020002020203020402050206","label":"stageloader.presets.iw.bianco"},{"value":"0300030103020303030403050306","label":"stageloader.presets.iw.ricco"},{"value":"0400040104020403040404050406","label":"stageloader.presets.iw.gelato"},{"value":"050005010502050305020506","label":"stageloader.presets.iw.pinna"},{"value":"0600060106020603060406050606","label":"stageloader.presets.iw.sirena"},{"value":"0900090109020903090409050906","label":"stageloader.presets.iw.noki"},{"value":"0800080108020803080408050806","label":"stageloader.presets.iw.pianta"}]},{"label":"stageloader.presets.iwallshines.header","options":[{"value":"02000201020202020203020402050205020502060207","label":"stageloader.presets.iwallshines.bianco"},{"value":"03000301030103020303030303040305030503060307","label":"stageloader.presets.iwallshines.ricco"},{"value":"04000406040404060401040504000400040204020403","label":"stageloader.presets.iwallshines.gelato"},{"value":"05000501050105020503050405040505050505060507","label":"stageloader.presets.iwallshines.pinna"},{"value":"06000601060106020603060306030604060506060607","label":"stageloader.presets.iwallshines.sirena"},{"value":"09000901090109020903090409050905090609060907","label":"stageloader.presets.iwallshines.noki"},{"value":"08000801080208030804080408040805080608070807","label":"stageloader.presets.iwallshines.pianta"}]}]')},383:function(e,l,a){"use strict";a(323)},390:function(e,l,a){"use strict";a.r(l);a(91);var s=a(379),t=a(380);var o=(e,l,a,s,t,o)=>{const r={list:32,random:44,shuffle:64}[a];let i="";switch(i+="0"+(67108864+(33554431&e.fileSelect)).toString(16)+(1207959553+(e.system+1324-e.fileSelect&67108860)).toString(16),i+="0"+(67108864+(33554431&e.shineGet)).toString(16)+(1207959553+(e.system+1340-e.shineGet&67108860)).toString(16),i+="0"+(67108864+(33554431&e.system)).toString(16)+"48000511",i+="0"+(100663296+(e.system+180&33554431)).toString(16)+"000000084800048948000044",i+=(3254779904+(e.system+520&33554431)).toString(16)+"000000033C60817F38000001980300FF881C00006000000000000000",i+=(3254779904+(e.shineGet-1652&33554431)).toString(16)+"00000005887D00002C030002418000142C0300074182000C2C03000A418000087C0400406000000000000000",i+="0"+(100663296+(e.system+1296&33554431)).toString(16)+("0000000"+(r+92).toString(16)).slice(-8)+"3C60817F38000001980300FFA00300023C60"+e.gpAppHi+"B003"+e.gpAppLo+"4E8000203C60817F"+(947912704+(2*l.length&65535)).toString(16)+"B08300004E8000203C60817F38000001980300FFA00300002C00000038E0"+s+(1082195968+(65532&r)).toString(16)+"7C8802A6600000007CC802A67C8803A6",a){case"list":i+="3400FFFEB00300007CE6022E";break;case"random":i+="7C8C42E67CA403967CA501D67C8520505484003C7CE6222E";break;case"shuffle":i+="7C8C42E67CA403967CA501D67C8520505484003C3400FFFEB00300007CE6222E7CA6022E7CA6232E7CE6032E"}for(i+="B0E300023C60"+e.gpAppHi+"B0E3"+e.gpAppLo+"806D"+e.fmOffset+"98E300DF4E800020"+("random"===a?"":"00000000"),l.reverse();l.length%4;)l.push("0000");return i+=(3254779904+(e.system+1372&33554431)).toString(16)+("0000000"+(l.length/4+1).toString(16)).slice(-8)+(1207959553+(2*l.length+4&67108860)).toString(16)+l.join("")+"00000000",i+="0"+(100663296+(e.system+4492&33554431)).toString(16)+"00000028B07D00143C80817F38000000B00400FFA0010038B01D00122C1C00094181000C4BFFF391B0E10038",i+=(3254779904+(33554431&e.proc)).toString(16)+"000000053CA0817F388000009085010C880500FF98050100988500FF38800001988501016000000000000000",i=i.toUpperCase(),i+=e.notext[o]+e.nofmvs[t],i},r=a(246),i=a(381),n={props:{fastCodes:{type:Object},onChange:{type:Function}},components:{draggable:a.n(i).a},watch:{fastCodes:function(){this.updateCode()}},data:()=>({selectedRoute:[],stageLoaderLevelOptions:s,stageLoaderPresetOptions:t,removeDialogueOptions:[{value:"pv5",label:"stageloader.removedialogue.options.pv5"},{value:"yes",label:"stageloader.removedialogue.options.yes"},{value:"no",label:"stageloader.removedialogue.options.no"}],skippableFMVsOptions:[{value:"pp",label:"stageloader.skippablefmvs.options.pp"},{value:"yes",label:"stageloader.skippablefmvs.options.yes"},{value:"no",label:"stageloader.skippablefmvs.options.no"}],levelOrderOptions:[{value:"list",label:"stageloader.levelorder.options.list"},{value:"shuffle",label:"stageloader.levelorder.options.shuffle"},{value:"random",label:"stageloader.levelorder.options.random"}],postGameOptions:[{value:"0F00",label:"stageloader.postgame.options.0F00"},{value:"0109",label:"stageloader.postgame.options.0109"},{value:"0102",label:"stageloader.postgame.options.0102"},{value:"3400",label:"stageloader.postgame.options.3400"},{value:"3C00",label:"stageloader.postgame.options.3C00"}],removeDialogSelection:"pv5",skippableFMVsSelection:"pp",levelOrderSelection:"list",postGameSelection:"0F00",generation:0}),methods:{getLabel(e){return Object(r.a)(e,this.$lang)},onRemoveDialogueSelectionChanged(e){this.removeDialogSelection=e,this.updateCode()},onSkippableFMVsSelectionChanged(e){this.skippableFMVsSelection=e,this.updateCode()},onLevelOrderSelectionChanged(e){this.levelOrderSelection=e,this.updateCode()},onPostGameSelectionChanged(e){this.postGameSelection=e,this.updateCode()},onStageLoaderLevelSelected(e){this.generation++,this.selectedRoute.push({value:e}),this.updateCode()},onStageLoaderLevelChanged(e,l){this.selectedRoute[e]={value:l},this.updateCode()},onLevelDeleted(e){this.selectedRoute.splice(e,1),this.updateCode()},onStageLoaderPresetSelected(e){var l;if(this.generation++,(null===(l=this.selectedRoute)||void 0===l?void 0:l.length)>0&&!confirm(Object(r.a)("common.selectionreset",this.$lang)))return;const a=e.split(";")[0],s=e.split(";")[1];this.selectedRoute=[];for(let e=0;e<=a.length-4;e+=4)this.selectedRoute.push({value:a.substr(e,4)});s&&(this.postGameSelection=s),this.updateCode()},onDragEnd(){this.updateCode()},onClearList(){var e;(null===(e=this.selectedRoute)||void 0===e?void 0:e.length)>0&&!confirm("Do you really want to clear the list?")||(this.preferredEnding=null,this.selectedRoute=[],this.updateCode())},updateCode(){0!==this.selectedRoute.length&&null!=this.levelOrderSelection&&null!=this.postGameSelection&&null!=this.skippableFMVsSelection&&null!=this.removeDialogSelection?this.onChange(o(this.fastCodes,this.selectedRoute.map(e=>e.value),this.levelOrderSelection,this.postGameSelection,this.skippableFMVsSelection,this.removeDialogSelection)):this.onChange(null)}}},v=(a(383),a(10)),d=Object(v.a)(n,(function(){var e=this,l=e._self._c;return l("div",[l("div",{staticClass:"sub"},[l("GroupSelectComponent",{key:e.generation+1,attrs:{placeholder:e.getLabel("common.loadpresetplaceholder"),optGroups:e.stageLoaderPresetOptions,onChange:e.onStageLoaderPresetSelected,selectedValue:"placeholder"}})],1),e._v(" "),l("div",{staticClass:"config"},[l("span",[e._v(e._s(e.getLabel("stageloader.removedialogue.label")))]),e._v(" "),l("SelectComponent",{attrs:{options:e.removeDialogueOptions,onChange:e.onRemoveDialogueSelectionChanged,selectedValue:e.removeDialogSelection}})],1),e._v(" "),l("div",{staticClass:"config"},[l("span",[e._v(e._s(e.getLabel("stageloader.skippablefmvs.label")))]),e._v(" "),l("SelectComponent",{attrs:{options:e.skippableFMVsOptions,onChange:e.onSkippableFMVsSelectionChanged,selectedValue:e.skippableFMVsSelection}})],1),e._v(" "),l("div",{staticClass:"config"},[l("span",[e._v(e._s(e.getLabel("stageloader.levelorder.label")))]),e._v(" "),l("SelectComponent",{attrs:{options:e.levelOrderOptions,onChange:e.onLevelOrderSelectionChanged,selectedValue:e.levelOrderSelection}})],1),e._v(" "),l("div",{staticClass:"config"},[l("span",[e._v(e._s(e.getLabel("stageloader.postgame.label")))]),e._v(" "),l("SelectComponent",{attrs:{disabled:"random"===e.levelOrderSelection,options:e.postGameOptions,onChange:e.onPostGameSelectionChanged,selectedValue:e.postGameSelection}})],1),e._v(" "),l("div",{staticClass:"config"},[l("span",[e._v(e._s(e.getLabel("stageloader.route")))]),e._v(" "),l("ul",{staticClass:"level-select"},[l("draggable",{attrs:{handle:".route-drag","ghost-class":"ghost"},on:{end:e.onDragEnd},model:{value:e.selectedRoute,callback:function(l){e.selectedRoute=l},expression:"selectedRoute"}},e._l(e.selectedRoute,(function(a,s){return l("li",{key:s},[l("div",{staticClass:"route-drag"},[e._v("≡")]),e._v(" "),l("GroupSelectComponent",{key:s,attrs:{selectedValue:a.value,optGroups:e.stageLoaderLevelOptions,onChange:l=>e.onStageLoaderLevelChanged(s,l)}}),e._v(" "),l("button",{staticClass:"route-remove",attrs:{type:"button"},on:{click:function(l){return e.onLevelDeleted(s)}}},[e._v("×")])],1)})),0)],1)]),e._v(" "),l("div",{staticClass:"config"},[l("div",{staticClass:"sub"},[l("GroupSelectComponent",{key:e.generation,attrs:{placeholder:e.getLabel("stageloader.levelselectplaceholder"),optGroups:e.stageLoaderLevelOptions,onChange:e.onStageLoaderLevelSelected,selectedValue:"placeholder"}})],1),e._v(" "),l("div",{staticClass:"sub"},[l("ButtonComponent",{attrs:{label:e.getLabel("stageloader.clear"),onClick:e.onClearList}})],1)])])}),[],!1,null,"043ac570",null);l.default=d.exports}}]); |