A little simulation

In the code, the linetrace is testing for a variable we don’t know the value of.
That’s probably the reason the checks are not where you think they should be.
A loop from 0 to 3 is 4 different values that you should have set within that array.
What are they?