https://pvzm.net/ to play [Read-only GitHub mirror] pvzm.net
modded vs pvz plants-vs-zombies plantsvszombies javascript online zombie noads jspvz pvzm game plants plant
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Format "make zombie chooser clearer" Original commit: https://github.com/ROBlNET13/pvz/commit/7e7900a32da5d5d6216107f8d082ec11c75d5181

Co-authored-by: ClaytonTDM <clay@clay.rip>

+7 -4
+1 -1
game/images/Zombies/CX/v.html
··· 1 - bce6d256a017d29dfa4afefeae1b04990eb31161 1 + 7e7900a32da5d5d6216107f8d082ec11c75d5181
+6 -3
game/level/izombieleveleditor.js
··· 184 184 if (oS.ChosenZombies.includes(card)) { 185 185 if (oS.ChosenZombies.length > 1) { 186 186 oS.ChosenZombies = oS.ChosenZombies.filter((z) => z !== card); 187 - grayTargets.forEach((el) => el.style.filter = "none"); 187 + grayTargets.forEach((el) => (el.style.filter = "none")); 188 188 if (cb) cb.checked = false; 189 189 PlaySound2("tap"); 190 190 } 191 191 } else { 192 192 oS.ChosenZombies.push(card); 193 - grayTargets.forEach((el) => el.style.filter = "grayscale(100%)"); 193 + grayTargets.forEach((el) => (el.style.filter = "grayscale(100%)")); 194 194 if (cb) cb.checked = true; 195 195 PlaySound2("tap"); 196 196 } ··· 202 202 checkbox.type = "checkbox"; 203 203 checkbox.className = "zombie-check"; 204 204 checkbox.checked = isSelected; 205 - checkbox.onclick = function (e) { e.stopPropagation(); div.click(); }; 205 + checkbox.onclick = function (e) { 206 + e.stopPropagation(); 207 + div.click(); 208 + }; 206 209 div.appendChild(checkbox); 207 210 208 211 const img = document.createElement("img");