danoniplus 29.0.1 → 29.1.0
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/js/danoni_main.js +12 -9
- package/package.json +1 -1
package/js/danoni_main.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 29.0
|
|
11
|
+
const g_version = `Ver 29.1.0`;
|
|
12
12
|
const g_revisedDate = `2022/11/05`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
@@ -2485,8 +2485,9 @@ const headerConvert = _dosObj => {
|
|
|
2485
2485
|
obj.artistNames = [];
|
|
2486
2486
|
obj.musicNos = [];
|
|
2487
2487
|
|
|
2488
|
-
|
|
2489
|
-
|
|
2488
|
+
const dosMusicTitle = _dosObj[`musicTitle${g_localeObj.val}`] ?? _dosObj.musicTitle;
|
|
2489
|
+
if (hasVal(dosMusicTitle)) {
|
|
2490
|
+
const musicData = splitLF2(dosMusicTitle);
|
|
2490
2491
|
|
|
2491
2492
|
if (hasVal(_dosObj.musicNo)) {
|
|
2492
2493
|
obj.musicNos = _dosObj.musicNo.split(`$`);
|
|
@@ -8548,8 +8549,10 @@ const mainInit = _ => {
|
|
|
8548
8549
|
g_audio.pause();
|
|
8549
8550
|
clearTimeout(g_timeoutEvtId);
|
|
8550
8551
|
if (keyIsDown(g_kCdNameObj.shiftKey)) {
|
|
8551
|
-
|
|
8552
|
-
|
|
8552
|
+
if (g_currentArrows !== g_fullArrows || g_stateObj.lifeMode === C_LFE_BORDER && g_workObj.lifeVal < g_workObj.lifeBorder) {
|
|
8553
|
+
g_gameOverFlg = true;
|
|
8554
|
+
g_finishFlg = false;
|
|
8555
|
+
}
|
|
8553
8556
|
resultInit();
|
|
8554
8557
|
} else {
|
|
8555
8558
|
titleInit();
|
|
@@ -9660,13 +9663,13 @@ const lifeDamage = _ => {
|
|
|
9660
9663
|
* 判定キャラクタの表示、判定済矢印数・判定数のカウンタ
|
|
9661
9664
|
* @param {string} _name
|
|
9662
9665
|
* @param {string} _character
|
|
9663
|
-
* @param {string}
|
|
9666
|
+
* @param {string} _fjdg
|
|
9664
9667
|
*/
|
|
9665
|
-
const changeJudgeCharacter = (_name, _character,
|
|
9668
|
+
const changeJudgeCharacter = (_name, _character, _fjdg = ``) => {
|
|
9666
9669
|
g_resultObj[_name]++;
|
|
9667
9670
|
g_currentArrows++;
|
|
9668
|
-
document.querySelector(`#chara${
|
|
9669
|
-
document.querySelector(`#chara${
|
|
9671
|
+
document.querySelector(`#chara${_fjdg}J`).innerHTML = `<span class="common_${_name}">${_character}</span>`;
|
|
9672
|
+
document.querySelector(`#chara${_fjdg}J`).setAttribute(`cnt`, C_FRM_JDGMOTION);
|
|
9670
9673
|
document.querySelector(`#lbl${toCapitalize(_name)}`).textContent = g_resultObj[_name];
|
|
9671
9674
|
};
|
|
9672
9675
|
|