0 Members and 1 Guest are viewing this topic.
: .G-BRAIN:..............:: .On tile: !If {A}^7 or ({B}^7): L4+2?P: 0?{L4}r: 0?{P}: If J: J*?1?{L4}: Else: K*?1?{L4+1}: End::.stop indent::.1 UP:!If pxl-Test({A},{B}-1)r:If {L4+1}??1: 0?{{P}*2+L4+3}: ?1?{{P}*2+L4+4}: {P}+1?{P}:End:End::.2 RIGHT:!If pxl-Test({A}+7,{B})r:If {L4}?1: 1?{{P}*2+L4+3}: 0?{{P}*2+L4+4): {P}+1?{P}:End:End::.3 DOWN:!If pxl-Test({A},{B}+7)r:If {L4+1}?1: 0?{{P}*2+L4+3}: 1?{{P}*2+L4+4}: {P}+1?{P}:End:End::.4 LEFT:!If pxl-Test({A}-1,{B})r:If {L4}??1: ?1?{{P}*2+L4+3}: 0?{{P}*2+L4+4}: {P}+1?{P}:End:End::.resume indent:: {rand^{L4+2}*2+L4+3}?P: {P}?iPart(U}: {P+1}?iPart(V}: sub(GGD): End::..............
: {rand^{L4+2}*2+L4+3}→P: {P}→iPart(U}: {P+1}→iPart(V}
: rand^{L4+2}*2+L4+3→P: {P}→iPart(U}: {P+1}→iPart(V}
Well it took like three hours of stepping through the instructions one-by-one in wabbitemu's debugger, but I think I isolated and solved all the problems.