// These just shorthands for the directories that will be used.
let bossdir = GetCurrentScriptDirectory ~ "boss\";
let titledir = GetCurrentScriptDirectory ~ "img\title\";
let bgmdir = GetCurrentScriptDirectory ~ "sound\bgm\";

// The comment that is displayed for a scene with no pictures.
let NewSceneComment = [
  "It looks like something interesting might happen here.",
  "",
  ""
];

// The comment that is displayed for a scene with pictures, but that
// has not been cleared yet.
let FailedSceneComment = [
  "Well, I/ve taken quite a few here, haven/t I?",
  "If I can/t get a few more good photos, I can/t",
  "write up an article."
];

// The comment that is displayed for a cleared scene with a total
// score that is below the minimum requirement to show Aya's
// successful comment.
let LowScoreSceneComment = [
  "Hmm. I/ve got enough pictures, but...",
  "I/d like to try to get something a bit more useful.",
  "I can/t write a good article with pictures like these."
];

// The comment that is displayed for a level that has not been
// unlocked yet.
let LockedLevelComment = [
  "I don/t think this has good feng shui.",
  "Nothing interesting seems to be happening over here.",
  ""
];

// This array stores the data needed to construct the Music Room.
// The elements in the array are as follows:
// [
//   path to bgm,
//   title,
//   description line 1,
//   description line 2,
//   description line 3,
//   description line 4,
//   description line 5,
//   description line 6,
// ]
let BgmArray = [
  [ // Index = 0
    bgmdir ~ "bgm1.mp3",
    "Tengu/s Notebook ~ Mysterious Note",
    "The title and menu theme.",
    "The same old piece.",
    "However, this time I tried to give it a bit more of a",
    "dark and retro feel, as well as a bit of youkai.",
    "That raining noise is a youkai mystery. No, there/s",
    "nothing wrong with your monitor or speakers, so relax."
  ],
  [ // Index = 1
    bgmdir ~ "bgm2.mp3",
    "Wind Circulation ~ Wind Tour",
    "Photo theme 1.",
    "For this game, instead of the usual boss battle music,",
    "I wanted it to be more casual, so I wrote this.",
    "It has a very relaxed feel, because Aya is enjoying",
    "herself - as if she were teasing her target.",
    ""
  ],
  [ // Index = 2
    bgmdir ~ "bgm3.mp3",
    "Tengu is Watching ~ Black Eyes",
    "Photo theme 2.",
    "It/s easygoing enough to seem scary and cute.",
    "Though eating people is a youkai thing to do, this cheerfulness",
    "that must have come from somewhere is also part of the tengu image.",
    "I think this piece mixes that scariness, cuteness, cheerfulness,",
    "and carelessness together."
  ],
  [ // Index = 3
    bgmdir ~ "bgm4.mp3",
    "Sleepless Night of the Eastern Country",
    "Photo theme 3. Written for the middle levels.",
    "",
    "While it feels like both the boss and Aya are having fun,",
    "it is hard to convey the feeling of the boss being coerced.",
    "Being aware of that, while being light and bright, it was written",
    "to also bring out the strength of the boss. Especially the piano."
  ],
  [ // Index = 4
    bgmdir ~ "bgm5.mp3",
    "Retrospective Kyoto",
    "Photo theme 4. Written for the later half of the game.",
    "",
    "I feel, deep inside, that this hints at retro Japan.",
    "Snow, falling in the capital. A deserted night road.",
    "But, this retro is my idea of retro...",
    "Listening to this might make you reminisce."
  ],
  [ // Index = 5
    bgmdir ~ "bgm6.mp3",
    "Wind God Girl",
    "Photo theme 5.",
    "",
    "This is Bohemian Archive in Japanese Red/s main",
    "theme, so I couldn/t leave it out.",
    "Though this edit is hardly used :-)",
    ""
  ],
];

// Because Danmakufu can only hold one data type in its arrays, I have to split the scene
// configuration arrays into two arrays per level -- One for strings, and one for numbers.
// Make sure that for each level, the corresponding arrays are the same length or an error
// will be raised.

