I don't remember where I left off, only that I had a high amount of errors. Well, I assume I fixed them. And I ended the basic AI calculations code. This is a loop in a loop, and the logic of this code is very hard to follow, so I had to take my time and watch the code closely so I can keep my logic reasoning for this code. I will review it in the future again for faults, I already found one when I finished this one, but I fixed it.

Plus I achieved to simplify the code tremendously. So that is a good thing.