优化了部分剧情效果

修复了三个报错:标题动画插件报错(两个),强制横屏PC报错
优化了跳过剧情插件,增加闪烁效果(并行脚本),防止部分异步剧情出错,整合了一次性打开/关闭跳过剧情开关、图片提示
难度选择时增加颜色区分
This commit is contained in:
爱的天使Erdnase 2023-01-01 19:40:11 +08:00
parent 7add89690c
commit 0f35465f08
15 changed files with 2071 additions and 2149 deletions

View File

@ -142,6 +142,62 @@ var events_c12a15a8_c380_4b28_8144_256cba95f760 =
}
]
}
],
"跳过事件图片": [
{
"type": "if",
"condition": "flag:useS_PASS",
"true": [
{
"type": "showImage2",
"code": 50,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
"null",
"null"
],
"loc": [
700,
0,
243,
71
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 50,
"to": [
400,
0
],
"opacity": 1,
"time": 500
}
],
"false": [
{
"type": "moveImage",
"code": 50,
"to": [
700,
0
],
"time": 500
},
{
"type": "waitAsync"
},
{
"type": "hideImage",
"code": 50,
"time": 0
}
]
}
]
}
}

View File

@ -20,7 +20,7 @@ main.floors.MT0=
[ 0,348, 4, 4, 4, 2, 2, 2, 0, 2, 2, 4, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 4, 2, 0, 2, 4, 4, 4,352, 0],
[ 0,348, 4, 4, 4, 4, 2, 2, 0, 2, 2, 2, 2,352, 0],
[ 0,348, 4, 4, 4, 4, 2, 0, 0, 0,168, 0, 88,352, 0],
[ 0,348, 4, 4, 4, 4, 2, 0, 0, 0,10190, 0, 88,352, 0],
[ 0,348, 4, 4, 4, 4, 2, 0, 2, 2, 2, 2, 2,352, 0],
[ 0,349,346,346,346,346,346,346,346,346,346,346,346,347, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
@ -64,29 +64,42 @@ main.floors.MT0=
},
{
"type": "if",
"condition": "switch:A",
"condition": "(core.isReplaying()||flag:SkipThePlot)",
"true": [
"\t[邵虎]..........现在还打不开它。"
{
"type": "setValue",
"name": "flag:SkipThePlot",
"value": "false"
},
"\t[邵虎]..........现在还打不开它。",
{
"type": "hideImage",
"code": 1,
"time": 0
}
],
"false": [
{
"type": "setValue",
"name": "switch:A",
"value": "true"
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
"\t[邵虎]............",
"\t[邵虎](梅花为底,淡蓝色的屏障)......",
"\t[邵虎]............",
"\t[邵虎](这是《古代密要》中的“梅障结界”)....",
"\t[邵虎](看来天塔里面不是那么简单啊)....",
"\t[邵虎](以我现在的能力怕是无法破解这层障壁了......还是先不要管它为好。)"
]
"\t[邵虎](以我现在的能力怕是无法破解这层障壁了......还是先不要管它为好。)",
{
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
},
{
"type": "hideImage",
"code": 1,
"time": 0
}
]
}
],
"9,6": [
{
@ -533,7 +546,7 @@ main.floors.MT0=
{
"type": "hide",
"remove": true,
"time": 500
"time": 0
},
{
"type": "if",
@ -548,10 +561,13 @@ main.floors.MT0=
6
]
],
"time": 500
"time": 200
}
]
},
{
"type": "waitAsync"
},
{
"type": "move",
"loc": [
@ -567,36 +583,8 @@ main.floors.MT0=
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "sleep",
@ -780,23 +768,8 @@ main.floors.MT0=
"\t[邵虎]........你是谁........",
"\t[???]我是这座塔的守塔仙子........",
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
},
"\t[守塔仙子]邵....啊不.....这位勇士,请你回去吧。塔里过于凶险..........",
"\t[邵虎]谢谢你的好意....不过我还是要进去的。",

View File

@ -71,36 +71,8 @@ main.floors.MT1=
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "showImage2",
@ -288,23 +260,8 @@ main.floors.MT1=
"time": 0
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
}
]
},

