not available functions to replace by ....
the (not a link to be found in gist or so ) jumptooctopus (tge bane if the game) uses not declared bottom() top() right() left()
replacing that by y h w x the script works.
(rather new pythonista 3)
@PKHG , please check your link, it's wrong.
It was not meant as a link, happened automatically?