Nicely done! The super-constrained instruction list meant I had to use the terrain as an extra guide. Failed movements approximate a sort of "if-then" matching. I don't know my my solutions are the only ones, or the most efficient, but I did grab the grimoire and break the golem out of its loop.