EDIT: I figured it out. Now my math may be wrong but I thought this was correct.
HasSelection = X * 8 + Y Then X = HasSelection / 8 Y = HasSelection % 8
Is that not right?
Basically to fix it I eliminated HasSelection and instead put a X and Y placeholder that is transfered. That works. Something with this line
CheckY = ToLookUp % 8;Guess that is not correct? Yet it works for every other square except the last row the 8th row.