"use strict";

DATA_SDS_DIALOGUE["Ravi_Diary"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"It's a diary, but... there's no pen to write in it.\n"},			//0
			{command:"wait"},
			{command:"buffer", text:"Read it, at least?"},			//0
			{command:"chooseV", choices:{
				"From the beginning!":4, 
				"Skip to the intrigue!":5, 
				"Just the last week or two.":6,
				"Nope":7}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_0"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"[A loose page is tucked inside the front cover.  It is smaller than the diary, and appears older.  Perhaps it was torn from an earlier volume?]\n"},
			{command:"wait"},
			{command:"clear"},

			{command:"buffer", text:"Father made fun of me again today, in front of the whole council.  It was supposed to be a regular review for levels advancement, but as always, he made it personal.\n"},
			{command:"wait"},
			{command:"buffer", text:"I realize he's the first High Archmage of the skychildren, that nobody is as powerful as he is, and that he has a responsibility not to be soft on his own children,"},
			{command:"wait"},
			{command:"buffer", text:" but I don't think any other initiates are outright MOCKED just because they aren't performing far ENOUGH above grade!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"\"Grow a spine\" he says!  \"Don't be such a girl!  Why can't you be more like your brothers?  At least they show SOME promise!\"\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Well I'm sorry!  I can't exactly help how your manly gene pool failed to win out the third time you knocked mom up,"},
			{command:"wait"},
			{command:"buffer", text:" or that she died because you were too busy to attend to her when I was born!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"The only promise my brothers show is in carrying on your own arrogance!  You know I'm already better with the Goddess' spells than they are!\n"},
			{command:"wait"},
			{command:"buffer", text:"Some day... some day I'll be better at EVERYTHING!  I'll be better than YOU!  Just you wait...\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":24, "Re-read":25, "Leave":26}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			//{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_1"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"[The diary itself begins evidently more recently.]\n"},
			{command:"wait"},
			{command:"clear"},

			{command:"buffer", text:"The statue above father's grave continues to mock me-  Mock me over that one spell that I know he knew, but refused to ever teach me.\n"},
			{command:"wait"},
			{command:"buffer", text:"He just had to have the last laugh!  \"There are some things that a proper young lady ought not to concern herself with.\"\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"I know now that he was just too much of a coward to demonstrate it for me, yet he always had to bring it back to how my place in the world was implicitly lower than his!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"But I will keep my promise.\n"},
			{command:"wait"},
			{command:"buffer", text:"And as second High Archmage, I now have access to all the old sealed war records- surely something in there will shed light on the great Gargoyle-killer!\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":17, "Re-read":18, "Back":19, "Leave":20}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_2"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"\"Hopeless\" is not in my vocabulary, but this search is at least becoming pernicious in its continued fruitlessness.\n"},
			{command:"wait"},
			{command:"buffer", text:"I have been SO close on at least four occasions now, only to encounter critical pages, if not entire volumes, which are pointedly missing.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"I like to think that no knowledge of this magnitude can be completely erased from history:\n"},
			{command:"wait"},
			{command:"buffer", text:"when the spell was distributed so broadly to aid in the final purge and purification of the old battlefields,"},
			{command:"wait"},
			{command:"buffer", text:" mortal fallibility at least ought to dictate that some trace somewhere was missed when it came time to destroy the relevant records.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"But everyone to whom it was taught directly seems to have honored the promise not to record it,"},
			{command:"wait"},
			{command:"buffer", text:" and now their lines are all dead, and even the world's greatest arcane library appears to have been well and thoroughly censored.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":18, "Re-read":19, "Back":20, "Leave":21}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_3"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Eureka!  Sometimes I impress even myself.\n"},
			{command:"wait"},
			{command:"buffer", text:"Certainly all records of the spell itself were destroyed, but records of the research mages in the time before the war were preserved!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Moreover, back then Malfose was not seen as such a taboo.\n"},
			{command:"wait"},
			{command:"buffer", text:"A duplicitous master, yes; a dangerous line of inquiry to be sure; but not a subject on which even the best prepared mages were to be denied.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"They even had a whole branch of the council dedicated to Malfosian studies: the order of high sorcerers.  And the initiation rite of that order could not be simpler.\n"},
			{command:"wait"},
			{command:"buffer", text:"I admit to a nervous excitement at what I am about to do, but as one of the greatest mages in modern history, I can't doubt that I am as well prepared as anyone has ever been.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":16, "Re-read":17, "Back":18, "Leave":19}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_4"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"First High Arch-Sorceress.  THAT is what I have become.  Sanctified emissary of the Lord Malfose, mutually affirmed through arcane contact!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"It would probably be best not to inform the council of my accomplishments at this point; many among them would likely disapprove.\n"},
			{command:"wait"},
			{command:"buffer", text:"But perhaps, gradually, over time, the world can once again become a place in which the Goddess' power and that of Malfose can coexist in balance.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":9, "Re-read":10, "Back":11, "Leave":12}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_5"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Malfose's manner is somewhat brusque, to be honest.  A god with a chip on his shoulder...  But in a way, I understand.\n"},
			{command:"wait"},
			{command:"buffer", text:"He is merely as I was- spurned and denied the share of power he desired, by a Goddess in whose world he was meant only to have an inferior role.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"He seemed quite interested in that similarity of ours himself, and in an unexpected show of empathy, without my even asking, he taught me the basic theory of soulmancy!\n"},
			{command:"wait"},
			{command:"buffer", text:"Now, not only have I derived a spell which must be close to what was used to destroy the Gargoyle,"},
			{command:"wait"},
			{command:"buffer", text:" but I do believe that with a bit of further study, I may even be able to create a golem of my own!\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":13, "Re-read":14, "Back":15, "Leave":16}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_6"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Is it arrogant to think I may be more powerful than a god?  I might consider it arrogant in the extreme if the premise were not too absurd to contemplate seriously.\n"},
			{command:"wait"},
			{command:"buffer", text:"And yet the facts are on the table:\n"},
			{command:"wait"},
			{command:"buffer", text:"I can utilize Malfose's power, which is more than any other mortal can do, and I can utilize the Goddess' power, which even Malfose is denied...\n"},
			{command:"wait"},
			{command:"buffer", text:"The depth of my power on either side certainly must be inferior to Malfose or the Sky Dragon, but nonetheless, my position is one with unique leverage.\n"},
			{command:"wait"},
			{command:"buffer", text:"And... I believe Malfose knows it.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":12, "Re-read":13, "Back":14, "Leave":15}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_7"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"This is infuriating!  Mortal or god, why must anyone with power be so patronizingly arrogant?!\n"},
			{command:"wait"},
			{command:"buffer", text:"At the merest mention that I may have something to offer him, Malfose likened me to a small child performing amateur parlor tricks!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"\"Make no mistake, I smile upon you, but only as a father smiles upon his youngest:\n"},
			{command:"wait"},
			{command:"buffer", text:"having seen the same routine performed many times, and thus deriving amusement more from the naive earnestness of the attempt than from the value of the act.\n"},
			{command:"wait"},
			{command:"buffer", text:"Should I have been so cruel as to deny you the satisfaction of performing merely because the performance could not possibly impress me?\"\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"I already had one father perpetually demean me.  I don't need another!  I am seriously considering calling off our contract...\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":16, "Re-read":17, "Back":18, "Leave":19}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_8"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Malfose... he apologized to me!\n"},
			{command:"wait"},
			{command:"buffer", text:"Without, in as many words, retracting his statement on how he views my use of his own power,"},
			{command:"wait"},
			{command:"buffer", text:" he at least acknowledged that it was wrong of him to deny the kernel of truth in the notion that the Goddess' power would be a valuable augmentation to his own.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"\"But to have any value at all to a god, the power must be that of a god- directly drawn from the source, not merely imitated at play!\"\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"The only thing we have directly from the Goddess is her Circlet, a treasure vested to us in an act, I must say, of divine irony-\n"},
			{command:"wait"},
			{command:"buffer", text:"what need have the skychildren of an artifact of flight?\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"But perhaps it may be more valuable in its uselessness: if it may be exchanged for a greater share of Malfose's power, is that not a net gain by any reasoning?\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":19, "Re-read":20, "Back":21, "Leave":22}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_9"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Malfose was fascinated by the existence of the Treasures!\n"},
			{command:"wait"},
			{command:"buffer", text:"It seems he recognized some direct influence of the Goddess in his last defeat, but was unable to comprehend its source.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"From the Circlet alone, he was able to detect a profound connection to the Goddess,"},
			{command:"wait"},
			{command:"buffer", text:" and suggested that any mortal bearing all four Treasures may indeed have power to rival his own!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"That would seem to make my necessary course of action evident: I MUST track down the remaining Treasures!\n"},
			{command:"wait"},
			{command:"buffer", text:"I am tired of having no respect from anyone important!  Armed with the Goddess' own power, I may at last be able to bargain with Malfose!\n"},
			{command:"wait"},
			{command:"buffer", text:"I may be able to exert enough power over Malfose to make my case to the council that he can be trusted!\n"},
			{command:"wait"},
			{command:"buffer", text:"...Trusted, or dare I even suggest TAMED?  The mind reels at the possibilities...\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":20, "Re-read":21, "Back":22, "Leave":23}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_10"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"I have encountered a setback.  Of the four Treasures of the Sky Dragon, only half are remotely in reach.\n"},
			{command:"wait"},
			{command:"buffer", text:"Since the sinking of the bay shrine, not one but two of the others lie deep beneath the ocean in the domain of the seachildren.\n"},
			{command:"wait"},
			{command:"buffer", text:"One treasure I might have bargained for, but asking for two, however casually, is certain to arouse suspicion given how deeply the seachildren honor them.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":8, "Re-read":9, "Back":10, "Leave":11}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_11"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"I have been forced to take Malfose into my confidence, at least in part- certainly no mortal power is going to get me near the sea Treasures.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Bound as he is, and with only this simple rite of communication by which to reach mortals, even his options are limited.\n"},
			{command:"wait"},
			{command:"buffer", text:"(And even I am not so ignorant or pretentious as to try to break his imprisonment!)\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"But there is one possibility:\n"},
			{command:"wait"},
			{command:"buffer", text:"if we can gain the support of a seachild to act on our behalf, Malfose believes he can influence events indirectly and necessitate the Treasures' emergence.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"The plan is far-fetched, but in principle it may at least be attempted.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":17, "Re-read":18, "Back":19, "Leave":20}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_12"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"There are few good candidates for an accomplice.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"The only seachildren I've see at the surface with any regularity are:\n"},
			{command:"wait"},
			{command:"buffer", text:"1. a pregnant shrinemaiden (whose absence would be noticed as much as her fidelity to the Goddess would be unshakable),\n"},
			{command:"wait"},
			{command:"buffer", text:"2. an evasive woman with a scarred eye (who seemed to take an instant dislike to me, and whom Malfose himself misgives, for his own unfathomable reasons), or\n"},
			{command:"wait"},
			{command:"buffer", text:"3. the gentleman I used to see with scar-eye (who Malfose has likewise assured me is now beyond our reach).\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"And yet it must be someone local and trusted, or someone foreign and disarmingly simple, and transplanting the latter myself would risk exposure.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":16, "Re-read":17, "Back":18, "Leave":19}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_13"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Malfose advises patience; my own frustration only grows.\n"},
			{command:"wait"},
			{command:"buffer", text:"Has this venture taken such a pernicious hold on me that I have difficulty keeping a level head?\n"},
			{command:"wait"},
			{command:"buffer", text:"Or is it normal for any mortal, faced with persistent failure, to go just a bit mad where a god can remain level-headed?\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":8, "Re-read":9, "Back":10, "Leave":11}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_14"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"The frustration grows unbearable, and I fear it is beginning to show in my regular duties as shrinemaiden and High Archmage.\n"},
			{command:"wait"},
			{command:"buffer", text:"The council advises a holiday well away from it all, and I see no reason to argue.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":6, "Re-read":7, "Back":8, "Leave":9}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_15"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"[This page contains a few hasty swirls of sky-script, scribbled over and appended with shaky and largely illegible sea-glyphs.]\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"[\"I just\" and \"Today\" begin two successive lines, each apparently abandoned and only halfheartedly obliterated.]\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"[Rivulets of water-stain run down the page, and cut through the one coherent line near the bottom:]\n"},
			{command:"wait"},
			{command:"buffer", text:"Why now?  Why like this?\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":12, "Re-read":13, "Back":14, "Leave":15}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_16"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Yesterday, I killed someone.  And I must not regret it.\n"},
			{command:"wait"},
			{command:"buffer", text:"It was the only way, and part of me understands that.\n"},
			{command:"wait"},
			{command:"buffer", text:"In the instant of observing a girl seachild secluded helplessly far up the coast with none but her apparent landchild paramour as witness or protection..."},
			{command:"wait"},
			{command:"buffer", text:" part of me set upon them both.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"The moment my soul-severing magic converged, she was dead, perfectly preserved;\n"},
			{command:"wait"},
			{command:"buffer", text:"her friend did not fare so well, although the injuries should look sufficiently natural to avoid suspicion.\n"},
			{command:"wait"},
			{command:"buffer", text:"My only mistake, for which Malfose has already reprimanded me, was in allowing her soul to flee as far as the Styx and its keeper,"},
			{command:"wait"},
			{command:"buffer", text:" very nearly crossing beyond my reach before I could bind it.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"But with Malfose's guidance, I have hardened to the task at hand.  We can proceed.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":22, "Re-read":23, "Back":24, "Leave":25}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_17"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"[The pen seems to have changed between this entry and the last, likely indicating a disconnect in time or context.]\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"It was not my wish to deny posterity the details of the enchanting process the way I was denied the details of the soul-severing,"},
			{command:"wait"},
			{command:"buffer", text:" but the magic is profoundly complicated and would be better learned and understood through experience rather than record.\n"},
			{command:"wait"},
			{command:"buffer", text:"My laboratory journals (which seem to have supplanted my own diary, of late!) are thus intentionally redacted and abstracted in certain areas.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Suffice to say that my own success came only after years of practice and failed attempts (to the unending mockery of my master),"},
			{command:"wait"},
			{command:"buffer", text:" leaving the girl's original soul so ragged that part of me should be mortified.\n"},
			{command:"wait"},
			{command:"buffer", text:"But whether in atonement, or out of cowardice, or simply because it fit, that regretful part of me has now joined fragments of many others"},
			{command:"wait"},
			{command:"buffer", text:" in the fabrication of a sufficiently complete persona to be bound back to the girl's body.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"She was nearly my age when I first recovered her; how ironically unfair that she will inherit some of the character which has aged me,"},
			{command:"wait"},
			{command:"buffer", text:" leaving me stuck in this older body while she swims off, still perfectly pert and preserved yet unknowingly wise beyond her years!\n"},
			{command:"wait"},
			{command:"buffer", text:"Such a lucky little golem!  I may take some small amount of pleasure when the time comes to decommission her!\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":27, "Re-read":28, "Back":29, "Leave":30}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_18"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"And so the plan is set in motion.  Our agent has been dumped, conveniently, in the rubble of one of Malfose's quakes just outside the local seachild village.\n"},
			{command:"wait"},
			{command:"buffer", text:"From here, it is simply a matter of allowing her to regain consciousness and, in her naive obliviousness, be guided by circumstance to retrieve the Bracelets and Choker.\n"},
			{command:"wait"},
			{command:"buffer", text:"Meanwhile, I must see to the Belt.  We're so close to success, I can't help but get excited!\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":8, "Re-read":9, "Back":10, "Leave":11}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_19"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"This little golem is working out marvelously!\n"},
			{command:"wait"},
			{command:"buffer", text:"After allowing her several weeks to recuperate and befriend the locals, Malfose created a disturbance as previously agreed.\n"},
			{command:"wait"},
			{command:"buffer", text:"Like any frightened animal, the girl sought refuge with the Goddess, and like clockwork, she emerged with the Bracelets as soon as they were rendered necessary.\n"},
			{command:"wait"},
			{command:"buffer", text:"There may have been some collateral damage, but no deaths I can see as significant.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Meanwhile, my consultation of the lore has revealed that the Bracelets and their gift of strength were not, in fact, the seachildren's original treasure.\n"},
			{command:"wait"},
			{command:"buffer", text:"Rather, once she does obtain the Choker, it appears she will experience a more contextually valuable transformation allowing her to freely traverse the land.\n"},
			{command:"wait"},
			{command:"buffer", text:"This could complicate matters if I don't manage to intercept her immediately.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":17, "Re-read":18, "Back":19, "Leave":20}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_20"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Malfose has not been content with my progress of late, and it's almost as infuriating as my father's displeasure.\n"},
			{command:"wait"},
			{command:"buffer", text:"Sometimes I wish I COULD just take a hit of Malfose's magic smoke and let out all my frustration.  I very nearly did, at that.\n"},
			{command:"wait"},
			{command:"buffer", text:"With the fish well on her way to finding the Choker while I remained stymied by that idiotic monkey chief,"},
			{command:"wait"},
			{command:"buffer", text:" one thing led to another, and eventually I found myself blasting the chief's stupid village as a show of strength.\n"},
			{command:"wait"},
			{command:"buffer", text:"How was I to know that the great Sky Tree at the center of the village was hollow?  That it was a key stairwell up the mountain for non-flyers?\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"At least this inadvertently solved another problem- without the Tree, our golem shouldn't be able to make it up the mountain even if she does leave the sea,"},
			{command:"wait"},
			{command:"buffer", text:" and I should be able to pick her up before she causes any unexpected trouble.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"But even this boon came at a cost- it's just my luck that the old Sky Tree was in seed.\n"},
			{command:"wait"},
			{command:"buffer", text:"There are known rites for rapidly growing a new Sky Tree, so in order to prevent that from happening, I had to obtain and secure the seed,"},
			{command:"wait"},
			{command:"buffer", text:" and in order to do THAT, I was forced to temporarily give up the Belt I had retrieved in the earlier chaos.\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":24, "Re-read":25, "Back":26, "Leave":27}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_21"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"How can she not die?  This doesn't make sense!\n"},
			{command:"wait"},
			{command:"buffer", text:"I encountered the golem on her way to the forest today, and after a brief exchange thanking her for her work, cast what I KNOW was the correct spell of severing.\n"},
			{command:"wait"},
			{command:"buffer", text:"And yet... it seemed to only faze her for an instant!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"This spell absolutely works on living beings- I've proven so on many occasions- and it MUST have been the one used on the Gargoyle.\n"},
			{command:"wait"},
			{command:"buffer", text:"Admittedly, \"Meli,\" or so she is content to be called, is somewhat more sophisticated in construction, but the theory is identical!\n"},
			{command:"wait"},
			{command:"buffer", text:"A soul severed from its body should not be able to re-bind of its own accord!  There must- MUST be some other force at work!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"But... that means...  Good Goddess, have I been blind?\n"},
			{command:"wait"},
			{command:"buffer", text:"Did Malfose actually give me NEW golem enchantments, specifically designed to resist the spells that brought down his last creation?\n"},
			{command:"wait"},
			{command:"buffer", text:"Damn it all- he's using me!  He's mocking me, and he's using me, and that makes me furious!\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":22, "Re-read":23, "Back":24, "Leave":25}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_22A"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"Meli has the Belt.  She really managed it.  And she's become too headstrong to command.\n"},
			{command:"wait"},
			{command:"buffer", text:"Moreover, I have now confirmed from her aura, one enchantment which seemed natural at the time was in fact not strictly necessary for her animation,"},
			{command:"wait"},
			{command:"buffer", text:" but does very much prevent her from dying.  If I'm correct, it may also allow her to increase her power all but indefinitely!\n"},
			{command:"wait"},
			{command:"buffer", text:"And if she has even a fragment of Malfose's will inside her, as I'm afraid she does given how insufferably nasty she's becoming,"},
			{command:"wait"},
			{command:"buffer", text:" that will eventually endanger everything and everyone.\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"I'm going to need to put a stop to her.\n"},
			{command:"wait"},
			{command:"buffer", text:"I understand now:  Malfose is too dangerous to consort with, even if one is as prepared as I was.\n"},
			{command:"wait"},
			{command:"buffer", text:"Fortunately, the power to confront Malfose is already in my reach- I know his secrets, and soon, I will have the Goddess' full power as well.\n"},
			{command:"wait"},
			{command:"buffer", text:"I may no longer be able to stop Meli, but if the Goddess can bind Malfose, then I should be able to bind my own golem long enough to relieve her of the Treasures.\n"},
			{command:"wait"},
			{command:"buffer", text:"We'll see how tough she is then- a fish out of water without any divine protection!  I may yet be able to break her back into my service!\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":23, "Re-read":24, "Back":25, "Leave":26}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};
DATA_SDS_DIALOGUE["Ravi_Diary_22B"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"I hear that when a warrior loses a limb... sometimes, much later, he feels it hurt- a pain in a place that's already gone.\n"},
			{command:"wait"},
			{command:"buffer", text:"Can the same thing happen with... a heart?\n"},
			{command:"wait"},
			{command:"buffer", text:"I have become so much stronger, and so much more productive since extracting my own weakness-\n"},
			{command:"wait"},
			{command:"buffer", text:"the part of me getting perpetually distracted by the endless suffering in the world;\n"},
			{command:"wait"},
			{command:"buffer", text:"the part of me constantly afraid to take bold and necessary action for fear of hurting others.\n"},
			{command:"wait"},
			{command:"buffer", text:"Instilling that weak part of me into Meli should only be making HER weaker, and yet... in her presence...\n"},
			{command:"wait"},
			{command:"buffer", text:"when SHE is affected by an absurd bout of sympathy or compassion, I'M the one who ends up suffering!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"And it's not the mere guilt, or doubt, or other such folly I was once plagued by- it's like... a physical wound!\n"},
			{command:"wait"},
			{command:"buffer", text:"It's like a gaping, cold hole in my mind, or my will, or my heart, which unable to feel properly, invents new, bizarre sensations to remind me of its absence.\n"},
			{command:"wait"},
			{command:"buffer", text:"It's insufferable, and if I don't stop her, Meli's certain to keep weaponizing it against me!  I'm sure!  She has no conceivable reason not to!\n"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"More pressingly, I now realize that while following Malfose's guidance, I stupidly cast a soul-absorption enchantment as part of her construction,"},
			{command:"wait"},
			{command:"buffer", text:" so not only can her own soul not be separated from her body for more than an instant, but she will in fact continue to absorb other souls,"},
			{command:"wait"},
			{command:"buffer", text:" growing constantly in power at our expense for as long as she remains at large.\n"},
			{command:"wait"},
			{command:"buffer", text:"And if she has even a fragment of Malfose's will inside her, that will eventually endanger everything and everyone.\n"},
			{command:"wait"},

			{command:"clear"},
			{command:"buffer", text:"I'm going to need to put a stop to her, and soon.\n"},
			{command:"wait"},
			{command:"buffer", text:"I understand now:  Malfose is too dangerous to consort with, even if one is as prepared as I was.\n"},
			{command:"wait"},
			{command:"buffer", text:"Fortunately, the power to confront Malfose is already in my reach- I know his secrets, and soon, I will have the Goddess' full power as well.\n"},
			{command:"wait"},
			{command:"buffer", text:"I may no longer be able to stop Meli, but if the Goddess can bind Malfose, then I should be able to bind my own golem long enough to relieve her of the Treasures.\n"},
			{command:"wait"},
			{command:"buffer", text:"We'll see how tough she is then- a fish out of water without any divine protection!  And then... she WILL pay.\n"},
			{command:"wait"},
			{command:"buffer", text:"I WILL make her hate me!  She may be nigh-immortal, but that only means she can suffer longer, and harder, than anyone else!\n"},
			{command:"wait"},
			{command:"clear"},
			
			{command:"chooseV", choices:{"Ahead":45, "Re-read":46, "Back":47, "Leave":48}},
			{command:"return", retval:0},
			{command:"return", retval:1},
			{command:"return", retval:2},
			{command:"return", retval:-1},
		]
	};

DATA_SDS_DIALOGUE["Ravi_Diary_Blank"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_LOWER.x,
		y: DEFINE_DIALOGUE_BOX_LOWER.y,
		width: DEFINE_DIALOGUE_BOX_LOWER.width,
		height: DEFINE_DIALOGUE_BOX_LOWER.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"[The pages are empty]\n"},
			{command:"wait"},
			
			{command:"return", retval:-1},
		]
	};

