|
its basically the same code the main problem was that it was in a timer with an interval of 1, so it was repeating the same intructions over and over when i didn't want them to be, thus screwing it up, i moved it to an onclick event, made some few very minor adjustments and it worked
|