I agree. The code is just matching transition tiles in segments, but it's to tell exactly what it's doing. I'll work on improving it. I was working on this all night and at some point I lowered my standards of code readability to get everything done.