
begintalkscript;
variables;
short choice;

begintalknode 1;
	state = -1;
	nextstate = 1;
	personality = 1;
	question = "Taskmaster Hurp";
	text1 = "This is a big troglodyte.  He wields a large club and a frothy expression.";
	text2 = "_YOU,_ he shouts, _IT YOUR TURN!  GO G- ERRRAAGGG- GET WEAPONS!_";
	text5 = "The Taskmaster impatiently watches you.";
	text6 = "_YOU GET WEAPONS?_";
	action = INTRO;
	code =
		play_sound(-48);
	break;
begintalknode 2;
	state = 1;
	nextstate = 1;
	personality = 1;
	condition = get_flag(0,0) != 2;
	question = "What's my turn?";
	text1 = "_RAUGGGGHH, WHY YOU STILL TALK?  GO GET AND THEN FURTHER SPEAK!  NO MOUTH, SH- RUHRRRAAATTTTRU- SHUT FACE!_";

begintalknode 3;
	state = 1;
	nextstate = 1;
	personality = 1;
	condition = get_flag(0,1) == 0;
	question = "Where can I find weapons?";
	text1 = "_BEHIND IN HALL!  YOU G- UUURRRRRAAAHHH- GO!_";

begintalknode 4;
	state = 1;
	nextstate = -1;
	personality = 1;
	condition = get_flag(0,0) != 2;
	question = "Alright, I'll go get weapons.";
	text1 = "_SHUT FACE AND GO!_";
	action = END_TALK;
	code =
		if(get_flag(0,0) == 1){
			toggle_quest(0,1);

			set_flag(0,0,2);
			}
break;

begintalknode 5;
	state = 1;
	nextstate = 2;
	personality = 1;
	condition = get_flag(0,1) == 1;
	question = "Yes, I have weapons.";
	text1 = "The Taskmaster's lips part in a gruesome, rotten-toothy grin.";
	text2 = "_G- ORRRRUAAGGGG- GOOD!  NOW YOU READY!  COME FOLLOW!_";
	code =
		toggle_quest(0,0);
		award_party_xp(50,1);
		set_flag(0,1,2);
	break;
begintalknode 6;
	state = 1;
	nextstate = -1;
	personality = 1;
	condition = get_flag(0,0) == 2;
	question = "No, not yet.";
	text1 = "_AAAAAAAAAAAAAAAAAAA, THEN WHY HERE!?  GO AND GET OR I KILL!_";
	action = END_TALK;

begintalknode 7;
	state = 2;
	nextstate = -1;
	personality = 1;
	question = "Wait, what do I need these weapons for?";
	text1 = "The troglodyte continues down the hall and impatiently motions for you to follow him.";
	text2 = "_SHUT FACE AND SEE YOURSELF!_";
	action = END_TALK;
	code =
		erase_char(35);
	break;

begintalknode 8;
	state = 2;
	nextstate = -1;
	personality = 1;
	question = "Okay, I'll follow you.";
	text1 = "Annoyed, the troglodyte impatiently motions for you to follow him down the hall.";
	text2 = "_NO TALK, JUST COME!_";
	action = END_TALK;
	code =
		erase_char(35);
	break;

