// Cloned by David Jusev on 1 Dec 2022 from Mind "Complex Mind (clone by Avril Hayden)" by Avril Hayden
// Please leave this clone trail here.
AB.mind.getAction=function(A){var T=A[0],I=A[1],n=A[2],N=A[3];return N<I?AB.randomPick(ACTION_UP,AB.randomPick(ACTION_RIGHT,ACTION_LEFT)):N>I?AB.randomPick(ACTION_DOWN,AB.randomPick(ACTION_RIGHT,ACTION_LEFT)):n<T?AB.randomPick(ACTION_RIGHT,AB.randomPick(ACTION_UP,ACTION_DOWN)):n>T?AB.randomPick(ACTION_LEFT,AB.randomPick(ACTION_UP,ACTION_DOWN)):AB.randomIntAtoB(0,3)};