There was a bug where the lieutenant in the dungeon wasn't always jumping - it looked as if somehow its vy was being set to zero after the update script exited.  It appears that rearranging things so that update scripts run before doing motion corrects this.