// Town 56: Throne Room
begintownscript;

variables;

short choice,i,j,k;
string dlgstr;

body;

beginstate INIT_STATE;
	set_crime_tolerance(2);
	
	change_blocked(15,28,1);
	change_blocked(16,28,1);
	change_blocked(17,28,1);
	change_blocked(18,28,1);
	change_blocked(19,28,1);
	change_blocked(15,29,1);
	change_blocked(16,29,1);
	change_blocked(17,29,1);
	change_blocked(18,29,1);
	change_blocked(19,29,1);
	change_blocked(15,30,1);
	change_blocked(16,30,1);
	change_blocked(17,30,1);
	change_blocked(18,30,1);
	change_blocked(19,30,1);
	
	if (get_flag(56,0) == 0) {
		force_instant_terrain_redraw();
		set_flag(56,0,1);
		message_dialog("As you walk up these stairs, you gradually get an intense feeling of dread. The dark god Nathaganth waits for you beyond these doors. He will not be gentle.","");
		}
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
	if (get_flag(56,1) == 0) {
		reset_dialog();
		add_dialog_str(0,"You enter the dark god's throne room, and you are greeted with emptiness. He has no attendants, no ravening demon hordes, no cackling imp servants or malformed berekh wives. He is not Nolagh-Khar, to frighten you with his swarms.",0);
		add_dialog_str(1,"Nathaganth stands, alone, at the end of the hall, his sword drawn, ready for your advance. No words need to be spoken. He is not Galthrax, inclined to bandy words before your destruction, or Dalaghant, lonely and desiring to explain his plots to anyone.",0);
		add_dialog_str(2,"He remains calmly motionless, with all the energy and all the power that he needs to fight you. He is not Vakhoss, frantically, insanely calling upon the gods for aid, or the other barbarian leaders, sloppily ignoring you as their destruction approaches.",0);
		add_dialog_str(3,"No, Nathaganth resembles none of these other opponents you have faced to reach his kingdom. He is self-confident, smooth, and direct.",0);
		add_dialog_str(4,"And he is waiting for you.",0);
		set_flag(56,1,run_dialog(1));
		}
break;

beginstate 11;
	reset_dialog_preset_options(5);
	add_dialog_choice(1,"Descend the stairs.");
	if (run_dialog(1) == 1)
		block_entry(1);
	else
		move_to_new_town(55,16,26);
break;