It is rather amazing how enthusiastically the Lamanite guards responded to Moroni's strategy. Apparently Moroni was waiting in the vicinity fully prepared to take action the moment it was safe to do so.