Looky, from 71 lines to 13. Loops and mathematics are amazing aren't they?
NPC Code:
//#CLIENTSIDE
if (created || timeout) {
timeout = .05;
for (a=0;a<22;a++) {
i = (a+int(a/21))*3;
showpoly a,{playerx,i,i,playery+3};
showpoly a+22,{i,playerx,playery+3,i};
changeimgcolors a,random(0,1),random(0,1),random(0,1),1;
changeimgcolors a+22,random(0,1),random(0,1),random(0,1),1;
changeimgvis a,0;
changeimgvis a+22,0;
}
}