He’s rather random for most of the time, although should a move fail, a FAIL sequence would occur which would make him retry to an earlier point before he failed to redo the scenario by trying another option until he can get the option that can make him achieve his goal.