Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

フリーズアローの判定処理を修正 #1627

Merged
merged 2 commits into from Mar 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 11 additions & 4 deletions js/danoni_main.js
Expand Up @@ -9549,7 +9549,7 @@ const mainInit = _ => {

frzOFF: (_j, _k, _cnt) => {

if (g_workObj.judgFrzCnt[_j] === _k - 1) {
if (g_workObj.judgFrzCnt[_j] === _k - 1 && _cnt <= g_judgObj.frzJ[g_judgPosObj.sfsf]) {
const prevFrzName = `frz${_j}_${g_workObj.judgFrzCnt[_j]}`;
const prevFrz = g_attrObj[prevFrzName];

Expand Down Expand Up @@ -10311,9 +10311,16 @@ const judgeArrow = _j => {
const currentArrow = g_attrObj[arrowName];
const existJudgArrow = document.getElementById(arrowName) !== null;

const fcurrentNo = g_workObj.judgFrzCnt[_j];
const frzName = `frz${_j}_${fcurrentNo}`;
const currentFrz = g_attrObj[frzName];
let fcurrentNo = g_workObj.judgFrzCnt[_j];
let frzName = `frz${_j}_${fcurrentNo}`;
let currentFrz = g_attrObj[frzName];

if (currentFrz?.judgEndFlg) {
fcurrentNo = g_workObj.judgFrzCnt[_j] + 1;
frzName = `frz${_j}_${fcurrentNo}`;
currentFrz = g_attrObj[frzName];
}

const existJudgFrz = document.getElementById(frzName) !== null;

const judgeTargetArrow = _difFrame => {
Expand Down