View File

@ -43,36 +43,8 @@ main.floors.MT10=
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "sleep",
@ -203,23 +175,8 @@ main.floors.MT10=
},
"\t[嗜骨]..........其实.......",
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
},
{
"type": "sleep",
@ -277,24 +234,6 @@ main.floors.MT10=
}
],
"1,0": [
{
"type": "function",
"function": "function(){\ncore.canvas.bg.canvas.style.filter='saturate(100%)';\n}"
},
{
"type": "setValue",
"name": "flag:Memories_grayscale",
"value": "false"
},
{
"type": "setGlobalAttribute",
"name": "borderColor",
"value": "204,204,204,1"
},
{
"type": "function",
"function": "function(){\ncore.maskFliter(500,'013-Square01.png')\n}"
},
{
"type": "playBgm",
"name": "misjiqing.mp3"

View File

@ -467,12 +467,14 @@ main.floors.MT13=
],
"1,0": [
{
"type": "choices",
"text": "是否跳过剧情",
"choices": [
"type": "if",
"condition": "(core.isReplaying()||flag:SkipThePlot)",
"true": [
{
"text": "是",
"action": [
"type": "setValue",
"name": "flag:SkipThePlot",
"value": "false"
},
{
"type": "hide",
"loc": [
@ -493,6 +495,56 @@ main.floors.MT13=
],
"time": 0
},
{
"type": "hide",
"loc": [
[
6,
8
]
],
"time": 0
},
{
"type": "hide",
"loc": [
[
6,
9
]
],
"time": 0
},
{
"type": "hide",
"loc": [
[
5,
9
]
],
"time": 0
},
{
"type": "hide",
"loc": [
[
4,
9
]
],
"time": 0
},
{
"type": "hide",
"loc": [
[
2,
9
]
],
"time": 0
},
{
"type": "setBlock",
"number": "123",
@ -543,11 +595,12 @@ main.floors.MT13=
]
]
}
]
},
],
"false": [
{
"text": "否",
"action": [
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "playBgm",
"name": "linghaihuanxin.mp3"
@ -829,6 +882,10 @@ main.floors.MT13=
"code": 1,
"time": 0
},
{
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
},
{
"type": "sleep",
"time": 750
@ -1117,8 +1174,6 @@ main.floors.MT13=
"name": "xingkong.mp3"
}
]
}
]
},
{
"type": "setValue",
@ -1128,18 +1183,24 @@ main.floors.MT13=
],
"2,7": [
{
"type": "choices",
"text": "是否跳过剧情",
"choices": [
"type": "if",
"condition": "(core.isReplaying()||flag:SkipThePlot)",
"true": [
{
"text": "是",
"action": [
"type": "setValue",
"name": "flag:SkipThePlot",
"value": "false"
},
{
"type": "setValue",
"name": "flag:juqing",
"operator": "+=",
"value": "5"
},
{
"type": "if",
"condition": "(!switch:A)",
"true": [
{
"type": "follow",
"name": "airfollower.png"
@ -1204,6 +1265,8 @@ main.floors.MT13=
}
],
"false": []
}
]
},
{
"type": "unfollow",
@ -1227,6 +1290,16 @@ main.floors.MT13=
"type": "function",
"function": "function(){\ncore.status.hero.loc.direction=\"left\";\ncore.drawHero();\n}"
},
{
"type": "hide",
"loc": [
[
9,
8
]
],
"remove": true
},
{
"type": "setBlock",
"number": "354",
@ -1237,11 +1310,12 @@ main.floors.MT13=
]
]
}
]
},
],
"false": [
{
"text": "否",
"action": [
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "playBgm",
"name": "linghaihuanxin.mp3"
@ -1294,6 +1368,11 @@ main.floors.MT13=
"code": 2,
"time": 0
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "sleep",
"time": 1000
@ -1407,6 +1486,16 @@ main.floors.MT13=
"type": "function",
"function": "function(){\ncore.status.hero.loc.direction=\"left\";\ncore.drawHero();\n}"
},
{
"type": "setValue",
"name": "switch:A",
"value": "true"
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
},
{
"type": "showImage2",
"code": 1,
@ -1546,6 +1635,10 @@ main.floors.MT13=
"time": 0
},
"\t[邵虎]吓傻了吗?.........好吧,那我就等你缓过来好了。",
{
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
},
{
"type": "sleep",
"time": 500
@ -2315,8 +2408,6 @@ main.floors.MT13=
]
}
]
}
]
},
"changeFloor": {
"12,11": {

View File

@ -112,36 +112,8 @@ main.floors.MT5=
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "playBgm",
@ -420,23 +392,8 @@ main.floors.MT5=
"time": 0
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
},
{
"type": "setVolume",

View File

@ -57,36 +57,8 @@ main.floors.MT6=
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "showImage2",
@ -144,23 +116,8 @@ main.floors.MT6=
"time": 0
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
}
]
},

