diff --git a/multi.html b/multi.html index 865cfd37..65b1d08e 100644 --- a/multi.html +++ b/multi.html @@ -734,9 +734,9 @@ var formation = new Formation(teamsCount,5);
diff --git a/script.js b/script.js index 33621efa..76417e32 100644 --- a/script.js +++ b/script.js @@ -1797,7 +1797,7 @@ function editMon(teamNum,isAssist,indexInTeam) const monEditAddHp = settingBox.querySelector(".row-mon-plus .m-plus-hp"); const monEditAddAtk = settingBox.querySelector(".row-mon-plus .m-plus-atk"); const monEditAddRcv = settingBox.querySelector(".row-mon-plus .m-plus-rcv"); - if (mon.plus) + if (mon.plus && mon.id>0) { monEditAddHp.value = mon.plus[0]; monEditAddAtk.value = mon.plus[1]; diff --git a/solo.html b/solo.html index c23f8c8d..026e8fc0 100644 --- a/solo.html +++ b/solo.html @@ -686,9 +686,9 @@ var formation = new Formation(teamsCount,6);
diff --git a/triple.html b/triple.html index 21b4f47f..35661072 100644 --- a/triple.html +++ b/triple.html @@ -1381,9 +1381,9 @@ var formation = new Formation(teamsCount,6);