Thanks llamazing - that's really helpful! And I just grabbed the script less than a month ago, so I've only worked with the most recent version.
The specific problem I'm having relates to hero:freeze() presumably not working. With this code the hero does not freeze:
map:start_coroutine(function()
hero:freeze()
m:set_target(296, 728);
movement(m, npc)
m:set_target(184, 656);
movement(m, npc)
dialog("npcs.npc")
game:set_value("quest", 0)
hero:unfreeze()
end)
Strangely enough, hero:get_state() still returns "frozen" as expected, but I have full control.