JSFiddle - React, Tailwind, and code Playground
by Manawe
JavaScript
//normal
var replaceQuestBase = [14, 16, 17, 14, 16, 17, 14, 16, 17, 103, 104, 105, 106, 107, 103, 104, 105, 106, 107, 103, 104, 105, 106, 107, 316, 317, 318, 319, 320];
for (i = 0; i < replaceQuestBase.length; i++) {
a = replaceQuestBase[i];
b = ground_base[a].img;
b.x = 0;
b.y = 0;
}
//walco
for (i = 0; i < ground_base.length; i++) {
b = ground_base[i].img;
if (b.y === 3) {
b.y = 3;
}
}