begintownscript;

variables;
short choice;

body;

beginstate INIT_STATE;
break;

beginstate START_STATE;
	if(get_flag(2,1) == 3){
		message_dialog("You find yourself on top of the dead tower, somehow still alive.  How fortunate for you!  With life, comes adventures and you doubt you'll find any here amongst the rubble.","");
		set_flag(2,1,4);
		}
break;

beginstate EXIT_STATE;
	reset_dialog();
	add_dialog_str(0,"As you leave the wreckage, you can't help but reflect on your recent journey, the lessons you learned, and your newfound ability to survive massive explosions.",0);
	add_dialog_str(1,"It may have been magic that saved you, as wizards are known to use, but deep down you know that it was the power of love that won this day.",0);
	add_dialog_str(2,"The power of love is powerful indeed - more powerful than a collapsing tower, it seems.  It guided you through your journey, and now guides you away from this place to new adventures.",0);
	add_dialog_choice(0,"THE END");
	choice = run_dialog(0);

	end_scenario(1);
break;