danoniplus 36.6.8 → 36.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/js/danoni_main.js +10 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
# Dancing☆Onigiri (CW Edition)
|
|
2
2
|
|
|
3
|
-
[](https://www.codefactor.io/repository/github/cwtickle/danoniplus)
|
|
4
|
-
[](https://app.codacy.com/gh/cwtickle/danoniplus/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
|
5
3
|
[](https://github.com/cwtickle/danoniplus/actions?query=workflow%3ACodeQL)
|
|
6
4
|
[](https://discord.gg/YVWUdUGyMy)
|
|
7
|
-
[](https://github.com/cwtickle/danoniplus/security/policy)
|
|
8
6
|
[](https://github.com/cwtickle/danoniplus/releases)
|
|
9
7
|
[](https://github.com/cwtickle/danoniplus/blob/develop/LICENSE)
|
|
10
8
|

|
package/js/danoni_main.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Source by tickle
|
|
6
6
|
* Created : 2018/10/08
|
|
7
|
-
* Revised :
|
|
7
|
+
* Revised : 2025/01/28
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 36.6.
|
|
12
|
-
const g_revisedDate = `
|
|
11
|
+
const g_version = `Ver 36.6.10`;
|
|
12
|
+
const g_revisedDate = `2025/01/28`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -7900,7 +7900,7 @@ const scoreConvert = (_dosObj, _scoreId, _preblankFrame, _dummyNo = ``,
|
|
|
7900
7900
|
// g付きの場合は矢印グループから対象の矢印番号を検索
|
|
7901
7901
|
const groupVal = setIntVal(val.slice(1));
|
|
7902
7902
|
for (let j = 0; j < keyNum; j++) {
|
|
7903
|
-
if (g_keyObj[`color${
|
|
7903
|
+
if (g_keyObj[`color${g_keyObj.currentKey}_0`][j] === groupVal) {
|
|
7904
7904
|
colorVals.push(j);
|
|
7905
7905
|
}
|
|
7906
7906
|
}
|
|
@@ -9902,6 +9902,10 @@ const mainInit = _ => {
|
|
|
9902
9902
|
|
|
9903
9903
|
arrowOFF: (_j, _k, _cnt) => {
|
|
9904
9904
|
|
|
9905
|
+
// 直前のフリーズアローが未判定で、自身の判定範囲がキター(O.K.)の範囲内のとき判定対象を矢印側へ移す
|
|
9906
|
+
// 本来はシャキン(Great)の範囲内としたいところだが、実装が複雑になるため上記条件とする
|
|
9907
|
+
judgeNextFunc.frzOFF(_j, g_workObj.judgFrzCnt[_j] + 1, _cnt);
|
|
9908
|
+
|
|
9905
9909
|
if (g_workObj.judgArrowCnt[_j] === _k - 1 && _cnt <= g_judgObj.arrowJ[g_judgPosObj.shakin]) {
|
|
9906
9910
|
const prevArrowName = `arrow${_j}_${g_workObj.judgArrowCnt[_j]}`;
|
|
9907
9911
|
const prevArrow = g_attrObj[prevArrowName];
|
|
@@ -9929,7 +9933,7 @@ const mainInit = _ => {
|
|
|
9929
9933
|
const prevFrz = g_attrObj[prevFrzName];
|
|
9930
9934
|
|
|
9931
9935
|
// 自身より前のフリーズアローが移動中かつキター(O.K.)の領域外のとき
|
|
9932
|
-
if (prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
|
|
9936
|
+
if (prevFrz && prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
|
|
9933
9937
|
|
|
9934
9938
|
// 自身より前のフリーズアローが未判定の場合、強制的に枠外判定を行う
|
|
9935
9939
|
if (prevFrz.cnt >= (-1) * g_judgObj.frzJ[g_judgPosObj.iknai] && !prevFrz.judgEndFlg) {
|
|
@@ -10190,7 +10194,7 @@ const mainInit = _ => {
|
|
|
10190
10194
|
judgeMotionFunc[`${_name}NG`](_j, _k, frzName, currentFrz.cnt);
|
|
10191
10195
|
|
|
10192
10196
|
} else {
|
|
10193
|
-
currentFrz.frzBarLength -=
|
|
10197
|
+
currentFrz.frzBarLength -= movY * currentFrz.dir;
|
|
10194
10198
|
if (currentFrz.frzBarLength > 0) {
|
|
10195
10199
|
currentFrz.y -= movY;
|
|
10196
10200
|
$id(frzName).top = wUnit(currentFrz.y);
|