Thread:Pixel-Voxel/@comment-14600979-20141224045645

FOR I=0 TO MAP_TX FOR J=0 TO MAP_TY

IF ARR(MAP_TX,MAP_TY)==tileidforanimatesinORform THEN GOSUB @makechicken NEXT NEXT RETURN? I'M NOT SURE @makechicken POT=POT+1 DIM ANIMA(3,POT) ANIMA(0,POT)=I ANIMA(1,POT)=J ANIMA(2,POT)=ARR(MAP_TX,MAP_TY) IF ARR(MAP_TX,MAP_TY)==idpermchanges THEN ANIMA(3,POT)=1 ELSE ANIMA(3,POT)=0 RETURN

Then you know where the dynamic tiles are located. 