that is because he follows a set path. If you want to know what to do, find and collect all the keys.