View File

@ -33,36 +33,8 @@ main.floors.MT7=
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "showImage2",
@ -222,23 +194,8 @@ main.floors.MT7=
"time": 0
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
}
],
"false": [

View File

@ -51,36 +51,8 @@ main.floors.MT9=
],
"false": [
{
"type": "showImage2",
"code": 10,
"image": "tiaojuqing.png",
"sloc": [
0,
0,
null
],
"loc": [
700,
0,
243,
"71.25"
],
"opacity": 1,
"time": 0
},
{
"type": "moveImage",
"code": 10,
"to": [
400,
0
],
"time": 500
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "true"
"type": "function",
"function": "function(){\ncore.Confirmskip_On();\n}"
},
{
"type": "move",
@ -224,23 +196,8 @@ main.floors.MT9=
]
},
{
"type": "setValue",
"name": "flag:useS_PASS",
"value": "false"
},
{
"type": "moveImage",
"code": 10,
"to": [
700,
0
],
"time": 500
},
{
"type": "hideImage",
"code": 10,
"time": 0
"type": "function",
"function": "function(){\ncore.Confirmskip_Off();\n}"
}
]
},

View File

@ -452,7 +452,7 @@ main.floors.MUDI=
},
{
"type": "sleep",
"time": 1000
"time": 2000
},
{
"type": "showImage2",
@ -491,7 +491,8 @@ main.floors.MUDI=
},
{
"type": "sleep",
"time": 2000
"time": 2000,
"noSkip": true
},
{
"type": "setText",
@ -523,6 +524,11 @@ main.floors.MUDI=
"type": "playSound",
"name": "jiaobusheng.mp3"
},
{
"type": "sleep",
"time": 2000,
"noSkip": true
},
"呼......呼.........",
"哈..哈.........",
"公主殿下..........汪大哥..........",

View File