// This is what each element in the string array stores. Make sure you follow it correctly.
// [
//   path to boss file,
//   path to boss title image,
//   aya's comment line 1,
//   aya's comment line 2,
//   aya's comment line 3
// ]

// And this is what each element in the number array stores. Make sure you follow it correctly too.
// [
//   minimum score to show comment,
//   number of shots required to clear,
//   bgm number to use (index from the BgmArray)
// ]

// Also, be sure you have the commas in the correct places and the correct amount of brackets.
// It's pretty easy to mess up on that while doing this so be careful.
// Lastly, each stage can only at most have 9 scenes in them. Don't go over or an error will be raised.

let Level1Strings = [
  [ // Scene 1-1
    bossdir ~ "wriggle1.dnh",
    titledir ~ "wriggle.png",
    "I got a picture of a great swarm of bugs! What an unusual picture.",
    "The bugs move like they/re being strictly controlled;",
    "that/s because their brain structure is very simple."
  ],
  [ // Scene 1-2
    bossdir ~ "rumia1.dnh",
    titledir ~ "rumia.png",
    "There was something in the darkness. ",
    "I didn/t know what it was, so I used a strobe light to photograph",
    "it ... but, I wonder who it was?"
  ],
  [ // Scene 1-3
    bossdir ~ "wriggle2.dnh",
    titledir ~ "wriggle.png",
    "There were a lot of large Genji fireflies this time.",
    "It/s easy to take pictures of them when they/re this big.",
    "But they/re crowding each other out ... maybe they/re too big?"
  ],
  [ // Scene 1-4
    bossdir ~ "rumia2.dnh",
    titledir ~ "rumia.png",
    "You have to be careful in the darkness.",
    "If you just go flying off without paying attention,",
    "you/ll be attacked suddenly. As these pictures prove."
  ],
  [ // Scene 1-5
    bossdir ~ "wriggle3.dnh",
    titledir ~ "wriggle.png",
    "A swarm of butterflies!",
    "Hmm? Since it/s night time, I guess they must be moths.",
    "Well, moths are fine. And pictures of swarms of moths."
  ],
  [ // Scene 1-6
    bossdir ~ "rumia3.dnh",
    titledir ~ "rumia.png",
    "Actually, I have the least confidence in my ability to handle the",
    "situation where a youkai suddenly attacks in the dark.",
    "It/s so hard to get pictures. The ones I do get are no good, too."
  ]
];

let Level1Numbers = [
  [ // Scene 1-1
    25000,
    3,
    1
  ],
  [ // Scene 1-2
    15000,
    3,
    1
  ],
  [ // Scene 1-3
    30000,
    5,
    1
  ],
  [ // Scene 1-4
    50000,
    4,
    1
  ],
  [ // Scene 1-5
    45000,
    5,
    1
  ],
  [ // Scene 1-6
    50000,
    5,
    1
  ]
];

let Level2Strings = [
  [ // Scene 2-1
    bossdir ~ "cirno1.dnh",
    titledir ~ "cirno.png",
    "When an ice youkai goes mad over a lake,",
    "ice clumps scatter and cause trouble.",
    "I dunno if I can write something with this..."
  ],
  [ // Scene 2-2
    bossdir ~ "letty1.dnh",
    titledir ~ "letty.png",
    "It suddenly started snowing under such clear skies.",
    "This is a pretty unusual event.",
    "I can use this as filler for those slow news times."
  ],
  [ // Scene 2-3
    bossdir ~ "cirno2.dnh",
    titledir ~ "cirno.png",
    "I took these incredible pictures of some lake",
    "water being frozen. Couldn/t this be used to",
    "artificially create snow? I/ll look into that next time."
  ],
  [ // Scene 2-4
    bossdir ~ "letty2.dnh",
    titledir ~ "letty.png",
    "It suddenly turned pretty cold.",
    "It seemed to be a sign of things to come...",
    "But, these pictures don/t do that coldness justice."
  ],
  [ // Scene 2-5
    bossdir ~ "cirno3.dnh",
    titledir ~ "cirno.png",
    "Ice clumps which hold an unprecedented chill within them.",
    "The moment they come into contact with the air, the temperature difference",
    "makes them explode... Pictures alone can/t convey this."
  ],
  [ // Scene 2-6
    bossdir ~ "letty3.dnh",
    titledir ~ "letty.png",
    "A sudden cold wave.",
    "This isn/t nature, but a youkai/s doing.",
    "This is photographic proof."
  ]
];

