// Town 20: Nathaganth's Kingdom
begintownscript;

variables;

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

body;

beginstate INIT_STATE;
	set_crime_tolerance(2);
	
	force_instant_terrain_redraw();
	
	message_dialog("You appear in the middle of a lake of molten sulfur, churning with the heat of a thousand suns, billowing flame and black ash, soot, fumes, poison in the air. On all sides are hellish monsters, fyoras, demons, haakai.","You are among the legions of the damned, the footsoldiers of the god of evil himself, Nathaganth. He must be near.");

	pause(get_flag(290,0) * 3);
	
	reset_dialog();
	add_dialog_str(0,"Suddenly a voice fills your body with agony, its very echoes stirring nerve centers, like the deepest shockwaves of a migraine headache all over your body. Your vision blurs as sweat builds across your forehead and you claw at your face unconsciously.",0);
	if (party_size() == 1)
		add_dialog_str(1,"_YOU WOULD BE MY APPRENTICE?_ the terrible voice roars. _YOU WOULD LEARN TO BE A GOD? IF SUCH AMBITION MOVES YOU, COME WITH ME. WE WILL DO MUCH TOGETHER._",0);
	else
		add_dialog_str(1,"_YOU WOULD BE MY APPRENTICES?_ the terrible voice roars. _YOU WOULD LEARN TO BE GODS? IF SUCH AMBITION MOVES YOU, COME WITH ME. WE WILL DO MUCH TOGETHER._",0);
	add_dialog_str(2,"Nathaganth laughs, each cacophonic boom buffeting you with a needle-sharp pain so intense that you shortly fall to your knees and retch out everything inside, until you fear that your organs themselves are about to come up out of your throat.",0);
	add_dialog_str(3,"You battle to your feet. You have not come this far and betrayed this much to be stopped now. Gradually your surroundings fade until you look into the face of Nathaganth himself, as he is in his own land.",0);
	add_dialog_str(4,"For although several have fought Nathaganth in Avernum, none have ventured to the land of demons itself and gazed upon the king of them all. Now you have, and you cannot help yourself: you fall to your feet and worship unabashedly.",0);
	if (party_size() == 1)
		add_dialog_str(5,"You become his lieutenant and join him in the wait. Resting now, someday you will rise up again to kill and revel and blaze with ecstasy, beyond good and evil, beyond right and wrong, doing only as you will. Someday.",0);
	else
		add_dialog_str(5,"You become his lieutenants and join him in the wait. Resting now, someday you will rise up again to kill and revel and blaze with ecstasy, beyond good and evil, beyond right and wrong, doing only as you will. Someday.",0);
	run_dialog(1);
	
	play_sound(13);
	
	message_dialog("THE END.","");
	
	end_scenario(1);
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
break;