begintalkscript;

variables;

begintalknode 1;
	state = -1;
	nextstate = 1;
	question = "Harold";
	text1 = "This zombie is in horrible shape, as are most.  It looks as if it was torn apart and patched together not once but multiple times.  Its entire body is a scab.  It looks thankful to see you.";
	text2 = "_Thank goodness you're here.  My name's Harold._";

begintalknode 2;
	state = 1;
	nextstate = -1;
	question = "How did you end up here, Harold?";
	text1 = "This question is obviously difficult for him to answer.  He hums to himself for a while and stares into space.  Eventually, he responds.";
	text2 = "_I forget._";

begintalknode 3;
	state = 1;
	nextstate = -1;
	question = "How long have you been here?";
	text1 = "_I can't say.  I don't need sleep, and I just can't see the sun here, so I wouldn't be able to tell you.  Feels like an eternity, though._";

begintalknode 4;
	state = 1;
	nextstate = -1;
	question = "What has Kurojutsu been doing to you?";
	text1 = "The name of Kurojutsu makes him quiver in fear.";
	text2 = "_He...  He beats me.  He slices me up.  He puts me back together, then he slices me up again.  He burns me, he shocks me.  He..._";
	text3 = "Harold begins doing something that almost seems like crying.  His infected, scabby skin begins heaving, but because Kurojutsu more than likely destroyed Harold's tear ducts, no waters come forth.";

begintalknode 5;
	state = 1;
	nextstate = 2;
	question = "How can I help you get out of here?";
	text1 = "For a second, his eyes light up.";
	text2 = "_I'm not sure if that's even possible, but if it is, you'll need to be sure not to fall for Kurojutsu's traps._";

begintalknode 6;
	state = 2;
	nextstate = 3;
	question = "Traps?";
	text1 = "_Well, Kurojutsu's audience chamber has four raised pedestals.  I'm glad that you came to me before rushing to him, because people have made that mistake before._";

begintalknode 7;
	state = 3;
	nextstate = 4;
	question = "What do the traps do?";
	text1 = "_Simple.  They summon Kurojutsu's most powerful shock troops into the room, Quickghasts and Vampires, all strong and ancient._";

begintalknode 8;
	state = 4;
	nextstate = 5;
	question = "How do I de-activate the traps?";
	text1 = "_Hm...  That's a good question.  I forget.  But don't charge Kurojutsu's main hall until the traps are disabled._";

begintalknode 9;
	state = 5;
	nextstate = 6;
	question = "How do you know all of this?";
	text1 = "_I dunno._";

begintalknode 10;
	state = 6;
	nextstate = -1;
	question = "It strikes me that the only way you could know this information is if you personally tried to slay Kurojutsu and failed, putting yourself in this predicament in the first place.";
	text1 = "He scratches his head.  This clearly has not occured to him for a long time.";
	text2 = "_Hm...  Perhaps._";
	text3 = "_If you need my help to beat Kurojutsu and manage to free me, I'd be happy to join you._";

begintalknode 11;
	state = -1;
	nextstate = 10;
	question = "Valzgoth";
	text1 = "The wight before you continues pressing buttons rapidly on the control panel before it.";
	text2 = "It looks vaguely like the uncivilized Wights who you have seen previously, but this one is noticeably less disheveled and has its claws trimmed.  Some buttons flash, others remain dull.  You can't understand it.";

begintalknode 12;
	state = 10;
	nextstate = 11;
	question = "Hello?";
	text1 = "The wight turns around and addresses you, speaking with perfect enunciation.";
	text2 = "_Greetings.  My name is Valzgoth.  May I assist you?_";

begintalknode 13;
	state = 11;
	nextstate = -1;
	question = "You talk!";
	text1 = "Valzgoth shakes his head and scowls.  He doesn't seem to think that the idea is so revolutionary, and doesn't see why you would think so either.";

begintalknode 14;
	state = 11;
	nextstate = 12;
	question = "You aren't attacking me.";
	text1 = "_I know this.  What do you think I am, a savage?  Master Kurojutsu made me to take care of his machinery, not to sully my claws with the blood of interlopers._";

begintalknode 15;
	state = 12;
	nextstate = 13;
	question = "If you won't attack me, then would you assist me with something?";
	text1 = "_No._";

begintalknode 16;
	state = 11;
	nextstate = -1;
	question = "Is it difficult to operate the machinery?";
	text1 = "_Is it difficult for you to wave around your sword and chop off a goblin's head off?  No.  You were made to kill monsters for rich people, I was made to punch buttons for an un-living._";

begintalknode 17;
	state = 1;
	nextstate = 25;
	question = "The gate to your cell is open.";
	condition = get_flag(26,6) > 3;
	text1 = "_Hunh?  Oh, you're right.  Hey!  I've got a great idea, can I follow you around?  I'd like to take a few whacks at Kurojutsu myself._";

begintalknode 18;
	state = 25;
	nextstate = -1;
	question = "Sure.";
	action = END_TALK;
	text1 = "Harold almost ambivalently slides out of his cell on his damaged limbs.  In spite of the damage he has taken, Kurojutsu's dark necromancy has allowed Harold to have much more strength than would meet the eye.";
	code = 
		add_char_to_party(30);
		set_flag(38,2,2);
		break;

begintalknode 19;
	state = 25;
	nextstate = 1;
	question = "Not really.";
	text1 = "He shrugs.  _Okay._";