I'm at my wit's end here...

It was working; then it stopped.

Code:
action test_pather()
{
	path_set(my, "path_000");
	var start_node = ll_pfind_getClosestNode(my, my.x, 1000, NULL);
	var dest_node = ll_pfind_getClosestNode(my, player.x, 1000, NULL);
	LL_LIST *path = ll_pfind_getPathToTarget(my, start_node, dest_node, ll_pfind_astarCost);
	while(!path)
	{
		beep();
		wait(1);
	}
}



This beeps, which shouldn't be happening.
If I use the full script, I get errors when trying to modify the list; and I get a bit_array error when I compile the full script.