This is a piece of code that I have that just SCRAMBLES spites and I wanted to do some testing. You may see some patterns.
I made the code 6 years ago and forgot it.