Well, it appears as though I've found a dialog limit while modding. I have been trying to add another mod to the Megamod, and couldn't figure out why all scripts related to it kept crashing the game. Everything seemed to work fine in the mapper, but not the game. The scripts seem to work fine in the game, until it tries to retrieve dialog from the dialog folder. I'm getting around this by just combining dialog files. This error seems to occur at dialog/script 1774 (though it might be a few before this, occurring at 1769).