let Level2Numbers = [
  [ // Scene 2-1
    25000,
    5,
    1
  ],
  [ // Scene 2-2
    15000,
    4,
    1
  ],
  [ // Scene 2-3
    30000,
    5,
    1
  ],
  [ // Scene 2-4
    15000,
    4,
    1
  ],
  [ // Scene 2-5
    75000,
    5,
    1
  ],
  [ // Scene 2-6
    50000,
    5,
    1
  ]
];

let Level3Strings = [
  [ // Scene 3-1
    bossdir ~ "alice1.dnh",
    titledir ~ "alice.png",
    "Here/s a travelling entertainer.",
    "I thought about asking her if she wanted a doll,",
    "but I didn/t feel like it. So I didn/t."
  ],
  [ // Scene 3-2
    bossdir ~ "keine1.dnh",
    titledir ~ "keine.png",
    "Even though I was only asking about history,",
    "this was unusually bright.",
    "But, my camera has a good backlight."
  ],
  [ // Scene 3-3
    bossdir ~ "alice2.dnh",
    titledir ~ "alice.png",
    "The entertainer again.",
    "Would you say she/s juggling?",
    "Being dexterous is always an advantage, isn/t it?"
  ],
  [ // Scene 3-4
    bossdir ~ "keine2.dnh",
    titledir ~ "keine.png",
    "Speaking of history, this person/s history",
    "and the one we know are pretty different.",
    "Something I/ve never heard of before..."
  ],
  [ // Scene 3-5
    bossdir ~ "alice3.dnh",
    titledir ~ "alice.png",
    "I was assaulted by a large number of dolls.",
    "Is this a new set from the entertainer?",
    "I was surprised, so I guess it worked."
  ],
  [ // Scene 3-6
    bossdir ~ "keine3.dnh",
    titledir ~ "keine.png",
    "I thought it was nice that I/d be treated to",
    "such a show of power without even having to move.",
    "All I had to do was finish it."
  ],
  [ // Scene 3-7
    bossdir ~ "alice4.dnh",
    titledir ~ "alice.png",
    "I guess she/s not an entertainer after all.",
    "Is she just good with her hands?",
    "I think I/d encourage her to try acting."
  ],
  [ // Scene 3-8
    bossdir ~ "keine4.dnh",
    titledir ~ "keine.png",
    "I found some characters I/ve never seen",
    "in books from the outside, so I asked her to read it.",
    "It looks like it reads \yamato.\ I see, I see."
  ]
];

let Level3Numbers = [
  [ // Scene 3-1
    100000,
    5,
    2
  ],
  [ // Scene 3-2
    75000,
    4,
    2
  ],
  [ // Scene 3-3
    80000,
    5,
    2
  ],
  [ // Scene 3-4
    50000,
    4,
    2
  ],
  [ // Scene 3-5
    75000,
    5,
    2
  ],
  [ // Scene 3-6
    35000,
    5,
    2
  ],
  [ // Scene 3-7
    35000,
    5,
    2
  ],
  [ // Scene 3-8
    35000,
    5,
    2
  ]
];

// When you have all your stage configurations done, put them all in these arrays in order.
// The arrays will be taken by the rest of the framework to automatically construct the
// scene select menus. Make sure that each element in each array correspond to the same
// levels. For example, LevelsStringArray[0] and LevelsNumberArray[0] should both be
// for stage 1.
let LevelsStringArray = [
  Level1Strings,
  Level2Strings,
  Level3Strings
];

let LevelsNumberArray = [
  Level1Numbers,
  Level2Numbers,
  Level3Numbers
];