@ -32,9 +32,29 @@ main.floors.QISHI=
],
"time": 20
},
{
"type": "sleep",
"time": 2000,
"noSkip": true
},
"公、公主殿下!!",
{
"type": "sleep",
"time": 2000,
"noSkip": true
},
"...呼...呼........",
{
"type": "sleep",
"time": 2000,
"noSkip": true
},
"公主殿下......您等等我......",
{
"type": "sleep",
"time": 2000,
"noSkip": true
},
{
"type": "function",
"function": "function(){\nvar time = 500;\ntime /= Math.max(core.status.replay.speed, 1)\nvar per_time = 50,\n\tstep = 0,\n\tsteps = parseInt(time / per_time);\nvar animate = core.isReplaying() ? 0 : setInterval(function () {\n\tstep++;\n\tcore.dom.wholeCtx.globalAlpha = 1;\n\tcore.dom.wholeCtx.fillRect(0, 0, core.dom.whole.width, core.dom.whole.height);\n\tcore.dom.wholeCtx.globalAlpha = step / steps;\n\tcore.drawImage(core.dom.wholeCtx, core.material.images.images['yinyuecun.jpg'], 0, 0);\n\tif (step == steps) {\n\t\tclearInterval(animate);\n\t}\n}, per_time);\n}"

View File

@ -73,6 +73,24 @@ main.floors.huxiao3=
"direction": "up",
"time": 500
},
{
"type": "function",
"function": "function(){\ncore.canvas.bg.canvas.style.filter='saturate(100%)';\n}"
},
{
"type": "setValue",
"name": "flag:Memories_grayscale",
"value": "false"
},
{
"type": "setGlobalAttribute",
"name": "borderColor",
"value": "204,204,204,1"
},
{
"type": "function",
"function": "function(){\ncore.maskFliter(500,'013-Square01.png')\n}"
},
{
"type": "trigger",
"loc": [

View File

@ -202,7 +202,7 @@ main.floors.nandu=
"true": [
{
"type": "function",
"function": "function(){\ncore.insertAction([{\n\t\"type\": \"choices\",\n\t\"text\": \"是否选择\" + [\"作弊\", \"简单\", \"中等\", \"困难\", \"噩梦\", \"作弊\"][flags.hard] + \"难度\",\n\t\"choices\": [{\n\t\t\t\"text\": \"是\",\n\t\t\t\"action\": [\n\t\t\t\t{ \"type\": \"break\" },\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"text\": \"否\",\n\t\t\t\"action\": [\n\t\t\t\t{ \"type\": \"setValue\", \"name\": \"fla\" + \"g:xuanzhong\", \"value\": \"0\" },\n\t\t\t]\n\t\t},\n\t]\n}, ])\n}"
"function": "function(){\ncore.insertAction([{\n\t\"type\": \"choices\",\n\t\"text\": \"\\\\c[21]是否选择\" + [\"\\r[#ffff80]作弊\", \"\\r[#80ff80]简单\", \"\\r[#8080ff]普通\", \"\\r[#ff80ff]困难\", \"\\r[#ff8080]噩梦\", \"\\r[#ffff80]作弊\"][flags.hard] + \"\\r难度\",\n\t\"choices\": [{\n\t\t\t\"text\": \"是\",\n\t\t\t\"action\": [\n\t\t\t\t{ \"type\": \"break\" },\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"text\": \"否\",\n\t\t\t\"action\": [\n\t\t\t\t{ \"type\": \"setValue\", \"name\": \"fla\" + \"g:xuanzhong\", \"value\": \"0\" },\n\t\t\t]\n\t\t},\n\t]\n}, ])\n}"
}
],
"false": [

View File

@ -1613,7 +1613,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
console.error(e);
}
}
if (core.getFlag('tiaojuqing_black')) {
core.status.hero.flags.tiaojuqing_black++
core.setOpacity('tiaojuqing_black', Math.abs(core.status.hero.flags.tiaojuqing_black % 200 * 0.004 - 0.4));
}
}
},
"ui": {
"getToolboxItems": function (cls) {

View File

@ -4,9 +4,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
this._afterLoadResources = function () {
// 本函数将在所有资源加载完毕后,游戏开启前被执行
}
if (!core.platform.isPC) {
try {
window.screen.orientation.lock("landscape-primary");
} catch (e) {}
}
core.dom.playGame.setAttribute('selected', true); ////游戏第一次打开进入到标题界面时要将光标设置为到playGame
@ -2822,16 +2824,18 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
},
"标题动画": function () {
var start = document.getElementById('startPanel');
var list = [];
var id = 0;
/*
// 标题
var title = document.getElementById('startTitle');
core.registerResize('startTitle', function () {
title.style.width = 300 * core.domStyle.scale + 'px';
title.style.height = 187 * core.domStyle.scale + 'px';
});
*/
// 星星动画使用sprite化方法
function draw() {
@ -3628,15 +3632,18 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
},
"按S跳过剧情": function () {
// 在此增加新插件
if (core.status.played) return; ////游戏开始后
core.registerAction('keyDown', "useS_PASS", function (keycode) { /////按下某个键
if (!core.status.hero.flags.useS_PASS) return false;
if (!core.getFlag('useS_PASS')) return false;
}, 100);
var _my_useS_PASS = function (keycode) { ////放开某个键
if (!core.status.hero.flags.useS_PASS) return false;
if (!core.getFlag('useS_PASS')) return false;
if (keycode == 83) { ////按下S时
core.Confirmskip();
}
@ -3644,7 +3651,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.registerAction('keyUp', 'useS_PASS', _my_useS_PASS, 100);
core.registerAction('ondown', 'useS_PASS', function (x, y, px, py) {
if (!core.status.hero.flags.useS_PASS) return false;
if (!core.getFlag('useS_PASS')) return false;
if (x >= 7 && y <= 2) {
core.Confirmskip();
@ -3668,13 +3675,13 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.registerAction('keyDown', "Confirmskip", function (keycode) { /////按下某个键
if (!core.status.hero.flags.Confirmskip) return false;
if (!core.getFlag('Confirmskip')) return false;
return true; ///全部拦截
}, 100);
var _my_Confirmskip = function (keycode) { ////放开某个键
if (!core.status.hero.flags.Confirmskip) return false;
if (!core.getFlag('Confirmskip')) return false;
if ((keycode == 13 || keycode == 32 || keycode == 67)) { ////按下空格\回车\C时
if (core.status.hero.flags.ConfirmskipChoose === 1) { ///选择为跳过剧情
core.ConfirmskipOK();
@ -3699,7 +3706,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.registerAction('keyUp', 'Confirmskip', _my_Confirmskip, 100);
core.registerAction('ondown', 'Confirmskip', function (x, y, px, py) {
if (!core.status.hero.flags.Confirmskip) return false;
if (!core.getFlag('Confirmskip')) return false;
if (x >= 3 && x <= 6 && y === 6) {
if (core.status.hero.flags.ConfirmskipChoose === 0) {
@ -3733,10 +3740,31 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.clearMap('Confirmskip_text')
core.clearUIEventSelector(1); ////清除光标
core.deleteAllCanvas(); ///清空画布
core.status.hero.flags.SkipThePlot = true; ////跳过事件开关
core.status.hero.flags.SkipThePlot = true; ////跳过事件开关开启
core.insertAction({ "type": "exit" });
if (core.hasAsync())
core.insertAction({ "type": "stopAsync" }); ///结束异步
core.insertAction({ "type": "insert" }); ///重新触发当前事件
core.doAction(); ///执行下一个事件
core.status.hero.flags.tiaojuqing_black = 0; ///闪烁开关归0
}
core.Confirmskip_On = function () {
core.status.hero.flags.useS_PASS = true;
core.insertCommonEvent('跳过事件图片');
core.createCanvas('tiaojuqing_black', 0, 0, 480, 480, 151); ///
core.setFilter('tiaojuqing_black', 'brightness(0%)');
core.setOpacity('tiaojuqing_black', 0);
core.drawImage('tiaojuqing_black', 'tiaojuqing.png', 0, 0, 324, 95, 240, 0, 243, 71);
core.status.hero.flags.tiaojuqing_black = 100; ///闪烁开关此数值也影响闪烁的明暗为100时刚刚开始闪烁
}
core.Confirmskip_Off = function () {
core.status.hero.flags.useS_PASS = false;
core.insertCommonEvent('跳过事件图片');
core.status.hero.flags.tiaojuqing_black = 0; ///闪烁开关归0
}
}