Code:
insts=[];
for(i=0;i<instrumentSelect.length;i++)
{
insts.push(parseInt(instrumentSelect[i].value))
}
for(i=0;i<settings.instrumentColors.length;i++)
{
if(!insts.includes(i))
{
var opt = document.createElement("option");
opt.value = i;
opt.text = String(i);
instrumentSelect.add(opt);
}
}
CONSOLE TUTORIAL
Chrome: f12 and select console tab, paste code, then select the instruments tab and scroll down.
Else: Something similar, I use Chrome, sorry.
Kim Wrote:##878337 + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin