Wait, what's going on with the the quotes at the end of these lines?
CharacterTeleportPartyToTrigger(TRIGGER_Prison_P1,"");
CharacterTeleportToTrigger(CHARACTER_Guard, TRIGGER_Prison_Guard,0,"");
Is that how you make variables for strings? If so, maybe the script is confused because they're trying to make the variable the same for those two different commands. I would think you'd have to fill in the strings with something, at least "_Event."
Do you still get the same problems if you take away the FadeToBlack call? Try each line by itself and see if you get the errors.
And you've made all these things global, right? And made sure you're using all the right names and stuff...