Trainer’s Field Manual
Script Builder
Describe the run you want and the builder writes the Lua for it — route, filters, battle plan and safety rules. Every function it emits is checked against the live API before you copy a single line.
moveToMap() is retired. The host aborts any script that calls it, so map changes
here are walked with moveToCell(x, y) using your link graph.