create_move_route
Generate movement routes from named patterns (patrol/approach/flee/wander/custom) instead of raw move codes. Returns a moveRoute for event autonomous movement or forced route commands.
Instructions
Build a movement route from a named pattern (patrol/approach/flee/wander/custom) instead of raw move-command codes. Read-only: returns { moveRoute, warnings? }. Use the route as an event page’s autonomous moveRoute (update_map_event with moveType 3), or feed it to set_movement_route for a forced route in an event command list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the route to finish before continuing | |
| steps | No | patrol only: steps per leg (default 3) | |
| repeat | No | Loop the route (patterns loop by default) | |
| pattern | Yes | patrol (walk a direction and back), approach (toward player), flee (away from player), wander (random), or custom (your own move commands) | |
| commands | No | custom only: raw move commands { code, parameters } | |
| direction | No | patrol only: primary direction, walked out and back (default right) | |
| skippable | No | Skip a step when movement is blocked |