NPC Code: if (playerenters||timeout){ showimg 1,light2.png,this.x,this.y; changeimgcolors 1,random(.1,1),random(.1,1),0,.99; this.x=random(0,60); this.y=random(0,60); timeout=0.05;}
if (playerenters||timeout){ showimg 1,light2.png,this.x,this.y; changeimgcolors 1,random(.1,1),random(.1,1),0,.99; this.x=random(0,60); this.y=random(0,60); timeout=0.05;}