"use strict";

DATA_SDS_DIALOGUE["Exploit_Boulders"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_MIDDLE.x,
		y: DEFINE_DIALOGUE_BOX_MIDDLE.y,
		width: DEFINE_DIALOGUE_BOX_MIDDLE.width,
		height: DEFINE_DIALOGUE_BOX_MIDDLE.height,
		pauses: false,
		blocks: true,
		title: "[The Developer]",
		script: [
			{command:"buffer", text:"Congratulations!  You just did that.\n"},			//0
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Now, do you want to rewrite and regression test the whole collision, ejection, push and crush logic stack to patch a harmless exploit involving 10+ successive pixel-precise inputs at 1 specific point in the game?"},
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Right.  Neither do I.  So go get yourself a cookie or something and be glad you didn't just softlock by actually leaving the room.\n"},
			{command:"wait"},
			{command:"return", retval:0},
		] // an array of options/commands which will be evaluated in sequence
	};

DATA_SDS_DIALOGUE["Get_GoldTrident"]=
	{ 
		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:"Picked up the "},			//0
			{command:"pause", frames: 2},
			{command:"buffer", text:"["},
			{command:"pause", frames: 2},
			{command:"buffer", text:"G"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"o"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"l"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"d"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"e"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"n"},
			{command:"pause", frames: 2},
			{command:"buffer", text:" "},
			{command:"pause", frames: 2},
			{command:"buffer", text:"T"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"r"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"i"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"d"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"e"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"n"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"t"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"]"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"!\n"},
			{command:"wait"},
			{command:"buffer", text:"...it seems like just a normal trident.\nMaybe Rinda knows how to use it?\n"},
			{command:"wait"},
			{command:"return", retval:0}
		] // an array of options/commands which will be evaluated in sequence
	};
DATA_SDS_DIALOGUE["Leave_GoldTrident"]=
	{ 
		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 just a decoration.  Better leave it alone.\n"},			//0
			{command:"wait"},
			{command:"return", retval:0},
		] // an array of options/commands which will be evaluated in sequence
	};

DATA_SDS_DIALOGUE["Monument_shrine1_advice"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_UPPER.x,
		y: DEFINE_DIALOGUE_BOX_UPPER.y,
		width: DEFINE_DIALOGUE_BOX_UPPER.width,
		height: DEFINE_DIALOGUE_BOX_UPPER.height,
		pauses: true, // since the player could be under fire
		blocks: true,
		script: [
			{command:"buffer", text:"An inscription from the teachings of the Sky Dragon:\n"},			//0
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"A stone to place; a hole to fill.  If only all of life's difficulties were so simple to resolve.\n"},			//0
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Rushing forward in blind hope often leaves us crushed by the very obstacles we wish to overcome.  Throwing one's self so vigorously towards death is never the answer.\n"},			//0
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"We must understand what we cannot do.  One's course of action must necessarily lie within the scope of one's own abilities.\n"},			//0
			{command:"wait"},
			{command:"clear"},
			{command:"buffer", text:"Yet one must never mistake the length of one's arm for the length of one's influence.  A goal which appears out of reach may yet be hit if one projects one's effort accordingly.\n"},			//0
			{command:"wait"},
			{command:"return", retval:0},
		] // an array of options/commands which will be evaluated in sequence
	};

DATA_SDS_DIALOGUE["Get_Bracelets"]=
	{ 
		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:"Picked up the "},			//0
			{command:"pause", frames: 2},
			{command:"buffer", text:"["},
			{command:"pause", frames: 2},
			{command:"buffer", text:"B"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"r"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"a"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"c"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"e"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"l"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"e"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"t"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"s"},
			{command:"pause", frames: 2},
			{command:"buffer", text:" "},
			{command:"pause", frames: 2},
			{command:"buffer", text:"o"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"f"},
			{command:"pause", frames: 2},
			{command:"buffer", text:" "},
			{command:"pause", frames: 2},
			{command:"buffer", text:"t"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"h"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"e"},
			{command:"pause", frames: 2},
			{command:"buffer", text:" "},
			{command:"pause", frames: 2},
			{command:"buffer", text:"D"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"r"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"a"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"g"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"o"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"n"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"'"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"s"},
			{command:"pause", frames: 2},
			{command:"buffer", text:" "},
			{command:"pause", frames: 2},
			{command:"buffer", text:"C"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"l"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"a"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"w"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"]"},
			{command:"pause", frames: 2},
			{command:"buffer", text:"!\n"},
			{command:"wait"},
			{command:"buffer", text:"(Hold the Inspect button while facing certain objects to grab and carry them.  Be careful not to run out of Chi!  While holding, press the Tail button to throw.)\n"},
			{command:"wait"},
			{command:"return", retval:0}
		] // an array of options/commands which will be evaluated in sequence
	};

DATA_SDS_DIALOGUE["Development_interstitial_1"]=
	{ 
		x: DEFINE_DIALOGUE_BOX_INTERSTITIAL.x,
		y: DEFINE_DIALOGUE_BOX_INTERSTITIAL.y,
		width: DEFINE_DIALOGUE_BOX_INTERSTITIAL.width,
		height: DEFINE_DIALOGUE_BOX_INTERSTITIAL.height,
		pauses: false,
		blocks: true,
		script: [
			{command:"buffer", text:"And so, shaken by her recent ordeals, and without a clue as to her true identity, she departed the undersea village in search of answers.\n"},			//0
			{command:"wait"},
			{command:"buffer", text:"\nWhile its first chapter may be complete, her full journey will take far more time to tell.\n"},			//0
			{command:"buffer", text:"Haunted deeps, an uneasy forest, harsh mountains, and the very halls of the sky itself await in due course.\n"},			//0
			{command:"wait"},
			{command:"clear"},
			//{command:"buffer", text:"But for now, I grow weary in the telling and must beg leave to retire.\n\nWhen all is ready, I look forward to inviting you once again to share in the story of the Sky Dragon.\n"},			//0
			//{command:"wait"},
			//{command:"buffer", text:"\nUntil then, I leave you to your exploration.  Is there anything you missed?\n"},			//0
			//{command:"wait"},

			{command:"buffer", text:"The page turns; a new chapter begins.\n"},			//0
			{command:"wait"},
			{command:"buffer", text:"\nthe Sky Dragon Story\n"},
			{command:"buffer", text:"\nCHAPTER 2\n"},
			{command:"buffer", text:"\nSunken Nautilus\n"},
			{command:"wait"},
			{command:"return", retval:0},
		] // an array of options/commands which will be evaluated in sequence
	};
